77 scalar a_, b_, c_, d_;
115 virtual scalar
value(scalar
T)
const 117 return a_/
pow(b_, 1 +
pow(1 - T/c_, d_));
121 virtual scalar
integral(
const scalar x1,
const scalar x2)
const;
virtual scalar value(scalar T) const
Evaluate the function and return the result.
A list of keyword definitions, which are a keyword followed by any number of values (e...
NSRDS5(const word &name, const scalar a, const scalar b, const scalar c, const scalar d)
Construct from components.
NSRDS function number 105.
const word & name() const
Return the name of the entry.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m K].
virtual void write(Ostream &os) const
Write the function coefficients.
const dimensionedScalar c
Speed of light in a vacuum.
A class for handling words, derived from string.
virtual tmp< Function1< scalar > > clone() const
Construct and return a clone.
TypeName("NSRDS5")
Runtime type information.
virtual scalar integral(const scalar x1, const scalar x2) const
Integrate between two scalar values.
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)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
A class for managing temporary objects.