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:
Andreas Lauser committed 2018-06-15 20:22:07 +02:00
1 parent 1be1f15b47
commit acc93ff6e7
60 files changed
+253 -194

No files matched your search

+8 -2
View File
@@ -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