|
SpECTRE
v2026.04.01
|
Write volume data (such as surface data) at a given time (specified by an ObservationId) without the need to register or reduce anything, e.g. from a singleton component or from a specific chare. More...
#include <VolumeActions.hpp>
Public Types | |
| using | return_type = void |
Static Public Member Functions | |
| template<typename ParallelComponent, typename DbTagsList, typename Metavariables, typename ArrayIndex, typename... Ts, typename DataBox = db::DataBox<DbTagsList>> | |
| static void | apply (db::DataBox< DbTagsList > &box, Parallel::GlobalCache< Metavariables > &cache, const ArrayIndex &, const gsl::not_null< Parallel::NodeLock * >, const std::string &h5_file_name, const std::string &subfile_path, const observers::ObservationId &observation_id, std::vector< ElementVolumeData > &&volume_data) |
| template<typename ParallelComponent, typename DbTagsList, typename Metavariables, typename... Ts, typename DataBox = db::DataBox<DbTagsList>> | |
| static return_type | apply (db::DataBox< DbTagsList > &box, const gsl::not_null< Parallel::NodeLock * >, Parallel::GlobalCache< Metavariables > &cache, const std::string &h5_file_name, const std::string &subfile_path, const observers::ObservationId &observation_id, std::vector< ElementVolumeData > &&volume_data) |
| The apply call for the local synchronous action. | |
Write volume data (such as surface data) at a given time (specified by an ObservationId) without the need to register or reduce anything, e.g. from a singleton component or from a specific chare.
Use observers::Actions::ContributeVolumeDataToWriter instead if you need to write volume data from an array chare (e.g., writing volume data from all the elements in a domain).
Invoke this action on the observers::ObserverWriter component on node 0. Pass the following arguments when invoking this action: