77 scalar a_, b_, c_, d_, e_;
116 virtual scalar
value(scalar
T)
const 118 return exp(a_ + b_/T + c_*
log(T) + d_*
pow(T, e_));
122 virtual scalar
integral(
const scalar x1,
const scalar x2)
const;
dimensionedScalar log(const dimensionedScalar &ds)
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...
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.
dimensionedScalar exp(const dimensionedScalar &ds)
virtual scalar value(scalar T) const
Evaluate the function and return the result.
A class for handling words, derived from string.
NSRDS1(const word &name, 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...
virtual scalar integral(const scalar x1, const scalar x2) const
Integrate between two scalar values.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
NSRDS function number 101.
const doubleScalar e
Elementary charge.
A class for managing temporary objects.
TypeName("NSRDS1")
Runtime type information.