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_; }
Default implementation for asserting finalization of parameter objects.
Default implementation for asserting finalization of parameter objects.
Definition: EnsureFinalized.hpp:47
void finalize()
Mark the object as finalized.
Definition: EnsureFinalized.hpp:75
Specification of the material parameters for the van Genuchten constitutive relations.
Definition: VanGenuchtenParams.hpp:45
void setVgN(Scalar n)
Set the shape parameter of van Genuchten's curve.
Definition: VanGenuchtenParams.hpp:107
Scalar vgM() const
Return the shape parameter of van Genuchten's curve.
Definition: VanGenuchtenParams.hpp:82
Scalar vgN() const
Return the shape parameter of van Genuchten's curve.
Definition: VanGenuchtenParams.hpp:98
Scalar vgAlpha() const
Return the shape parameter of van Genuchten's curve.
Definition: VanGenuchtenParams.hpp:68
void setVgM(Scalar m)
Set the shape parameter of van Genuchten's curve.
Definition: VanGenuchtenParams.hpp:91
void setVgAlpha(Scalar v)
Set the shape parameter of van Genuchten's curve.
Definition: VanGenuchtenParams.hpp:75