77 scalar a_, b_, c_, d_, e_;
116 virtual scalar
value(scalar
T)
const 118 return a_ + b_*
sqr((c_/T)/
sinh(c_/T)) + d_*
sqr((e_/T)/
cosh(e_/T));
122 virtual scalar
integral(
const scalar x1,
const scalar x2)
const;
virtual tmp< Function1< scalar > > clone() const
Construct and return a clone.
A list of keyword definitions, which are a keyword followed by any number of values (e...
dimensionedSymmTensor sqr(const dimensionedVector &dv)
const word & name() const
Return the name of the entry.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m K].
NSRDS7(const word &name, const scalar a, const scalar b, const scalar c, const scalar d, const scalar e)
Construct from components.
const dimensionedScalar c
Speed of light in a vacuum.
TypeName("NSRDS7")
Runtime type information.
A class for handling words, derived from string.
virtual scalar value(scalar T) const
Evaluate the function and return the result.
NSRDS-AICHE function number 107.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
virtual scalar integral(const scalar x1, const scalar x2) const
Integrate between two scalar values.
dimensionedScalar sinh(const dimensionedScalar &ds)
virtual void write(Ostream &os) const
Write the function coefficients.
const doubleScalar e
Elementary charge.
dimensionedScalar cosh(const dimensionedScalar &ds)
A class for managing temporary objects.