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

@@ -34,15 +34,20 @@
namespace Ewoms {
template <class TypeTag>
class EclPolyhedralGridVanguard;
}
BEGIN_PROPERTIES
namespace Properties {
NEW_TYPE_TAG(EclPolyhedralGridVanguard, INHERITS_FROM(EclBaseVanguard));
// declare the properties
SET_TYPE_PROP(EclPolyhedralGridVanguard, Vanguard, Ewoms::EclPolyhedralGridVanguard<TypeTag>);
SET_TYPE_PROP(EclPolyhedralGridVanguard, Grid, Dune::PolyhedralGrid<3, 3>);
SET_TYPE_PROP(EclPolyhedralGridVanguard, EquilGrid, typename GET_PROP_TYPE(TypeTag, Grid));
} // namespace Properties
END_PROPERTIES
namespace Ewoms {
/*!
* \ingroup EclBlackOilSimulator