71 a_(
dict.lookup<scalar>(
"a")),
72 b_(
dict.lookup<scalar>(
"b")),
73 c_(
dict.lookup<scalar>(
"c")),
74 d_(
dict.lookup<scalar>(
"d")),
75 e_(
dict.lookup<scalar>(
"e")),
76 f_(
dict.lookup<scalar>(
"f"))
104 <<
"Integral function of " << typeName <<
" function requested"
105 <<
" but the \"f\" coefficient is not zero"
109 return NSRDS0(
name, a, a_, b_/2, c_/3, d_/4, e_/5);
Macros for easy insertion into run-time selection tables.
NSRDS function number 100.
virtual void write(Ostream &os, const unitConversions &units) const
Write the function coefficients.
NSRDS0(const word &name, const scalar a, const scalar b, const scalar c, const scalar d, const scalar e, const scalar f)
Construct from components.
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 keyword definitions, which are a keyword followed by any number of values (e....
A class for handling words, derived from string.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
void writeEntry(Ostream &os, const omega &a)
addScalarFunction1(laminarBL)
const dimensionedScalar e
Elementary charge.
const dimensionedScalar c
Speed of light in a vacuum.
errorManipArg< error, int > exit(error &err, const int errNo=1)
word name(const bool)
Return a word representation of a bool.
const HashTable< unitConversion > & units()
Get the table of unit conversions.
void assertNoConvertUnits(const word &typeName, const Function1s::unitConversions &units, const dictionary &dict)
Generate an error in an context where unit conversions are not supported.