54 is.
readEnd(
"powerSeriesReactionRate(Istream&)");
67 coeffs_(dict.
lookup(
"coeffs"))
73 inline Foam::scalar Foam::powerSeriesReactionRate::operator()
82 if (
mag(beta_) > VSMALL)
91 expArg += coeffs_[
n]/
pow(T,
n + 1);
118 for (
int n=0;
n<powerSeriesReactionRate::nCoeff_;
n++)
Istream & readBegin(const char *funcName)
#define forAll(list, i)
Loop across all elements in list.
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)...
void write(Ostream &os) const
Write to stream.
Istream & readEnd(const char *funcName)
dimensionedScalar exp(const dimensionedScalar &ds)
powerSeriesReactionRate(const scalar A, const scalar beta, const scalar Ta, const FixedList< scalar, nCoeff_ > coeffs)
Construct from components.
Power series reaction rate.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
A wordList with hashed indices for faster lookup by name.
dimensioned< scalar > mag(const dimensioned< Type > &)
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.