FreeFOAM The Cross-Platform CFD Toolkit
openFoamTableReader< Type > Class Template Reference

Reads an interpolation table from a file - OpenFOAM-format. More...

#include <OpenFOAM/openFoamTableReader.H>


Detailed Description

template<class Type>
class Foam::openFoamTableReader< Type >

Reads an interpolation table from a file - OpenFOAM-format.

Source files

Definition at line 50 of file openFoamTableReader.H.

+ Inheritance diagram for openFoamTableReader< Type >:
+ Collaboration diagram for openFoamTableReader< Type >:

List of all members.

Public Member Functions

 TypeName ("openFoam")
 Runtime type information.
 openFoamTableReader (const dictionary &dict)
 Construct from dictionary.
virtual autoPtr< tableReader
< Type > > 
clone () const
 Construct and return a copy.
virtual ~openFoamTableReader ()
 Destructor.
virtual void operator() (const fileName &, List< Tuple2< scalar, Type > > &)
 Read the table.
- Public Member Functions inherited from tableReader< Type >
 TypeName ("tableReader")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, tableReader, dictionary,(const dictionary &dict),(dict))
 tableReader (const dictionary &dict)
 Construct from dictionary.
virtual ~tableReader ()
 Destructor.
virtual void write (Ostream &os) const
 Write additional information.

Additional Inherited Members

- Static Public Member Functions inherited from tableReader< Type >
static autoPtr< tableReaderNew (const dictionary &spec)
 Return a reference to the selected tableReader.

Constructor & Destructor Documentation

openFoamTableReader ( const dictionary dict)

Construct from dictionary.

Definition at line 32 of file openFoamTableReader.C.

~openFoamTableReader ( )
virtual

Destructor.

Definition at line 41 of file openFoamTableReader.C.


Member Function Documentation

TypeName ( "openFoam"  )

Runtime type information.

virtual autoPtr<tableReader<Type> > clone ( ) const
inlinevirtual

Construct and return a copy.

Implements tableReader< Type >.

Definition at line 66 of file openFoamTableReader.H.

void operator() ( const fileName fName,
List< Tuple2< scalar, Type > > &  data 
)
virtual

Read the table.

Implements tableReader< Type >.

Definition at line 49 of file openFoamTableReader.C.


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