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
19da39c9
Commit
19da39c9
authored
4 years ago
by
Timo Koch
Browse files
Options
Downloads
Patches
Plain Diff
[test] 2p2c waterair enable caching for some test speedup
parent
d9552a62
No related branches found
No related tags found
1 merge request
!1949
Fix/improve 2p2cni waterair test
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/porousmediumflow/2p2c/implicit/waterair/problem.hh
+8
-0
8 additions, 0 deletions
test/porousmediumflow/2p2c/implicit/waterair/problem.hh
with
8 additions
and
0 deletions
test/porousmediumflow/2p2c/implicit/waterair/problem.hh
+
8
−
0
View file @
19da39c9
...
@@ -75,6 +75,14 @@ struct SpatialParams<TypeTag, TTag::WaterAir>
...
@@ -75,6 +75,14 @@ struct SpatialParams<TypeTag, TTag::WaterAir>
// Define whether mole(true) or mass (false) fractions are used
// Define whether mole(true) or mass (false) fractions are used
template
<
class
TypeTag
>
template
<
class
TypeTag
>
struct
UseMoles
<
TypeTag
,
TTag
::
WaterAir
>
{
static
constexpr
bool
value
=
true
;
};
struct
UseMoles
<
TypeTag
,
TTag
::
WaterAir
>
{
static
constexpr
bool
value
=
true
;
};
// Enable caching
template
<
class
TypeTag
>
struct
EnableGridGeometryCache
<
TypeTag
,
TTag
::
WaterAir
>
{
static
constexpr
bool
value
=
true
;
};
template
<
class
TypeTag
>
struct
EnableGridVolumeVariablesCache
<
TypeTag
,
TTag
::
WaterAir
>
{
static
constexpr
bool
value
=
true
;
};
template
<
class
TypeTag
>
struct
EnableGridFluxVariablesCache
<
TypeTag
,
TTag
::
WaterAir
>
{
static
constexpr
bool
value
=
true
;
};
}
// end namespace Dumux
}
// end namespace Dumux
/*!
/*!
...
...
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