High Performance Plasticity  0.5.0
hdfUtilsCpp.h File Reference

Header file for helper functions with HDF, C++ API. More...

#include <stdexcept>
#include <cstddef>
#include <string>
#include <stdio.h>
#include <map>
#include <vector>
#include <iostream>
#include <sstream>
#include "mpi.h"
#include <hpp/config.h>
#include <hdf5/serial/H5Cpp.h>
#include <hpp/hdfUtils.h>
Include dependency graph for hdfUtilsCpp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  hpp::HDFReadWriteParams
 

Namespaces

 hpp
 

Functions

template<typename T >
H5::DataType hpp::getHDF5Type ()
 Get HDF5 equivalent type. More...
 
template<typename T >
H5::DataSet hpp::createHDF5Dataset (H5::H5File &file, const H5std_string &datasetName, std::vector< hsize_t > dataDims)
 
template<typename T >
H5::DataSet hpp::createHDF5GridOfArrays (H5::H5File &file, const H5std_string &datasetName, std::vector< hsize_t > gridDims, std::vector< hsize_t > arrayDims)
 
template<typename T >
HDFReadWriteParams hpp::getReadWriteParametersForSingleHDF5Array (H5::DataSet &dataset, std::vector< hsize_t > gridOffset, std::vector< hsize_t > arrayDims)
 
template<typename T >
void hpp::readWriteHDF5SimpleArray (H5::DataSet &dataset, HDFReadWriteParams parms, T *output, HDFReadWrite mode)
 
template<typename T >
void hpp::readHDF5SimpleArray (H5::DataSet &dataset, HDFReadWriteParams parms, T *output)
 
template<typename T >
void hpp::writeHDF5SimpleArray (H5::DataSet &dataset, HDFReadWriteParams parms, T *output)
 
template<typename T >
void hpp::readSingleHDF5Array (H5::DataSet &dataset, std::vector< hsize_t > gridOffset, std::vector< hsize_t > arrayDims, T *output)
 
template<typename T >
void hpp::writeSingleHDF5Array (H5::DataSet &dataset, std::vector< hsize_t > gridOffset, std::vector< hsize_t > arrayDims, T *output)
 
template<typename T >
void hpp::writeVectorToHDF5Array (H5::H5File &file, const std::string &dsetName, std::vector< T > &vec)
 
template<typename T >
void hpp::addAttribute (H5::H5File &file, const std::string &attrName, T attrVal)
 

Detailed Description

Header file for helper functions with HDF, C++ API.

Author
Michael Malahe