Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux
Commits
621f16cb
Commit
621f16cb
authored
Oct 17, 2017
by
Kilian Weishaupt
Committed by
Dennis Gläser
Oct 25, 2017
Browse files
[params] Use getParam method for Vtk group
parent
d4205b31
Changes
4
Hide whitespace changes
Inline
Side-by-side
dumux/common/parameters.hh
View file @
621f16cb
...
...
@@ -324,6 +324,10 @@ private:
// parameters in the time loop group
params
[
"TimeLoop.MaxTimeStepSize"
]
=
std
::
to_string
(
std
::
numeric_limits
<
double
>::
max
());
params
[
"TimeLoop.MaxTimeStepDivisions"
]
=
"10"
;
// parameters in the vtk group
params
[
"Vtk.AddVelocity"
]
=
"false"
;
params
[
"Vtk.AddProcessRank"
]
=
"true"
;
}
};
...
...
dumux/discretization/cellcentered/mpfa/omethod/interactionvolume.hh
View file @
621f16cb
...
...
@@ -329,7 +329,7 @@ private:
//! returns a boolean whether or not the AB matrix has to be passed to the handles
bool
requireABMatrix_
()
const
{
static
const
bool
requireAB
=
GET_PARAM_FROM_GROUP
(
TypeTag
,
bool
,
Vtk
,
AddVelocity
)
||
dim
<
dimWorld
;
static
const
bool
requireAB
=
getParamFromGroup
<
bool
>
(
GET_PROP_VALUE
(
TypeTag
,
ModelParameterGroup
)
,
"
Vtk
.
AddVelocity
"
)
||
dim
<
dimWorld
;
return
requireAB
;
}
...
...
dumux/implicit/properties.hh
View file @
621f16cb
...
...
@@ -105,8 +105,6 @@ NEW_PROP_TAG(SolutionDependentHeatConduction); //!< specifies if the parameters
NEW_PROP_TAG
(
EvaluatePermeabilityAtScvfIP
);
// vtk output
NEW_PROP_TAG
(
VtkAddVelocity
);
//!< specifies if an element velocity it reconstructed for the output
NEW_PROP_TAG
(
VtkAddProcessRank
);
//!< specifies if the process rank should be added the output
NEW_PROP_TAG
(
VtkOutputModule
);
//!< specifies the output module to be used
NEW_PROP_TAG
(
VelocityOutput
);
//!< specifies the velocity calculation module to be used
...
...
@@ -146,7 +144,6 @@ NEW_PROP_TAG(DofMapper);
//! indicate whether discretization is box or not
NEW_PROP_TAG
(
ImplicitIsBox
);
//! the local fem space used for the AMG backend
NEW_PROP_TAG
(
ImplicitLocalFemMap
);
...
...
dumux/implicit/propertydefaults.hh
View file @
621f16cb
...
...
@@ -219,8 +219,6 @@ SET_BOOL_PROP(ImplicitBase, EnableEnergyBalance, false);
SET_TYPE_PROP
(
ImplicitBase
,
EnergyLocalResidual
,
EnergyLocalResidual
<
TypeTag
>
);
//! vtk output
SET_BOOL_PROP
(
ImplicitBase
,
VtkAddVelocity
,
false
);
//!< Don't reconstruct velocity per default
SET_BOOL_PROP
(
ImplicitBase
,
VtkAddProcessRank
,
true
);
//!< Add process rank to output per default
SET_TYPE_PROP
(
ImplicitBase
,
VtkOutputModule
,
VtkOutputModule
<
TypeTag
>
);
SET_TYPE_PROP
(
ImplicitBase
,
VelocityOutput
,
ImplicitVelocityOutput
<
TypeTag
>
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment