Block-Structured AMR Software Framework
AMReX_WriteBinaryParticleDataHDF5.H File Reference

Go to the source code of this file.

Functions

static int CreateWriteHDF5Attr (hid_t loc, const char *name, hsize_t n, void *data, hid_t dtype)
 
static int CreateWriteHDF5AttrString (hid_t loc, const char *name, const char *str)
 
static int ReadHDF5Attr (hid_t loc, const char *name, void *data, hid_t dtype)
 
static void SetHDF5fapl (hid_t fapl, MPI_Comm comm)
 
template<class PC , class F , std::enable_if_t< IsParticleContainer< PC >::value, int > foo = 0>
void WriteHDF5ParticleDataSync (PC const &pc, const std::string &dir, const std::string &name, const Vector< int > &write_real_comp, const Vector< int > &write_int_comp, const Vector< std::string > &real_comp_names, const Vector< std::string > &int_comp_names, const std::string &compression, F &&f, bool is_checkpoint)
 

Function Documentation

◆ CreateWriteHDF5Attr()

static int CreateWriteHDF5Attr ( hid_t  loc,
const char *  name,
hsize_t  n,
void *  data,
hid_t  dtype 
)
static

◆ CreateWriteHDF5AttrString()

static int CreateWriteHDF5AttrString ( hid_t  loc,
const char *  name,
const char *  str 
)
static

◆ ReadHDF5Attr()

static int ReadHDF5Attr ( hid_t  loc,
const char *  name,
void *  data,
hid_t  dtype 
)
static

◆ SetHDF5fapl()

static void SetHDF5fapl ( hid_t  fapl,
MPI_Comm  comm 
)
static

◆ WriteHDF5ParticleDataSync()

template<class PC , class F , std::enable_if_t< IsParticleContainer< PC >::value, int > foo = 0>
void WriteHDF5ParticleDataSync ( PC const &  pc,
const std::string &  dir,
const std::string &  name,
const Vector< int > &  write_real_comp,
const Vector< int > &  write_int_comp,
const Vector< std::string > &  real_comp_names,
const Vector< std::string > &  int_comp_names,
const std::string &  compression,
F &&  f,
bool  is_checkpoint 
)