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

@@ -57,8 +57,8 @@ template <class TypeTag>
class Tutorial1Problem;
}
namespace Ewoms {
namespace Properties {
BEGIN_PROPERTIES
// Create a new type tag for the problem
NEW_TYPE_TAG(Tutorial1Problem, INHERITS_FROM(ImmiscibleTwoPhaseModel)); /*@\label{tutorial1:create-type-tag}@*/
@@ -126,8 +126,8 @@ SET_SCALAR_PROP(Tutorial1Problem, DomainSizeZ, 0.0);
SET_INT_PROP(Tutorial1Problem, CellsX, 100);
SET_INT_PROP(Tutorial1Problem, CellsY, 1);
SET_INT_PROP(Tutorial1Problem, CellsZ, 1); /*@\label{tutorial1:default-params-end}@*/
} // namespace Properties
} // namespace Ewoms
END_PROPERTIES
namespace Ewoms {
//! Tutorial problem using the "immiscible" model.