28 #ifndef EWOMS_FV_BASE_CONSTRAINTS_HH 29 #define EWOMS_FV_BASE_CONSTRAINTS_HH 32 #include <opm/common/Valgrind.hpp> 35 namespace Properties {
47 template <
class TypeTag>
50 typedef typename GET_PROP_TYPE(TypeTag, PrimaryVariables) ParentType;
60 using ParentType::operator=;
73 { isActive_ = yesno; }
Definition: baseauxiliarymodule.hh:37
#define GET_PROP_TYPE(TypeTag, PropTagName)
Access the type attribute of a property for a type tag.
Definition: propertysystem.hh:486
void setActive(bool yesno)
Specify whether the constraints should be enforced or not.
Definition: fvbaseconstraints.hh:72
Class to specify constraints for a finite volume spatial discretization.
Definition: fvbaseconstraints.hh:48
bool isActive() const
Returns true if the constraints are enforced.
Definition: fvbaseconstraints.hh:66
Provides the magic behind the eWoms property system.
#define NEW_PROP_TAG(PTagName)
Define a property tag.
Definition: propertysystem.hh:247