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
d3b99f81
Commit
d3b99f81
authored
3 years ago
by
Patrick Jaap
Browse files
Options
Downloads
Patches
Plain Diff
MultiTypeBlockVector: adapt FieldTraits to the new field_type
parent
7ab2ab3a
No related branches found
No related tags found
1 merge request
!460
MultiTypeBlockVector: Use std::common_type for field_type
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/istl/multitypeblockvector.hh
+4
-4
4 additions, 4 deletions
dune/istl/multitypeblockvector.hh
with
4 additions
and
4 deletions
dune/istl/multitypeblockvector.hh
+
4
−
4
View file @
d3b99f81
...
...
@@ -36,11 +36,11 @@ namespace Dune {
/** @addtogroup DenseMatVec
@{
*/
template
<
typename
Arg0
,
typename
...
Args
>
struct
FieldTraits
<
MultiTypeBlockVector
<
Arg0
,
Args
...
>
>
template
<
typename
...
Args
>
struct
FieldTraits
<
MultiTypeBlockVector
<
Args
...
>
>
{
type
def
typename
FieldTraits
<
Arg0
>::
field_type
field_type
;
type
def
typename
FieldTraits
<
Arg0
>::
real
_type
real_type
;
using
field_
type
=
typename
MultiTypeBlockVector
<
Args
...
>::
field_type
;
using
real_
type
=
typename
FieldTraits
<
field
_type
>::
real_type
;
};
/**
@}
...
...
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