Chaste Commit::baa90ac2819b962188b7562f2326be23c47859a7
Hdf5ToTxtConverter< ELEMENT_DIM, SPACE_DIM > Class Template Reference

#include <Hdf5ToTxtConverter.hpp>

+ Inheritance diagram for Hdf5ToTxtConverter< ELEMENT_DIM, SPACE_DIM >:
+ Collaboration diagram for Hdf5ToTxtConverter< ELEMENT_DIM, SPACE_DIM >:

Public Member Functions

 Hdf5ToTxtConverter (const FileFinder &rInputDirectory, const std::string &rFileBaseName, AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > *pMesh)
 
- Public Member Functions inherited from AbstractHdf5Converter< ELEMENT_DIM, SPACE_DIM >
 AbstractHdf5Converter (const FileFinder &rInputDirectory, const std::string &rFileBaseName, AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > *pMesh, const std::string &rSubdirectoryName, unsigned precision)
 
void WriteInfoFile ()
 
 ~AbstractHdf5Converter ()
 
std::string GetSubdirectory ()
 

Additional Inherited Members

- Protected Member Functions inherited from AbstractHdf5Converter< ELEMENT_DIM, SPACE_DIM >
bool MoveOntoNextDataset ()
 
- Protected Attributes inherited from AbstractHdf5Converter< ELEMENT_DIM, SPACE_DIM >
const FileFindermrH5Folder
 
boost::shared_ptr< Hdf5DataReadermpReader
 
unsigned mNumVariables
 
std::string mFileBaseName
 
std::vector< std::string > mDatasetNames
 
unsigned mOpenDatasetIndex
 
AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > * mpMesh
 
OutputFileHandlermpOutputFileHandler
 
std::string mRelativeSubdirectory
 
unsigned mPrecision
 

Detailed Description

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

This class converts from Hdf5 format to a .txt format that is readable by Matlab.

There is one output file per variable per timestep, giving the values of that variable at that time over each of the nodes.

Definition at line 49 of file Hdf5ToTxtConverter.hpp.

Constructor & Destructor Documentation

◆ Hdf5ToTxtConverter()

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
Hdf5ToTxtConverter< ELEMENT_DIM, SPACE_DIM >::Hdf5ToTxtConverter ( const FileFinder rInputDirectory,
const std::string &  rFileBaseName,
AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > *  pMesh 
)

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