77 scalar a_, b_, c_, d_, e_;
117 scalar
value(scalar
T)
const
119 return a_ + b_/
T + c_/
pow(
T, 3) + d_/
pow(
T, 8) + e_/
pow(
T, 9);
123 virtual scalar
integral(
const scalar x1,
const scalar x2)
const;
const word & name() const
Return the name of the entry.
NSRDS function number 104.
NSRDS4(const word &name, const scalar a, const scalar b, const scalar c, const scalar d, const scalar e)
Construct from components.
scalar value(scalar T) const
Evaluate the function and return the result.
virtual tmp< Function1< scalar > > clone() const
Construct and return a clone.
virtual void write(Ostream &os, const unitConversions &units) const
Write the function coefficients.
TypeName("NSRDS4")
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,...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
A class for managing temporary objects.
A class for handling words, derived from string.
const dimensionedScalar c
Speed of light in a vacuum.
void T(LagrangianPatchField< Type > &f, const LagrangianPatchField< Type > &f1)
const HashTable< unitConversion > & units()
Get the table of unit conversions.
void pow(LagrangianPatchField< typename powProduct< Type, r >::type > &f, const LagrangianPatchField< Type > &f1)