77 scalar Tc_, a_, b_, c_, d_;
116 virtual scalar
value(scalar
T)
const 118 scalar Tdash =
min(T, Tc_ - rootVSmall);
120 scalar t = 1.0 - Tdash/Tc_;
122 a_*a_/(t + rootVSmall) + b_ - t
125 + t*(a_*d_ + t*(c_*c_/3.0 + t*(0.5*c_*d_ + 0.2*d_*d_*t)))
130 virtual scalar
integral(
const scalar x1,
const scalar x2)
const;
A list of keyword definitions, which are a keyword followed by any number of values (e...
const word & name() const
Return the name of the entry.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m K].
virtual scalar integral(const scalar x1, const scalar x2) const
Integrate between two scalar values.
const dimensionedScalar c
Speed of light in a vacuum.
NSRDS14(const word &name, const scalar Tc, const scalar a, const scalar b, const scalar c, const scalar d)
Construct from components.
A class for handling words, derived from string.
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual scalar value(scalar T) const
Evaluate the function and return the result.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
virtual void write(Ostream &os) const
Write the function coefficients.
virtual tmp< Function1< scalar > > clone() const
Construct and return a clone.
NSRDS function number 114.
A class for managing temporary objects.
TypeName("NSRDS14")
Runtime type information.