Finite Element Domain Decomposition Library
FEDDLib
Loading...
Searching...
No Matches
FEDD::HDF5Export< SC, LO, GO, NO > Class Template Reference

Public Types

typedef Teuchos::RCP< Epetra_Map > EpetraMapPtr_Type
 
typedef Teuchos::RCP< Epetra_MultiVector > EpetraMVPtr_Type
 
typedef EpetraExt::HDF5 HDF5_Type
 
typedef Teuchos::RCP< HDF5_Type > HDF5Ptr_Type
 
typedef Teuchos::Comm< int > Comm_Type
 
typedef Teuchos::RCP< const Comm_Type > CommConstPtr_Type
 
typedef Map< LO, GO, NO > Map_Type
 
typedef Teuchos::RCP< const Map_TypeMapConstPtr_Type
 
typedef MultiVector< SC, LO, GO, NO > MultiVector_Type
 
typedef Teuchos::RCP< MultiVector_TypeMultiVectorPtr_Type
 
typedef Teuchos::RCP< const MultiVector_TypeMultiVectorConstPtr_Type
 

Public Member Functions

 HDF5Export (MapConstPtr_Type writeMap, std::string outputFilename)
 Constructor for HDF5 Exporter.
 
void writeVariablesHDF5 (std::string varName, MultiVectorConstPtr_Type writeVector)
 Exporting MultiVector writeVector as HDF5 File with the variable name varName.
 
void closeExporter ()
 Closing Exporter.
 

Protected Attributes

HDF5Ptr_Type hdf5exporter_
 
CommConstPtr_Type comm_
 
Teuchos::RCP< Epetra_MpiComm > commEpetra_
 
std::string outputFilename_
 
std::vector< std::string > varNamesRead_
 
EpetraMapPtr_Type writeMap_
 

Constructor & Destructor Documentation

◆ HDF5Export()

template<class SC, class LO, class GO, class NO>
FEDD::HDF5Export< SC, LO, GO, NO >::HDF5Export ( MapConstPtr_Type writeMap,
std::string outputFilename )

Constructor for HDF5 Exporter.

Parameters
writeMapMap for writing file. Parallel distribution for of the exported multivector.
outputFilenameName for output file

Member Function Documentation

◆ writeVariablesHDF5()

template<class SC, class LO, class GO, class NO>
void FEDD::HDF5Export< SC, LO, GO, NO >::writeVariablesHDF5 ( std::string varName,
MultiVectorConstPtr_Type writeVector )

Exporting MultiVector writeVector as HDF5 File with the variable name varName.

Parameters
varNameVariable name of MultiVector
writeVectorVector to be exported, corresponding to writeMap_

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