SpECTRE  v2024.04.12
observers::Actions::ContributeVolumeData Struct Reference

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)
 

Detailed Description

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.


The documentation for this struct was generated from the following file: