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

This class contains the features we use from EpteraExt::HDF5, but we transition it to Tpetra. More...

#include <HDF5Toolbox_decl.hpp>

Public Types

typedef Teuchos::Comm< int > Comm_Type
typedef Teuchos::RCP< Comm_Type > CommPtr_Type
typedef Teuchos::RCP< const Comm_Type > CommConstPtr_Type
typedef MultiVector< SC, LO, GO, NO > MultiVector_Type
typedef Teuchos::RCP< MultiVector_Type > MultiVectorPtr_Type
typedef Teuchos::RCP< const MultiVector_Type > MultiVectorConstPtr_Type
typedef Map< LO, GO, NO > Map_Type
typedef Teuchos::RCP< Map_Type > MapPtr_Type
typedef Teuchos::RCP< const Map_Type > MapConstPtr_Type

Public Member Functions

 HDF5Toolbox (CommConstPtr_Type Comm)
void write (const std::string &GroupName, const MultiVectorConstPtr_Type X, bool writeTranspose=false)
 Write/export a vector X to the HDF5 file under the group name GroupName.
bool isContained (std::string Name, std::string GroupName="")
 Checking if the dataset Name is contained in the group GroupName.
void createGroup (const std::string &GroupName)
 Create group GroupName.
void write (const std::string &GroupName, const std::string &DataSetName, double what)
void write (const std::string &GroupName, const std::string &DataSetName, int what)
void write (const std::string &GroupName, const std::string &DataSetName, const std::string &data)
void read (const std::string &GroupName, const MapConstPtr_Type Map, MultiVectorPtr_Type X)
void readIntVectorProperties (const std::string &GroupName, int &GlobalLength)
void read (const std::string &GroupName, const std::string &DataSetName, GO MySize, int GlobalSize, const hid_t type, void *data)
void read (const std::string &GroupName, const std::string &DataSetName, int &data)
void read (const std::string &GroupName, const std::string &DataSetName, std::string &data)
void tpetraScanSum (const Teuchos::RCP< const Teuchos::Comm< int > > &comm, const GO *sendbuf, GO *recvbuf, int count)
void create (const std::string FileName)
 Create a new file.
void open (const std::string FileName, int AccessType=H5F_ACC_RDWR)
 Open specified file with given access type.
void close ()
 Close the file.
void flush ()
 Flush the content to the file.
bool isOpen () const
 Return true if a file has already been opened using Open()/Create().

Detailed Description

template<class SC = default_sc, class LO = default_lo, class GO = default_go, class NO = default_no>
class FEDD::HDF5Toolbox< SC, LO, GO, NO >

This class contains the features we use from EpteraExt::HDF5, but we transition it to Tpetra.

Member Function Documentation

◆ write()

template<class SC, class LO, class GO, class NO>
void FEDD::HDF5Toolbox< SC, LO, GO, NO >::write ( const std::string & GroupName,
const MultiVectorConstPtr_Type X,
bool writeTranspose = false )

Write/export a vector X to the HDF5 file under the group name GroupName.

Parameters
GroupName
X
Here is the call graph for this function:
Here is the caller graph for this function:

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