36 #ifndef DOF_INTERFACE_IO_ 37 #define DOF_INTERFACE_IO_ 40 #include <lifev/core/Core_config.h> 43 #pragma GCC diagnostic ignored "-Wunused-variable" 44 #pragma GCC diagnostic ignored "-Wunused-parameter" 46 #include <Epetra_config.h> 51 #include <Epetra_MpiComm.h> 53 #include <boost/shared_ptr.hpp> 56 #pragma GCC diagnostic warning "-Wunused-variable" 57 #pragma GCC diagnostic warning "-Wunused-parameter" 59 #include <lifev/core/LifeV.hpp> 60 #include <lifev/core/filter/HDF5IO.hpp> 62 #include <lifev/core/fem/DOFInterface3Dto3D.hpp> 78 typedef std::shared_ptr<Epetra_MpiComm> commPtr_Type;
79 typedef DOFInterface3Dto3D interface_Type;
80 typedef std::shared_ptr<interface_Type> interfacePtr_Type;
81 typedef std::vector<interfacePtr_Type> interfaceVector_Type;
82 typedef std::shared_ptr<interfaceVector_Type> interfaceVectorPtr_Type;
83 typedef std::map<UInt, UInt> dofMap_Type;
84 typedef std::shared_ptr<dofMap_Type> dofMapPtr_Type;
96 DOFInterfaceIO (
const std::string& fileName,
97 const commPtr_Type& comm);
100 virtual ~DOFInterfaceIO() {}
109 void write (
const interfaceVectorPtr_Type& interfaces);
115 void read (dofMapPtr_Type& interface);
120 DOFInterfaceIO (
const DOFInterfaceIO&);
121 DOFInterfaceIO& operator= (
const DOFInterfaceIO&);
127 std::string M_fileName;
130 std::vector<UInt> M_keyBuffer;
131 std::vector<UInt> M_valueBuffer;