1#ifndef HDF5IMPORT_DECL_hpp
2#define HDF5IMPORT_DECL_hpp
5#include "feddlib/core/FEDDCore.hpp"
6#include "feddlib/core/LinearAlgebra/MultiVector.hpp"
8#include <Teuchos_Array.hpp>
10#include <Epetra_ConfigDefs.h>
13#include <Epetra_MpiComm.h>
14#include <Epetra_SerialComm.h>
16#include <Epetra_SerialComm.h>
19#include <Epetra_Map.h>
20#include <Epetra_MultiVector.h>
22#include <EpetraExt_HDF5.h>
36template <
class SC = default_sc,
class LO = default_lo,
class GO = default_go,
class NO = default_no>
39 typedef Teuchos::RCP<Epetra_Map> EpetraMapPtr_Type;
41 typedef EpetraExt::HDF5 HDF5_Type;
42 typedef Teuchos::RCP<HDF5_Type> HDF5Ptr_Type;
44 typedef Teuchos::Comm<int> Comm_Type;
45 typedef Teuchos::RCP<const Comm_Type> CommConstPtr_Type;
48 typedef Teuchos::RCP<const Map_Type> MapConstPtr_Type;
51 typedef Teuchos::RCP<MultiVector_Type> MultiVectorPtr_Type;
57 HDF5Import(MapConstPtr_Type readMap, std::string inputFilename);
71 CommConstPtr_Type comm_;
72 Teuchos::RCP<Epetra_MpiComm> commEpetra_;
EpetraMapPtr_Type readMap_
Name of Map of import multivector.
Definition HDF5Import_decl.hpp:80
MultiVectorPtr_Type readVariablesHDF5(std::string varName)
Reading a variable 'varName' from the inputFile with inputFilename of file type HDF5.
Definition HDF5Import_def.hpp:51
std::string inputFilename_
Name of input file.
Definition HDF5Import_decl.hpp:78
Epetra_MultiVector * u_import_Epetra_
Imported MultiVector in Epetra format.
Definition HDF5Import_decl.hpp:82
MultiVectorPtr_Type u_import_Tpetra_
Imported file in Xpetra format.
Definition HDF5Import_decl.hpp:84
HDF5Import(MapConstPtr_Type readMap, std::string inputFilename)
Constructor of HDF import. Here the general setting are defined. An epetra map build based on the rea...
Definition HDF5Import_def.hpp:19
HDF5Ptr_Type hdf5importer_
HDF5 importer based on EpetraExt HDF5 importer.
Definition HDF5Import_decl.hpp:70
Definition Map_decl.hpp:36
Definition MultiVector_decl.hpp:36
Adaptive Mesh Refinement.
Definition AdaptiveMeshRefinement.cpp:5