SpECTRE
v2024.12.16
|
Send volume tensor data to the observer. More...
#include <VolumeActions.hpp>
Static Public Member Functions | |
template<typename ParallelComponent , typename DbTagsList , typename Metavariables , typename ArrayIndex > | |
static void | apply (db::DataBox< DbTagsList > &box, Parallel::GlobalCache< Metavariables > &cache, const ArrayIndex &array_index, const observers::ObservationId &observation_id, const std::string &subfile_name, const Parallel::ArrayComponentId &sender_array_id, ElementVolumeData &&received_volume_data) |
Send volume tensor data to the observer.
The caller of this Action (which is to be invoked on the Observer parallel component) must pass in an observation_id
used to uniquely identify the observation in time, the name of the h5::VolumeData
subfile in the HDF5 file (e.g. /element_data
, where the slash is important), the contributing parallel component element's component id, and the ElementVolumeData
to be written to disk.