27 #ifndef VAN_GENUCHTEN_PARAMS_HPP
28 #define VAN_GENUCHTEN_PARAMS_HPP
45 template<
class TraitsT>
48 typedef typename TraitsT::Scalar Scalar;
53 typedef TraitsT Traits;
71 { EnsureFinalized::check();
return vgAlpha_; }
85 { EnsureFinalized::check();
return vgM_; }
94 { vgM_ = m; vgN_ = 1/(1 - vgM_); }
101 { EnsureFinalized::check();
return vgN_; }
110 { vgN_ = n; vgM_ = 1 - 1/vgN_; }
void setVgAlpha(Scalar v)
Set the shape parameter of van Genuchten's curve.
Definition: VanGenuchtenParams.hpp:77
Scalar vgN() const
Return the shape parameter of van Genuchten's curve.
Definition: VanGenuchtenParams.hpp:100
void setVgN(Scalar n)
Set the shape parameter of van Genuchten's curve.
Definition: VanGenuchtenParams.hpp:109
Default implementation for asserting finalization of parameter objects.
Specification of the material parameters for the van Genuchten constitutive relations.
Definition: VanGenuchtenParams.hpp:46
Scalar vgAlpha() const
Return the shape parameter of van Genuchten's curve.
Definition: VanGenuchtenParams.hpp:70
void setVgM(Scalar m)
Set the shape parameter of van Genuchten's curve.
Definition: VanGenuchtenParams.hpp:93
void finalize()
Mark the object as finalized.
Definition: EnsureFinalized.hpp:77
Scalar vgM() const
Return the shape parameter of van Genuchten's curve.
Definition: VanGenuchtenParams.hpp:84
Default implementation for asserting finalization of parameter objects.
Definition: EnsureFinalized.hpp:46