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
6ee94cec
Commit
6ee94cec
authored
7 years ago
by
Dennis Gläser
Browse files
Options
Downloads
Patches
Plain Diff
[mpfa][properties] minor rearrangements
parent
b21a2d17
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!774
Cleanup/mpfa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dumux/discretization/cellcentered/mpfa/properties.hh
+11
-16
11 additions, 16 deletions
dumux/discretization/cellcentered/mpfa/properties.hh
with
11 additions
and
16 deletions
dumux/discretization/cellcentered/mpfa/properties.hh
+
11
−
16
View file @
6ee94cec
...
...
@@ -106,7 +106,7 @@ public:
using
type
=
typename
GET_PROP_TYPE
(
TypeTag
,
SecondaryInteractionVolume
);
};
//! Per default, we use the mpfa-o interaction volume
as secondary type
//! Per default, we use the
dynamic
mpfa-o interaction volume
on boundaries
SET_PROP
(
CCMpfaModel
,
SecondaryInteractionVolume
)
{
private:
...
...
@@ -127,32 +127,27 @@ private:
using
PrimaryIV
=
typename
GET_PROP_TYPE
(
TypeTag
,
PrimaryInteractionVolume
);
using
SecondaryIV
=
typename
GET_PROP_TYPE
(
TypeTag
,
SecondaryInteractionVolume
);
static
constexpr
bool
enableCache
=
GET_PROP_VALUE
(
TypeTag
,
EnableFVGridGeometryCache
);
struct
Traits
:
public
DefaultMapperTraits
<
GridView
>
{
using
SubControlVolume
=
CCSubControlVolume
<
GridView
>
;
using
SubControlVolumeFace
=
CCMpfaSubControlVolumeFace
<
GridView
>
;
using
NodalIndexSet
=
typename
GET_PROP_TYPE
(
TypeTag
,
DualGridNodalIndexSet
);
template
<
class
FVGridGeometry
>
using
GridIvIndexSets
=
CCMpfaGridInteractionVolumeIndexSets
<
FVGridGeometry
,
NodalIndexSet
,
PrimaryIV
,
SecondaryIV
>
;
//! type definitions depending on the FVGridGeometry itself
template
<
class
FVGridGeom
>
using
MpfaHelper
=
CCMpfaHelper
<
FVGridGeom
>
;
template
<
class
FVGridGeom
etry
,
bool
enableGeomCache
>
using
LocalView
=
CCMpfaFVElementGeometry
<
FVGridGeometry
,
enableGeomCache
>
;
template
<
class
FVGridGeom
>
using
ConnectivityMap
=
CCMpfaConnectivityMap
<
FVGridGeom
,
FVGridGeom
::
GridIVIndexSets
::
PrimaryInteractionVolume
::
MpfaMethod
>
;
template
<
class
FVGridGeom
etry
>
using
MpfaHelper
=
CCMpfaHelper
<
FVGridGeometry
>
;
template
<
class
FVGridGeom
>
using
GridIvIndexSets
=
CCMpfaGridInteractionVolumeIndexSets
<
FVGridGeom
,
NodalIndexSet
,
PrimaryIV
,
SecondaryIV
>
;
//! Use the correct connectivity map depending on mpfa scheme (obtain from primary iv)
template
<
class
FVGridGeometry
>
using
ConnectivityMap
=
CCMpfaConnectivityMap
<
FVGridGeometry
,
FVGridGeometry
::
GridIVIndexSets
::
PrimaryInteractionVolume
::
MpfaMethod
>
;
template
<
class
FVGridGeom
,
bool
enableCache
>
using
LocalView
=
CCMpfaFVElementGeometry
<
FVGridGeom
,
enableCache
>
;
};
public
:
using
type
=
CCMpfaFVGridGeometry
<
GridView
,
Traits
,
enable
Cache
>
;
using
type
=
CCMpfaFVGridGeometry
<
GridView
,
Traits
,
GET_PROP_VALUE
(
TypeTag
,
EnableFVGridGeometry
Cache
)
>
;
};
//! The global flux variables cache vector class
...
...
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