77 scalar Tc_, a_, b_, c_, d_, e_;
118 virtual scalar
value(scalar
T)
const
121 return a_*
pow(1 - Tr, ((e_*Tr + d_)*Tr + c_)*Tr + b_);
125 virtual scalar
integral(
const scalar x1,
const scalar x2)
const;
const word & name() const
Return the name of the entry.
NSRDS function number 106.
virtual tmp< Function1< scalar > > clone() const
Construct and return a clone.
virtual scalar value(scalar T) const
Evaluate the function and return the result.
virtual void write(Ostream &os, const unitConversions &units) const
Write the function coefficients.
virtual scalar integral(const scalar x1, const scalar x2) const
Integrate between two scalar values.
TypeName("NSRDS6")
Runtime type information.
NSRDS6(const word &name, const scalar Tc, const scalar a, const scalar b, const scalar c, const scalar d, const scalar e)
Construct from components.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by any number of values (e....
A class for managing temporary objects.
A class for handling words, derived from string.
const dimensionedScalar c
Speed of light in a vacuum.
const HashTable< unitConversion > & units()
Get the table of unit conversions.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)