Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-istl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Core Modules
dune-istl
Commits
6236fc58
Commit
6236fc58
authored
1 year ago
by
Santiago Ospina De Los Ríos
Browse files
Options
Downloads
Patches
Plain Diff
Add comment on allocator rebind
parent
a3a16886
No related branches found
No related tags found
1 merge request
!546
Improve UMFPack vector chooser
Pipeline
#65409
passed
1 year ago
Stage: .pre
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/istl/umfpack.hh
+3
-0
3 additions, 0 deletions
dune/istl/umfpack.hh
with
3 additions
and
0 deletions
dune/istl/umfpack.hh
+
3
−
0
View file @
6236fc58
...
...
@@ -202,6 +202,9 @@ namespace Dune {
struct
UMFPackVectorChooser
<
BCRSMatrix
<
T
,
A
>
,
std
::
void_t
<
UMFPackDomainType
<
T
>
,
UMFPackRangeType
<
T
>>>
{
// In case of recursive deduction (e.g., BCRSMatrix<FieldMatrix<...>, Allocator<FieldMatrix<...>>>)
// the allocator needs to be converted to the sub-block allocator type too (e.g., Allocator<FieldVector<...>>).
// Note that matrix allocator is assumed to be the same as the domain/range type of allocators
/** @brief The type of the domain of the solver */
using
domain_type
=
BlockVector
<
UMFPackDomainType
<
T
>
,
typename
std
::
allocator_traits
<
A
>::
template
rebind_alloc
<
UMFPackDomainType
<
T
>
>>
;
/** @brief The type of the range of the solver */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment