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 739a0ef0d0
commit 26e6d56930
16 changed files with 96 additions and 43 deletions

View File

@@ -41,8 +41,10 @@
namespace Ewoms {
template <class TypeTag>
class EclCpGridVanguard;
}
BEGIN_PROPERTIES
namespace Properties {
NEW_TYPE_TAG(EclCpGridVanguard, INHERITS_FROM(EclBaseVanguard));
NEW_PROP_TAG(ExportGlobalTransmissibility);
@@ -52,7 +54,10 @@ SET_TYPE_PROP(EclCpGridVanguard, Vanguard, Ewoms::EclCpGridVanguard<TypeTag>);
SET_TYPE_PROP(EclCpGridVanguard, Grid, Dune::CpGrid);
SET_TYPE_PROP(EclCpGridVanguard, EquilGrid, typename GET_PROP_TYPE(TypeTag, Grid));
SET_BOOL_PROP(EclCpGridVanguard, ExportGlobalTransmissibility, false);
} // namespace Properties
END_PROPERTIES
namespace Ewoms {
/*!
* \ingroup EclBlackOilSimulator