NSRDS function number 100. More...
Public Member Functions | |
TypeName ("NSRDS0") | |
Runtime type information. More... | |
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. More... | |
NSRDS0 (const word &name, const unitConversions &units, const dictionary &dict) | |
Construct from name and dictionary. More... | |
virtual tmp< Function1< scalar > > | clone () const |
Construct and return a clone. More... | |
virtual scalar | value (scalar T) const |
Evaluate the function and return the result. More... | |
virtual scalar | integral (const scalar x1, const scalar x2) const |
Integrate between two scalar values. More... | |
NSRDS0 | integral (const word &name, const scalar a) const |
Return the integral as a function. Note that this will error if the. More... | |
virtual void | write (Ostream &os, const unitConversions &units) const |
Write the function coefficients. More... | |
Public Member Functions inherited from FieldFunction1< scalar, NSRDS0 > | |
FieldFunction1 (const word &name) | |
Construct from name. More... | |
virtual | ~FieldFunction1 () |
Destructor. More... | |
virtual tmp< Field< scalar > > | value (const scalarField &x) const |
Return value as a function of one scalar field. More... | |
virtual tmp< Field< scalar > > | integral (const scalarField &x1, const scalarField &x2) const |
Integrate between two scalar fields. More... | |
Public Member Functions inherited from Function1< scalar > | |
TypeName ("Function1") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, Function1, dictionary,(const word &name, const Function1s::unitConversions &units, const dictionary &dict),(name, units, dict)) | |
declareRunTimeSelectionTable (autoPtr, Function1, Istream,(const word &name, const Function1s::unitConversions &units, Istream &is),(name, units, is)) | |
Function1 (const word &name) | |
Construct from name. More... | |
Function1 (const Function1< scalar > &f1) | |
Copy constructor. More... | |
virtual | ~Function1 () |
Destructor. More... | |
const word & | name () const |
Return the name of the entry. More... | |
virtual bool | constant () const |
Is this function guaranteed to be constant? More... | |
void | operator= (const Function1< scalar > &) |
Assignment. More... | |
Public Member Functions inherited from refCount | |
int | count () const |
Return the current reference count. More... | |
bool | unique () const |
Return true if the reference count is zero. More... | |
void | operator++ () |
Increment the reference count. More... | |
void | operator++ (int) |
Increment the reference count. More... | |
void | operator-- () |
Decrement the reference count. More... | |
void | operator-- (int) |
Decrement the reference count. More... | |
void | operator= (const refCount &)=delete |
Disallow bitwise assignment. More... | |
Additional Inherited Members | |
Public Types inherited from Function1< scalar > | |
typedef scalar | returnType |
Static Public Member Functions inherited from Function1< scalar > | |
static autoPtr< Function1< scalar > > | New (const word &name, const Function1s::unitConversions &units, const dictionary &dict) |
Select from dictionary. More... | |
static autoPtr< Function1< scalar > > | New (const word &name, const unitConversion &xUnits, const unitConversion &valueUnits, const dictionary &dict) |
Select from dictionary. More... | |
static autoPtr< Function1< scalar > > | New (const word &name, const Function1s::unitConversions &units, const word &Function1Type, Istream &is) |
Select from Istream. More... | |
static autoPtr< Function1< scalar > > | New (const word &name, const unitConversion &xUnits, const unitConversion &valueUnits, const word &Function1Type, Istream &is) |
Select from Istream. More... | |
Protected Member Functions inherited from refCount | |
refCount () | |
Construct null initialising count to 0. More... | |
refCount (const refCount &)=delete | |
Disallow copy. More... | |
Protected Attributes inherited from Function1< scalar > | |
const word | name_ |
Name of entry. More... | |
NSRDS function number 100.
Source:
NSRDS - AICHE Data Compilation Tables of Properties of Pure Compounds Design Institute for Physical Property Data American Institute of Chemical Engineers 345 East 47th Street New York, New York 10017 National Standard Reference Data System American Institute of Chemical Engineers T.E. Daubert - R.P. Danner Department of Chemical Engineering The Pennsylvania State University University Park, PA 16802
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.
Definition at line 42 of file NSRDS0.C.
Referenced by NSRDS0::clone().
NSRDS0 | ( | const word & | name, |
const unitConversions & | units, | ||
const dictionary & | dict | ||
) |
Construct from name and dictionary.
Definition at line 63 of file NSRDS0.C.
References Foam::assertNoConvertUnits(), dict, and Foam::units().
TypeName | ( | "NSRDS0" | ) |
Runtime type information.
Construct and return a clone.
Reimplemented from FieldFunction1< scalar, NSRDS0 >.
Definition at line 108 of file NSRDS0.H.
References NSRDS0::NSRDS0().
|
inlinevirtual |
Evaluate the function and return the result.
Implements FieldFunction1< scalar, NSRDS0 >.
Definition at line 117 of file NSRDS0.H.
References Foam::T().
Referenced by CH4N2O::rho().
|
virtual |
Integrate between two scalar values.
Implements FieldFunction1< scalar, NSRDS0 >.
Definition at line 84 of file NSRDS0.C.
References NotImplemented.
Foam::Function1s::NSRDS0 integral | ( | const word & | name, |
const scalar | a | ||
) | const |
Return the integral as a function. Note that this will error if the.
"f" coefficient is not zero.
Definition at line 95 of file NSRDS0.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, and Foam::name().
|
virtual |
Write the function coefficients.
Implements Function1< scalar >.
Definition at line 113 of file NSRDS0.C.
References Foam::Function1s::writeEntry().