27 #ifndef VAN_GENUCHTEN_PARAMS_HPP 28 #define VAN_GENUCHTEN_PARAMS_HPP 43 template<
class TraitsT>
46 typedef typename TraitsT::Scalar Scalar;
51 typedef TraitsT Traits;
69 { EnsureFinalized::check();
return vgAlpha_; }
83 { EnsureFinalized::check();
return vgM_; }
92 { vgM_ = m; vgN_ = 1/(1 - vgM_); }
99 { EnsureFinalized::check();
return vgN_; }
108 { vgN_ = n; vgM_ = 1 - 1/vgN_; }
Scalar vgAlpha() const
Return the shape parameter of van Genuchten's curve.
Definition: VanGenuchtenParams.hpp:68
void setVgAlpha(Scalar v)
Set the shape parameter of van Genuchten's curve.
Definition: VanGenuchtenParams.hpp:75
Scalar vgM() const
Return the shape parameter of van Genuchten's curve.
Definition: VanGenuchtenParams.hpp:82
void setVgN(Scalar n)
Set the shape parameter of van Genuchten's curve.
Definition: VanGenuchtenParams.hpp:107
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition: Exceptions.hpp:30
Default implementation for asserting finalization of parameter objects.
Scalar vgN() const
Return the shape parameter of van Genuchten's curve.
Definition: VanGenuchtenParams.hpp:98
Specification of the material parameters for the van Genuchten constitutive relations.
Definition: VanGenuchtenParams.hpp:44
void setVgM(Scalar m)
Set the shape parameter of van Genuchten's curve.
Definition: VanGenuchtenParams.hpp:91
OPM_HOST_DEVICE void finalize()
Mark the object as finalized.
Definition: EnsureFinalized.hpp:82
Default implementation for asserting finalization of parameter objects.
Definition: EnsureFinalized.hpp:48