27 #ifndef OPM_BROOKS_COREY_PARAMS_HPP 28 #define OPM_BROOKS_COREY_PARAMS_HPP 30 #include <opm/common/Valgrind.hpp> 45 template <
class TraitsT>
48 typedef typename TraitsT::Scalar Scalar;
52 typedef TraitsT Traits;
56 Valgrind::SetUndefined(*
this);
60 : entryPressure_(ePressure), lambda_(shapeParam)
69 { EnsureFinalized::check();
return entryPressure_; }
75 { entryPressure_ = v; }
82 { EnsureFinalized::check();
return lambda_; }
91 Scalar entryPressure_;
void setLambda(Scalar v)
Set the lambda shape parameter.
Definition: BrooksCoreyParams.hpp:87
Scalar entryPressure() const
Returns the entry pressure [Pa].
Definition: BrooksCoreyParams.hpp:68
Definition: Air_Mesitylene.hpp:33
Scalar lambda() const
Returns the lambda shape parameter.
Definition: BrooksCoreyParams.hpp:81
Default implementation for asserting finalization of parameter objects.
void setEntryPressure(Scalar v)
Set the entry pressure [Pa].
Definition: BrooksCoreyParams.hpp:74
void finalize()
Mark the object as finalized.
Definition: EnsureFinalized.hpp:77
Default implementation for asserting finalization of parameter objects.
Definition: EnsureFinalized.hpp:46
Specification of the material parameters for the Brooks-Corey constitutive relations.
Definition: BrooksCoreyParams.hpp:46