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:
@@ -53,8 +53,10 @@
|
||||
namespace Ewoms {
|
||||
template <class TypeTag>
|
||||
class LensProblem;
|
||||
}
|
||||
|
||||
BEGIN_PROPERTIES
|
||||
|
||||
namespace Properties {
|
||||
NEW_TYPE_TAG(LensBaseProblem, INHERITS_FROM(StructuredGridVanguard));
|
||||
|
||||
// declare the properties specific for the lens problem
|
||||
@@ -152,7 +154,10 @@ SET_BOOL_PROP(LensBaseProblem, EnableStorageCache, true);
|
||||
|
||||
// enable the cache for intensive quantities by default for this problem
|
||||
SET_BOOL_PROP(LensBaseProblem, EnableIntensiveQuantityCache, true);
|
||||
} // namespace Properties
|
||||
|
||||
END_PROPERTIES
|
||||
|
||||
namespace Ewoms {
|
||||
|
||||
/*!
|
||||
* \ingroup TestProblems
|
||||
|
||||
Reference in New Issue
Block a user