27 #ifndef OPM_BROOKS_COREY_PARAMS_HPP
28 #define OPM_BROOKS_COREY_PARAMS_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_;
Default implementation for asserting finalization of parameter objects.
Some templates to wrap the valgrind client request macros.
Specification of the material parameters for the Brooks-Corey constitutive relations.
Definition: BrooksCoreyParams.hpp:47
Scalar lambda() const
Returns the lambda shape parameter.
Definition: BrooksCoreyParams.hpp:81
void setEntryPressure(Scalar v)
Set the entry pressure [Pa].
Definition: BrooksCoreyParams.hpp:74
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
Default implementation for asserting finalization of parameter objects.
Definition: EnsureFinalized.hpp:47
void finalize()
Mark the object as finalized.
Definition: EnsureFinalized.hpp:75