Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
AMReX_WriteBinaryParticleDataHDF5.H File Reference

Go to the source code of this file.

Namespaces

namespace  amrex
 

Functions

static int amrex::CreateWriteHDF5Attr (hid_t loc, const char *name, hsize_t n, void *data, hid_t dtype)
 Create and write a numeric attribute on the given HDF5 object.
 
static int amrex::CreateWriteHDF5AttrString (hid_t loc, const char *name, const char *str)
 Create and write a null-terminated string attribute on the given object.
 
static int amrex::ReadHDF5Attr (hid_t loc, const char *name, void *data, hid_t dtype)
 Read an attribute from an HDF5 object into the supplied buffer.
 
static void amrex::SetHDF5fapl (hid_t fapl, MPI_Comm comm)
 Configure a file-access property list for parallel particle writes.
 
template<class PC , class F , std::enable_if_t< IsParticleContainer< PC >::value, int > foo = 0>
void amrex::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)
 Synchronous HDF5 particle writer shared by checkpoint and plotfile routines.
 

Detailed Description

Low-level helpers that implement ParticleContainer HDF5 checkpoint/plotfile output (attribute helpers, FAPL configuration, and the synchronous writer).