EclThconrLaw(Params): some modernization
- typedef -> using
This commit is contained in:
parent
31c7641fac
commit
38864a4793
@ -40,12 +40,12 @@ namespace Opm
|
||||
*/
|
||||
template <class ScalarT,
|
||||
class FluidSystem,
|
||||
class ParamsT = EclThconrLawParams<ScalarT> >
|
||||
class ParamsT = EclThconrLawParams<ScalarT>>
|
||||
class EclThconrLaw
|
||||
{
|
||||
public:
|
||||
typedef ParamsT Params;
|
||||
typedef typename Params::Scalar Scalar;
|
||||
using Params = ParamsT;
|
||||
using Scalar = typename Params::Scalar;
|
||||
|
||||
/*!
|
||||
* \brief Given a fluid state, return the total thermal conductivity [W/m^2 / (K/m)] of the porous
|
||||
@ -67,6 +67,7 @@ public:
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace Opm
|
||||
|
||||
#endif
|
||||
|
@ -39,7 +39,7 @@ template <class ScalarT>
|
||||
class EclThconrLawParams : public EnsureFinalized
|
||||
{
|
||||
public:
|
||||
typedef ScalarT Scalar;
|
||||
using Scalar = ScalarT;
|
||||
|
||||
EclThconrLawParams(const EclThconrLawParams&) = default;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user