31 typedef Teuchos::Comm<int> Comm_Type;
32 typedef Teuchos::RCP<Comm_Type> CommPtr_Type;
33 typedef Teuchos::RCP<const Comm_Type> CommConstPtr_Type;
36 typedef Teuchos::RCP<MultiVector_Type> MultiVectorPtr_Type;
37 typedef Teuchos::RCP<const MultiVector_Type> MultiVectorConstPtr_Type;
40 typedef Teuchos::RCP<Map_Type> MapPtr_Type;
41 typedef Teuchos::RCP<const Map_Type> MapConstPtr_Type;
43 HDF5Toolbox(CommConstPtr_Type Comm);
48 void write(
const std::string &GroupName,
const MultiVectorConstPtr_Type X,
bool writeTranspose =
false);
50 bool isContained(std::string Name, std::string GroupName =
"");
54 void write(
const std::string &GroupName,
const std::string &DataSetName,
double what);
56 void write(
const std::string &GroupName,
const std::string &DataSetName,
int what);
58 void write(
const std::string &GroupName,
const std::string &DataSetName,
const std::string &data);
66 void read(
const std::string &GroupName,
const MapConstPtr_Type
Map, MultiVectorPtr_Type X);
68 void readIntVectorProperties(
const std::string &GroupName,
int &GlobalLength);
70 void read(
const std::string &GroupName,
const std::string &DataSetName, GO MySize,
int GlobalSize,
const hid_t type,
void *data);
72 void read(
const std::string &GroupName,
const std::string &DataSetName,
int &data);
74 void read(
const std::string &GroupName,
const std::string &DataSetName, std::string &data);
76 void tpetraScanSum(
const Teuchos::RCP<
const Teuchos::Comm<int>> &comm,
const GO *sendbuf, GO *recvbuf,
int count);
79 void create(
const std::string FileName);
82 void open(
const std::string FileName,
int AccessType = H5F_ACC_RDWR);
123 H5Fflush(file_id_, H5F_SCOPE_GLOBAL);
134 CommConstPtr_Type comm_;
138 std::string FileName_;