Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
dumux-repositories
dumux
Commits
c43cb82a
Commit
c43cb82a
authored
3 years ago
by
Timo Koch
Browse files
Options
Downloads
Patches
Plain Diff
[md][ff-pm] Expose solution vector storage for use in meta-coupling manager
parent
f0d13ca7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!2826
[md][ff-pm] Add freeflow porous medium coupling managers and test
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dumux/multidomain/staggeredfreeflow/couplingmanager.hh
+5
-2
5 additions, 2 deletions
dumux/multidomain/staggeredfreeflow/couplingmanager.hh
with
5 additions
and
2 deletions
dumux/multidomain/staggeredfreeflow/couplingmanager.hh
+
5
−
2
View file @
c43cb82a
...
...
@@ -48,9 +48,14 @@ template<class Traits>
class
StaggeredFreeFlowCouplingManager
:
public
CouplingManager
<
Traits
>
{
using
ParentType
=
CouplingManager
<
Traits
>
;
public:
static
constexpr
auto
freeFlowMomentumIndex
=
typename
Traits
::
template
SubDomain
<
0
>
::
Index
();
static
constexpr
auto
freeFlowMassIndex
=
typename
Traits
::
template
SubDomain
<
1
>
::
Index
();
// this can be used if the coupling manager is used inside a meta-coupling manager (e.g. multi-binary)
// to manager the solution vector storage outside this class
using
SolutionVectorStorage
=
typename
ParentType
::
SolutionVectorStorage
;
private:
template
<
std
::
size_t
id
>
using
SubDomainTypeTag
=
typename
Traits
::
template
SubDomain
<
id
>
::
TypeTag
;
template
<
std
::
size_t
id
>
using
PrimaryVariables
=
GetPropType
<
SubDomainTypeTag
<
id
>
,
Properties
::
PrimaryVariables
>
;
...
...
@@ -69,8 +74,6 @@ private:
using
Scalar
=
typename
Traits
::
Scalar
;
using
SolutionVector
=
typename
Traits
::
SolutionVector
;
using
ParentType
=
CouplingManager
<
Traits
>
;
using
CouplingStencilType
=
std
::
vector
<
std
::
size_t
>
;
using
GridVariablesTuple
=
typename
Traits
::
template
TupleOfSharedPtr
<
GridVariables
>;
...
...
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