75 scalar a_, b_, c_, d_, e_;
106 scalar
f(scalar, scalar
T)
const 108 return exp(a_ + b_/T + c_*
log(T) + d_*
pow(T, e_));
dimensionedScalar log(const dimensionedScalar &ds)
const double e
Elementary charge.
A list of keyword definitions, which are a keyword followed by any number of values (e...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
Abstract base class for thermo-physical functions.
dimensionedScalar exp(const dimensionedScalar &ds)
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
NSRDSfunc1(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...
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
void writeData(Ostream &os) const
Write the function coefficients.
const dimensionedScalar c
Speed of light in a vacuum.
scalar f(scalar, scalar T) const
Evaluate the function and return the result.
friend Ostream & operator<<(Ostream &os, const NSRDSfunc1 &f)
NSRDS function number 101.
TypeName("NSRDSfunc1")
Runtime type information.