#include <gridpp.hh>
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 | |
GridDC * | buildGridDC () const |
PackageContainer< ireal, RARR > * | buildPC () const |
Definition at line 117 of file gridpp.hh.
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 | ( | ) |
GridDC* TSOpt::GridDCF::buildGridDC | ( | ) | const [protected] |
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 |