AbstractHdf5Converter< ELEMENT_DIM, SPACE_DIM > Class Template Reference

#include <AbstractHdf5Converter.hpp>

Inheritance diagram for AbstractHdf5Converter< ELEMENT_DIM, SPACE_DIM >:

Inheritance graph
[legend]
Collaboration diagram for AbstractHdf5Converter< ELEMENT_DIM, SPACE_DIM >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 AbstractHdf5Converter (std::string inputDirectory, std::string fileBaseName, AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > *pMesh, std::string subdirectoryName)
 ~AbstractHdf5Converter ()

Protected Attributes

Hdf5DataReadermpReader
unsigned mNumVariables
std::string mFileBaseName
AbstractTetrahedralMesh
< ELEMENT_DIM, SPACE_DIM > * 
mpMesh
OutputFileHandlermpOutputFileHandler


Detailed Description

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
class AbstractHdf5Converter< ELEMENT_DIM, SPACE_DIM >

This derived children of this class convert from Hdf5 format to a range of other formats for postprocessing

Definition at line 42 of file AbstractHdf5Converter.hpp.


Constructor & Destructor Documentation

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
AbstractHdf5Converter< ELEMENT_DIM, SPACE_DIM >::AbstractHdf5Converter ( std::string  inputDirectory,
std::string  fileBaseName,
AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > *  pMesh,
std::string  subdirectoryName 
) [inline]

Constructor, which does the conversion and writes the .info file.

Note:
This method is collective, and must be called by al processes.
Parameters:
inputDirectory The input directory, relative to CHASTE_TEST_OUTPUT, where the .h5 file has been written
fileBaseName The base name of the data file.
pMesh Pointer to the mesh.
subdirectoryName name for the output directory to be created (relative to HeartConfig::Instance()->GetOutputDirectory())

Definition at line 36 of file AbstractHdf5Converter.cpp.

References PetscTools::AmMaster(), EXCEPTION, Hdf5DataReader::GetNumberOfRows(), HeartConfig::GetPrintingTimeStep(), ChasteBuildInfo::GetProvenanceString(), Hdf5DataReader::GetUnlimitedDimensionValues(), Hdf5DataReader::GetVariableNames(), HeartConfig::Instance(), AbstractHdf5Converter< ELEMENT_DIM, SPACE_DIM >::mFileBaseName, AbstractHdf5Converter< ELEMENT_DIM, SPACE_DIM >::mNumVariables, AbstractHdf5Converter< ELEMENT_DIM, SPACE_DIM >::mpMesh, AbstractHdf5Converter< ELEMENT_DIM, SPACE_DIM >::mpOutputFileHandler, AbstractHdf5Converter< ELEMENT_DIM, SPACE_DIM >::mpReader, OutputFileHandler::OpenOutputFile(), and HeartConfig::Write().

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
AbstractHdf5Converter< ELEMENT_DIM, SPACE_DIM >::~AbstractHdf5Converter (  )  [inline]


Member Data Documentation

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
Hdf5DataReader* AbstractHdf5Converter< ELEMENT_DIM, SPACE_DIM >::mpReader [protected]

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
unsigned AbstractHdf5Converter< ELEMENT_DIM, SPACE_DIM >::mNumVariables [protected]

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
std::string AbstractHdf5Converter< ELEMENT_DIM, SPACE_DIM >::mFileBaseName [protected]

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
AbstractTetrahedralMesh<ELEMENT_DIM,SPACE_DIM>* AbstractHdf5Converter< ELEMENT_DIM, SPACE_DIM >::mpMesh [protected]

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
OutputFileHandler* AbstractHdf5Converter< ELEMENT_DIM, SPACE_DIM >::mpOutputFileHandler [protected]


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

Generated on Mon Apr 18 11:36:00 2011 for Chaste by  doxygen 1.5.5