TSOpt::GridDCF Class Reference

Factory class for GridDC. More...

#include <gridpp.hh>

List of all members.

Public Member Functions

 GridDCF (string _protohdr, bool _incore=false, ostream &_outfile=cerr)
 main constructor.
 GridDCF (GridDCF const &f)
 copy constructor.
 ~GridDCF ()
PackageContainerFactory< ireal,
RARR > * 
clone () const
grid const & getGrid () const
ireal getCellVol () const
ireal getScaleFactor () const
string getFilename () const
bool compare (DataContainerFactory const &dcf) const
bool isCompatible (DataContainer const &dc) const
bool isIncore () const
ostream & write (ostream &str) const

Protected Member Functions

GridDCbuildGridDC () const
PackageContainer< ireal, RARR > * buildPC () const


Detailed Description

Factory class for GridDC.

Definition at line 117 of file gridpp.hh.


Constructor & Destructor Documentation

TSOpt::GridDCF::GridDCF ( string  _protohdr,
bool  _incore = false,
ostream &  _outfile = cerr 
)

main constructor.

Stores name of prototype header file (first arg), also extracts filename information and ensures that prototype files register in the file manager database. Proto data extracted here is passed to GridDC constructor.

TSOpt::GridDCF::GridDCF ( GridDCF const &  f  ) 

copy constructor.

Since some copy of arg must have been built with main constructor, no need to worry about file manager.

TSOpt::GridDCF::~GridDCF (  ) 


Member Function Documentation

GridDC* TSOpt::GridDCF::buildGridDC (  )  const [protected]

PackageContainer<ireal, RARR>* TSOpt::GridDCF::buildPC (  )  const [protected]

PackageContainerFactory<ireal, RARR>* TSOpt::GridDCF::clone (  )  const

grid const& TSOpt::GridDCF::getGrid (  )  const

Referenced by TSOpt::MPIGridSpace::getGrid().

ireal TSOpt::GridDCF::getCellVol (  )  const

ireal TSOpt::GridDCF::getScaleFactor (  )  const

string TSOpt::GridDCF::getFilename (  )  const

Referenced by TSOpt::MPIGridSpace::write().

bool TSOpt::GridDCF::compare ( DataContainerFactory const &  dcf  )  const

bool TSOpt::GridDCF::isCompatible ( DataContainer const &  dc  )  const

bool TSOpt::GridDCF::isIncore (  )  const

Referenced by TSOpt::MPIGridSpace::isIncore().

ostream& TSOpt::GridDCF::write ( ostream &  str  )  const


The documentation for this class was generated from the following file:
Generated on 5 Jan 2017 for IWAVEGRID by  doxygen 1.4.7