27 #ifndef OPM_ECL_THC_LAW_PARAMS_HPP
28 #define OPM_ECL_THC_LAW_PARAMS_HPP
38 template <
class ScalarT>
42 using Scalar = ScalarT;
53 { porosity_ = value; }
59 { EnsureFinalized::check();
return porosity_; }
71 { EnsureFinalized::check();
return thcrock_; }
83 { EnsureFinalized::check();
return thcoil_; }
95 { EnsureFinalized::check();
return thcgas_; }
101 { thcwater_ = value; }
107 { EnsureFinalized::check();
return thcwater_; }
Default implementation for asserting finalization of parameter objects.
The default implementation of a parameter object for the thermal conduction law based on the THC* key...
Definition: EclThcLawParams.hpp:40
void setThcoil(Scalar value)
Set thermal conductivity of pure oil [W/(m*K)].
Definition: EclThcLawParams.hpp:76
Scalar porosity() const
Return the porosity.
Definition: EclThcLawParams.hpp:58
void setThcgas(Scalar value)
Set thermal conductivity of pure gas [W/(m*K)].
Definition: EclThcLawParams.hpp:88
Scalar thcrock() const
Return thermal conductivity of pure rock [W/(m*K)].
Definition: EclThcLawParams.hpp:70
void setPorosity(Scalar value)
Set the porosity.
Definition: EclThcLawParams.hpp:52
Scalar thcwater() const
Return thermal conductivity of pure water [W/(m*K)].
Definition: EclThcLawParams.hpp:106
Scalar thcoil() const
Return thermal conductivity of pure oil [W/(m*K)].
Definition: EclThcLawParams.hpp:82
void setThcwater(Scalar value)
Set thermal conductivity of pure water [W/(m*K)].
Definition: EclThcLawParams.hpp:100
Scalar thcgas() const
Return thermal conductivity of pure gas [W/(m*K)].
Definition: EclThcLawParams.hpp:94
void setThcrock(Scalar value)
Set thermal conductivity of pure rock [W/(m*K)].
Definition: EclThcLawParams.hpp:64
Default implementation for asserting finalization of parameter objects.
Definition: EnsureFinalized.hpp:47