1#ifndef HDF5IMPORT_DEF_hpp
2#define HDF5IMPORT_DEF_hpp
16template<
class SC,
class LO,
class GO,
class NO>
21 Teuchos::RCP<const Teuchos::MpiComm<int> > mpiComm = Teuchos::rcp_dynamic_cast<const Teuchos::MpiComm<int> >( readMap->getComm() );
35template<
class SC,
class LO,
class GO,
class NO>
38 TEUCHOS_TEST_FOR_EXCEPTION( !
hdf5importer_->isContained(varName), std::logic_error,
"Requested varName: " << varName <<
" not contained in hdf file "<<
inputFilename_ <<
".h5.");
44template<
class SC,
class LO,
class GO,
class NO>
45void HDF5Import<SC,LO,GO,NO>::closeImporter(){
46 hdf5importer_->close();
MultiVectorPtr_Type readVariablesHDF5(std::string varName)
Reading a variable 'varName' from the inputFile with inputFilename of file type HDF5.
Definition HDF5Import_def.hpp:36
std::string inputFilename_
Name of input file.
Definition HDF5Import_decl.hpp:66
MultiVectorPtr_Type u_import_Tpetra_
Imported file in Tpetra format.
Definition HDF5Import_decl.hpp:70
HDF5Import(MapConstPtr_Type readMap, std::string inputFilename)
Constructor of HDF import. Here the general setting are defined. An tpetra map build based on the rea...
Definition HDF5Import_def.hpp:17
MapConstPtr_Type readMap_
Name of Map of import multivector.
Definition HDF5Import_decl.hpp:68
HDF5Ptr_Type hdf5importer_
HDF5 importer based on HDF5Toolbox.
Definition HDF5Import_decl.hpp:59
Adaptive Mesh Refinement.
Definition AdaptiveMeshRefinement_decl.hpp:36