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
2018-06-14 16:06:05 +02:00
parent 1be1f15b47
commit acc93ff6e7
60 changed files with 253 additions and 194 deletions

View File

@@ -38,8 +38,8 @@
#include "problems/co2injectionflash.hh"
#include "problems/co2injectionproblem.hh"
namespace Ewoms {
namespace Properties {
BEGIN_PROPERTIES
NEW_TYPE_TAG(Co2InjectionFlashEcfvProblem, INHERITS_FROM(FlashModel, Co2InjectionBaseProblem));
SET_TAG_PROP(Co2InjectionFlashEcfvProblem, SpatialDiscretizationSplice, EcfvDiscretization);
@@ -64,8 +64,8 @@ SET_TAG_PROP(Co2InjectionFlashEcfvProblem, LinearSolverSplice, ParallelBiCGStabL
#else
SET_SCALAR_PROP(Co2InjectionFlashEcfvProblem, NewtonRawTolerance, 1e-5);
#endif
} // namespace Properties
} // namespace Ewoms
END_PROPERTIES
int main(int argc, char **argv)
{