|
SpECTRE
2021.08.02
|
Send volume tensor data to the observer. More...
#include <VolumeActions.hpp>
Static Public Member Functions | |
| template<typename ParallelComponent , typename DbTagsList , typename Metavariables , typename ArrayIndex , size_t Dim, Requires< tmpl::list_contains_v< DbTagsList, Tags::TensorData > > = nullptr> | |
| 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 observers::ArrayComponentId &sender_array_id, std::vector< TensorComponent > &&received_tensor_data, const Index< Dim > &received_extents, const std::array< Spectral::Basis, Dim > &received_basis, const std::array< Spectral::Quadrature, Dim > &received_quadrature) noexcept |
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, a vector of the TensorComponents to be written to disk, and an Index<Dim> of the extents of the volume.