PlasCom2  1.0
XPACC Multi-physics simluation application
pcpp::io::xdmf Namespace Reference

Functions

void OpenFileTag (std::ostream &outStream)
 
void CloseFileTag (std::ostream &outStream)
 
void OpenGridTag (const std::string &gridName, const std::string &gridType, double inTime, std::ostream &outStream)
 
void CloseGridTag (std::ostream &outStream)
 
int WriteGridSection (const std::string &topoType, const std::string &geomType, const std::string &fileName, const std::string &gridPath, const std::vector< size_t > &gridSize, std::ostream &outStream)
 
int WriteGridSection (const std::string &topoType, const std::string &fileName, const std::string &gridPath, const std::vector< size_t > &gridSize, std::ostream &outStream)
 
int WriteGridData (const std::string &fileName, const std::string &dataName, unsigned int dataSize, const std::string &dataPath, const std::vector< size_t > &gridSize, std::ostream &outStream)
 
template<typename GridType , typename StateType >
void WriteSimulationFile (const std::string &h5FileName, const std::string &gridName, const std::string &gridPath, const std::string &dataPath, const GridType &inGrid, const StateType &inState)
 
template<typename DomainType >
void WriteDomainFile (const std::string &h5FileName, DomainType &inDomain)
 

Function Documentation

◆ CloseFileTag()

void CloseFileTag ( std::ostream &  outStream)

Definition at line 20 of file PCPPHDF5.C.

Referenced by TestGrid_RectilinearMetric(), WriteDomainFile(), and WriteSimulationFile().

Here is the caller graph for this function:

◆ CloseGridTag()

void CloseGridTag ( std::ostream &  outStream)

Definition at line 32 of file PCPPHDF5.C.

Referenced by TestGrid_RectilinearMetric(), WriteDomainFile(), and WriteSimulationFile().

Here is the caller graph for this function:

◆ OpenFileTag()

void OpenFileTag ( std::ostream &  outStream)

Definition at line 12 of file PCPPHDF5.C.

Referenced by TestGrid_RectilinearMetric(), WriteDomainFile(), and WriteSimulationFile().

Here is the caller graph for this function:

◆ OpenGridTag()

void OpenGridTag ( const std::string &  gridName,
const std::string &  gridType,
double  inTime,
std::ostream &  outStream 
)

Definition at line 26 of file PCPPHDF5.C.

Referenced by TestGrid_RectilinearMetric(), WriteDomainFile(), and WriteSimulationFile().

Here is the caller graph for this function:

◆ WriteDomainFile()

void pcpp::io::xdmf::WriteDomainFile ( const std::string &  h5FileName,
DomainType &  inDomain 
)
Todo:
resolve grid file name from hdf5 file input

Definition at line 99 of file PCPPHDF5.H.

References CloseFileTag(), CloseGridTag(), metadata::dsize, metadata::loc, metadata::name, metadata::ncomp, OpenFileTag(), OpenGridTag(), navierstokes::scalarNames(), WriteGridData(), WriteGridSection(), and x.

Here is the call graph for this function:

◆ WriteGridData()

int WriteGridData ( const std::string &  fileName,
const std::string &  dataName,
unsigned int  dataSize,
const std::string &  dataPath,
const std::vector< size_t > &  gridSize,
std::ostream &  outStream 
)

Definition at line 118 of file PCPPHDF5.C.

Referenced by WriteDomainFile(), and WriteSimulationFile().

Here is the caller graph for this function:

◆ WriteGridSection() [1/2]

int WriteGridSection ( const std::string &  topoType,
const std::string &  geomType,
const std::string &  fileName,
const std::string &  gridPath,
const std::vector< size_t > &  gridSize,
std::ostream &  outStream 
)
Todo:
deprecated PCPPHDF5.C::WriteGridSection - systematically remove from tests

Definition at line 38 of file PCPPHDF5.C.

Referenced by TestGrid_RectilinearMetric(), WriteDomainFile(), and WriteSimulationFile().

Here is the caller graph for this function:

◆ WriteGridSection() [2/2]

int WriteGridSection ( const std::string &  topoType,
const std::string &  fileName,
const std::string &  gridPath,
const std::vector< size_t > &  gridSize,
std::ostream &  outStream 
)

Definition at line 77 of file PCPPHDF5.C.

◆ WriteSimulationFile()

void pcpp::io::xdmf::WriteSimulationFile ( const std::string &  h5FileName,
const std::string &  gridName,
const std::string &  gridPath,
const std::string &  dataPath,
const GridType &  inGrid,
const StateType &  inState 
)

Definition at line 38 of file PCPPHDF5.H.

References CloseFileTag(), CloseGridTag(), metadata::dsize, metadata::loc, metadata::name, metadata::ncomp, OpenFileTag(), OpenGridTag(), WriteGridData(), and WriteGridSection().

Here is the call graph for this function: