Public Member Functions | List of all members
openFoamTableReader< Type > Class Template Reference

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

Inheritance diagram for openFoamTableReader< Type >:
Inheritance graph
[legend]
Collaboration diagram for openFoamTableReader< Type >:
Collaboration graph
[legend]

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

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

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

Source files

Definition at line 49 of file openFoamTableReader.H.

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.

Referenced by openFoamTableReader< Type >::clone().

Here is the caller graph for this function:

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.

References openFoamTableReader< Type >::operator()(), and openFoamTableReader< Type >::~openFoamTableReader().

Here is the call graph for this function:

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.

Referenced by openFoamTableReader< Type >::clone().

Here is the caller graph for this function:

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

Read 2D table.

Implements tableReader< Type >.

Definition at line 61 of file openFoamTableReader.C.


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