27#ifndef OPM_ECL_THC_LAW_PARAMS_HPP
28#define OPM_ECL_THC_LAW_PARAMS_HPP
38template <
class ScalarT>
42 using Scalar = ScalarT;
44 EclThcLawParams(
const EclThcLawParams&) =
default;
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.
void setThcoil(Scalar value)
Set thermal conductivity of pure oil [W/(m*K)].
Definition EclThcLawParams.hpp:76
Scalar porosity() const
Return the effective porosity (here meaning porosity*ntg).
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
OPM_HOST_DEVICE EnsureFinalized()
The default constructor.
Definition EnsureFinalized.hpp:58
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30