changed: remove SET_TYPE_PROP macro usage

This commit is contained in:
Arne Morten Kvarving
2020-08-28 10:44:53 +02:00
parent 93a3ebf8f7
commit 3b21a8a481
8 changed files with 105 additions and 26 deletions
+12 -3
View File
@@ -49,9 +49,18 @@ struct EclAluGridVanguard {
}
// declare the properties
SET_TYPE_PROP(EclAluGridVanguard, Vanguard, Opm::EclAluGridVanguard<TypeTag>);
SET_TYPE_PROP(EclAluGridVanguard, Grid, Dune::ALUGrid<3, 3, Dune::cube, Dune::nonconforming>);
SET_TYPE_PROP(EclAluGridVanguard, EquilGrid, Dune::CpGrid);
template<class TypeTag>
struct Vanguard<TypeTag, TTag::EclAluGridVanguard> {
using type = Opm::EclAluGridVanguard<TypeTag>;
};
template<class TypeTag>
struct Grid<TypeTag, TTag::EclAluGridVanguard> {
using type = Dune::ALUGrid<3, 3, Dune::cube, Dune::nonconforming>;
};
template<class TypeTag>
struct EquilGrid<TypeTag, TTag::EclAluGridVanguard> {
using type = Dune::CpGrid;
};
} // namespace Opm::Properties