FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

readerDatabase Class Reference

Singleton caching Foam database and mesh and various. Used in Fv reader to keep track of data inbetween callbacks. More...


Detailed Description

Singleton caching Foam database and mesh and various. Used in Fv reader to keep track of data inbetween callbacks.

Source files

Definition at line 60 of file readerDatabase.H.

Collaboration diagram for readerDatabase:

List of all members.

Public Member Functions

 readerDatabase ()
 Construct null.
 ~readerDatabase ()
const Time &  runTime () const
const fvMesh &  mesh () const
const labelList &  polys () const
const wordList &  volScalarNames () const
const wordList &  volVectorNames () const
const word &  getFvName (const word &foamName) const
 Get fieldview compatible name.
bool  setRunTime (const fileName &rootDir, const fileName &caseName, const word &setName)
 Create database (if nessecary).
void  loadMesh ()
 Forcibly load mesh.
polyMesh::readUpdateState  setTime (const instant &, const label)
 Set time (use this instead of database::setTime), updates.
void  setFieldNames (const wordList &, const wordList &)
 Set volScalarNames, volVectorNames.

Static Public Attributes

static const bool  debug_
 Debug flag. Note: uses envvar instead of controlDict since.

Constructor & Destructor Documentation

Construct null.


Member Function Documentation

const Time& runTime (  ) const
const fvMesh& mesh (  ) const
const labelList& polys (  ) const
const wordList& volScalarNames (  ) const
const wordList& volVectorNames (  ) const
const word& getFvName ( const word &   foamName  ) const

Get fieldview compatible name.

bool setRunTime ( const fileName &   rootDir,
const fileName &   caseName,
const word &   setName  
)

Create database (if nessecary).

Returns true if new Time created, false if old one reused. Optional fvMeshSubset using setName.

void loadMesh (  )

Forcibly load mesh.

polyMesh::readUpdateState setTime ( const instant &   ,
const   label  
)

Set time (use this instead of database::setTime), updates.

mesh as well and returns mesh update status

void setFieldNames ( const wordList &   ,
const wordList &    
)

Set volScalarNames, volVectorNames.


Member Data Documentation

const bool debug_ [static]

Debug flag. Note: uses envvar instead of controlDict since.

*this is static as well. Might be initialized before controlDict read.

Definition at line 110 of file readerDatabase.H.


The documentation for this class was generated from the following file:
  • applications/utilities/postProcessing/graphics/fieldview9Reader/readerDatabase.H