NSRDS2 Class Reference

NSRDS function number 102. More...

Inheritance diagram for NSRDS2:
Collaboration diagram for NSRDS2:

Public Member Functions

 TypeName ("NSRDS2")
 Runtime type information. More...
 
 NSRDS2 (const word &name, const scalar a, const scalar b, const scalar c, const scalar d)
 Construct from components. More...
 
 NSRDS2 (const word &name, 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...
 
virtual void write (Ostream &os) const
 Write the function coefficients. More...
 
- Public Member Functions inherited from FieldFunction1< scalar, NSRDS2 >
 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< Type >
 TypeName ("Function1")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, Function1, dictionary,(const word &name, const dictionary &dict),(name, dict))
 Declare runtime constructor selection table. More...
 
 Function1 (const word &name)
 Construct from name. More...
 
 Function1 (const Function1< Type > &f1)
 Copy constructor. More...
 
virtual ~Function1 ()
 Destructor. More...
 
const wordname () const
 Return the name of the entry. More...
 
void operator= (const Function1< Type > &)
 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...
 

Additional Inherited Members

- Public Types inherited from Function1< Type >
typedef Type returnType
 
- Static Public Member Functions inherited from Function1< Type >
static autoPtr< Function1< Type > > New (const word &name, const dictionary &dict)
 Selector. More...
 
- Protected Member Functions inherited from refCount
 refCount ()
 Construct null initialising count to 0. More...
 
- Protected Attributes inherited from Function1< Type >
const word name_
 Name of entry. More...
 

Detailed Description

NSRDS function number 102.

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

Definition at line 69 of file NSRDS2.H.

Constructor & Destructor Documentation

◆ NSRDS2() [1/2]

NSRDS2 ( const word name,
const scalar  a,
const scalar  b,
const scalar  c,
const scalar  d 
)

Construct from components.

Definition at line 41 of file NSRDS2.C.

Referenced by NSRDS2::clone().

Here is the caller graph for this function:

◆ NSRDS2() [2/2]

NSRDS2 ( const word name,
const dictionary dict 
)

Construct from name and dictionary.

Definition at line 58 of file NSRDS2.C.

Member Function Documentation

◆ TypeName()

TypeName ( "NSRDS2"  )

Runtime type information.

◆ clone()

virtual tmp<Function1<scalar> > clone ( ) const
inlinevirtual

Construct and return a clone.

Reimplemented from FieldFunction1< scalar, NSRDS2 >.

Definition at line 105 of file NSRDS2.H.

References NSRDS2::NSRDS2().

Here is the call graph for this function:

◆ value()

virtual scalar value ( scalar  T) const
inlinevirtual

Evaluate the function and return the result.

Implements FieldFunction1< scalar, NSRDS2 >.

Definition at line 114 of file NSRDS2.H.

References Foam::pow(), Foam::sqr(), and Foam::T().

Here is the call graph for this function:

◆ integral()

Foam::scalar integral ( const scalar  x1,
const scalar  x2 
) const
virtual

Integrate between two scalar values.

Implements FieldFunction1< scalar, NSRDS2 >.

Definition at line 74 of file NSRDS2.C.

References NotImplemented.

◆ write()

void write ( Ostream os) const
virtual

Write the function coefficients.

Implements Function1< Type >.

Definition at line 85 of file NSRDS2.C.

References Foam::Function1s::writeEntry().

Here is the call graph for this function:

The documentation for this class was generated from the following files: