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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user