28#ifndef EWOMS_FV_BASE_CONSTRAINTS_HH
29#define EWOMS_FV_BASE_CONSTRAINTS_HH
31#include <opm/material/common/Valgrind.hpp>
46template <
class TypeTag>
47class FvBaseConstraints :
public GetPropType<TypeTag, Properties::PrimaryVariables>
52 FvBaseConstraints() =
default;
53 FvBaseConstraints(
const FvBaseConstraints&) =
default;
59 FvBaseConstraints &operator=(
const FvBaseConstraints&) =
default;
72 { isActive_ = yesno; }
75 bool isActive_{
false};
bool isActive() const
Returns true if the constraints are enforced.
Definition fvbaseconstraints.hh:65
void setActive(bool yesno)
Specify whether the constraints should be enforced or not.
Definition fvbaseconstraints.hh:71
Declare the properties used by the infrastructure code of the finite volume discretizations.
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilbioeffectsmodules.hh:45
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
The Opm property system, traits with inheritance.