mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
do explicit put properties into the the Ewoms::Properties namespace anymore
instead, do it implicitly by using the BEGIN_PROPERTIES and END_PROPERTIES macros.
This commit is contained in:
@@ -54,7 +54,10 @@ namespace Ewoms {
|
||||
template <class TypeTag>
|
||||
class ReservoirProblem;
|
||||
|
||||
namespace Properties {
|
||||
} // namespace Ewoms
|
||||
|
||||
BEGIN_PROPERTIES
|
||||
|
||||
|
||||
NEW_TYPE_TAG(ReservoirBaseProblem);
|
||||
|
||||
@@ -135,7 +138,10 @@ SET_STRING_PROP(ReservoirBaseProblem, GridFile, "data/reservoir.dgf");
|
||||
|
||||
// increase the tolerance for this problem to get larger time steps
|
||||
SET_SCALAR_PROP(ReservoirBaseProblem, NewtonRawTolerance, 1e-6);
|
||||
} // namespace Properties
|
||||
|
||||
END_PROPERTIES
|
||||
|
||||
namespace Ewoms {
|
||||
|
||||
/*!
|
||||
* \ingroup TestProblems
|
||||
|
||||
Reference in New Issue
Block a user