1#ifndef HDF5EXPORT_DECL_hpp
2#define HDF5EXPORT_DECL_hpp
5#include "feddlib/core/FEDDCore.hpp"
6#include "feddlib/core/LinearAlgebra/MultiVector.hpp"
8#include <Teuchos_Array.hpp>
9#include "HDF5Toolbox_decl.hpp"
29template <
class SC = default_sc,
class LO = default_lo,
class GO = default_go,
class NO = default_no>
33 typedef Teuchos::RCP<HDF5_Type> HDF5Ptr_Type;
35 typedef Teuchos::Comm<int> Comm_Type;
36 typedef Teuchos::RCP<const Comm_Type> CommConstPtr_Type;
39 typedef Teuchos::RCP<const Map_Type> MapConstPtr_Type;
42 typedef Teuchos::RCP<MultiVector_Type> MultiVectorPtr_Type;
43 typedef Teuchos::RCP<const MultiVector_Type> MultiVectorConstPtr_Type;
48 HDF5Export(MapConstPtr_Type writeMap, std::string outputFilename);
53 void writeVariablesHDF5(std::string varName,
const MultiVectorConstPtr_Type writeVector);
60 HDF5Ptr_Type hdf5exporter_;
61 CommConstPtr_Type comm_;
66 std::string outputFilename_;
67 std::vector<std::string> varNamesRead_;
void closeExporter()
Closing Exporter.
Definition HDF5Export_def.hpp:34
HDF5Export(MapConstPtr_Type writeMap, std::string outputFilename)
Constructor for HDF5 Exporter.
Definition HDF5Export_def.hpp:7
void writeVariablesHDF5(std::string varName, const MultiVectorConstPtr_Type writeVector)
Exporting MultiVector writeVector as HDF5 File with the variable name varName.
Definition HDF5Export_def.hpp:22
Definition Map_decl.hpp:30
Definition MultiVector_decl.hpp:61
Adaptive Mesh Refinement.
Definition AdaptiveMeshRefinement_decl.hpp:36