28 #ifndef EWOMS_FV_BASE_CONSTRAINTS_HH 29 #define EWOMS_FV_BASE_CONSTRAINTS_HH 31 #include <opm/material/common/Valgrind.hpp> 46 template <
class TypeTag>
72 { isActive_ = yesno; }
75 bool isActive_{
false};
typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType
get the type alias defined in the property (equivalent to old macro GET_PROP_TYPE(...))
Definition: propertysystem.hh:233
void setActive(bool yesno)
Specify whether the constraints should be enforced or not.
Definition: fvbaseconstraints.hh:71
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition: blackoilbioeffectsmodules.hh:45
Declare the properties used by the infrastructure code of the finite volume discretizations.
Class to specify constraints for a finite volume spatial discretization.
Definition: fvbaseconstraints.hh:47
bool isActive() const
Returns true if the constraints are enforced.
Definition: fvbaseconstraints.hh:65
The Opm property system, traits with inheritance.