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
1bfbe216
Commit
1bfbe216
authored
6 years ago
by
Timo Koch
Committed by
Kilian Weishaupt
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[disc] Get flux cache filler from property (set in model)
parent
c9a98df5
No related branches found
No related tags found
1 merge request
!1555
Improve flux variables cache filler handling
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dumux/discretization/ccmpfa.hh
+1
-2
1 addition, 2 deletions
dumux/discretization/ccmpfa.hh
dumux/discretization/cctpfa.hh
+1
-2
1 addition, 2 deletions
dumux/discretization/cctpfa.hh
dumux/discretization/staggered.hh
+1
-1
1 addition, 1 deletion
dumux/discretization/staggered.hh
with
3 additions
and
5 deletions
dumux/discretization/ccmpfa.hh
+
1
−
2
View file @
1bfbe216
...
@@ -43,7 +43,6 @@
...
@@ -43,7 +43,6 @@
#include
<dumux/discretization/cellcentered/mpfa/gridvolumevariables.hh>
#include
<dumux/discretization/cellcentered/mpfa/gridvolumevariables.hh>
#include
<dumux/discretization/cellcentered/mpfa/gridfluxvariablescache.hh>
#include
<dumux/discretization/cellcentered/mpfa/gridfluxvariablescache.hh>
#include
<dumux/discretization/cellcentered/mpfa/interactionvolumedatahandle.hh>
#include
<dumux/discretization/cellcentered/mpfa/interactionvolumedatahandle.hh>
#include
<dumux/discretization/cellcentered/mpfa/fluxvariablescachefiller.hh>
#include
<dumux/discretization/cellcentered/mpfa/dualgridindexset.hh>
#include
<dumux/discretization/cellcentered/mpfa/dualgridindexset.hh>
#include
<dumux/discretization/cellcentered/mpfa/omethod/interactionvolume.hh>
#include
<dumux/discretization/cellcentered/mpfa/omethod/interactionvolume.hh>
...
@@ -131,7 +130,7 @@ private:
...
@@ -131,7 +130,7 @@ private:
static
constexpr
bool
enableCache
=
getPropValue
<
TypeTag
,
Properties
::
EnableGridFluxVariablesCache
>
();
static
constexpr
bool
enableCache
=
getPropValue
<
TypeTag
,
Properties
::
EnableGridFluxVariablesCache
>
();
using
Problem
=
GetPropType
<
TypeTag
,
Properties
::
Problem
>
;
using
Problem
=
GetPropType
<
TypeTag
,
Properties
::
Problem
>
;
using
FluxVariablesCache
=
GetPropType
<
TypeTag
,
Properties
::
FluxVariablesCache
>
;
using
FluxVariablesCache
=
GetPropType
<
TypeTag
,
Properties
::
FluxVariablesCache
>
;
using
FluxVariablesCacheFiller
=
CCMpfa
FluxVariablesCacheFiller
<
TypeTag
>
;
using
FluxVariablesCacheFiller
=
GetPropType
<
TypeTag
,
Properties
::
FluxVariablesCacheFiller
>
;
using
PrimaryInteractionVolume
=
GetPropType
<
TypeTag
,
Properties
::
PrimaryInteractionVolume
>
;
using
PrimaryInteractionVolume
=
GetPropType
<
TypeTag
,
Properties
::
PrimaryInteractionVolume
>
;
using
SecondaryInteractionVolume
=
GetPropType
<
TypeTag
,
Properties
::
SecondaryInteractionVolume
>
;
using
SecondaryInteractionVolume
=
GetPropType
<
TypeTag
,
Properties
::
SecondaryInteractionVolume
>
;
...
...
This diff is collapsed.
Click to expand it.
dumux/discretization/cctpfa.hh
+
1
−
2
View file @
1bfbe216
...
@@ -39,7 +39,6 @@
...
@@ -39,7 +39,6 @@
#include
<dumux/discretization/cellcentered/tpfa/fvgridgeometry.hh>
#include
<dumux/discretization/cellcentered/tpfa/fvgridgeometry.hh>
#include
<dumux/discretization/cellcentered/tpfa/gridvolumevariables.hh>
#include
<dumux/discretization/cellcentered/tpfa/gridvolumevariables.hh>
#include
<dumux/discretization/cellcentered/tpfa/gridfluxvariablescache.hh>
#include
<dumux/discretization/cellcentered/tpfa/gridfluxvariablescache.hh>
#include
<dumux/discretization/cellcentered/tpfa/fluxvariablescachefiller.hh>
#include
<dumux/discretization/cellcentered/tpfa/subcontrolvolumeface.hh>
#include
<dumux/discretization/cellcentered/tpfa/subcontrolvolumeface.hh>
namespace
Dumux
{
namespace
Dumux
{
...
@@ -82,7 +81,7 @@ private:
...
@@ -82,7 +81,7 @@ private:
static
constexpr
bool
enableCache
=
getPropValue
<
TypeTag
,
Properties
::
EnableGridFluxVariablesCache
>
();
static
constexpr
bool
enableCache
=
getPropValue
<
TypeTag
,
Properties
::
EnableGridFluxVariablesCache
>
();
using
Problem
=
GetPropType
<
TypeTag
,
Properties
::
Problem
>
;
using
Problem
=
GetPropType
<
TypeTag
,
Properties
::
Problem
>
;
using
FluxVariablesCache
=
GetPropType
<
TypeTag
,
Properties
::
FluxVariablesCache
>
;
using
FluxVariablesCache
=
GetPropType
<
TypeTag
,
Properties
::
FluxVariablesCache
>
;
using
FluxVariablesCacheFiller
=
CCTpfa
FluxVariablesCacheFiller
<
TypeTag
>
;
using
FluxVariablesCacheFiller
=
GetPropType
<
TypeTag
,
Properties
::
FluxVariablesCacheFiller
>
;
public:
public:
using
type
=
CCTpfaGridFluxVariablesCache
<
Problem
,
FluxVariablesCache
,
FluxVariablesCacheFiller
,
enableCache
>
;
using
type
=
CCTpfaGridFluxVariablesCache
<
Problem
,
FluxVariablesCache
,
FluxVariablesCacheFiller
,
enableCache
>
;
};
};
...
...
This diff is collapsed.
Click to expand it.
dumux/discretization/staggered.hh
+
1
−
1
View file @
1bfbe216
...
@@ -83,7 +83,7 @@ struct GridFluxVariablesCache<TypeTag, TTag::StaggeredModel>
...
@@ -83,7 +83,7 @@ struct GridFluxVariablesCache<TypeTag, TTag::StaggeredModel>
private:
private:
using
Problem
=
GetPropType
<
TypeTag
,
Properties
::
Problem
>
;
using
Problem
=
GetPropType
<
TypeTag
,
Properties
::
Problem
>
;
using
FluxVariablesCache
=
GetPropType
<
TypeTag
,
Properties
::
FluxVariablesCache
>
;
using
FluxVariablesCache
=
GetPropType
<
TypeTag
,
Properties
::
FluxVariablesCache
>
;
using
FluxVariablesCacheFiller
=
FluxVariablesCach
ing
::
EmptyCach
eFiller
;
using
FluxVariablesCacheFiller
=
GetPropType
<
TypeTag
,
Properties
::
FluxVariablesCacheFiller
>
;
static
constexpr
auto
enableCache
=
getPropValue
<
TypeTag
,
Properties
::
EnableGridFluxVariablesCache
>
();
static
constexpr
auto
enableCache
=
getPropValue
<
TypeTag
,
Properties
::
EnableGridFluxVariablesCache
>
();
static
constexpr
auto
upwindSchemeOrder
=
getPropValue
<
TypeTag
,
Properties
::
UpwindSchemeOrder
>
();
static
constexpr
auto
upwindSchemeOrder
=
getPropValue
<
TypeTag
,
Properties
::
UpwindSchemeOrder
>
();
public:
public:
...
...
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