|
SpECTRE
v2025.08.19
|
Threaded action that will add a dependency to the ObserverWriter for a given ObservationId ( time + volume_subfile_name).
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 &, const gsl::not_null< Parallel::NodeLock * > node_lock, const double time, const std::string &dependency, std::string volume_subfile_name, const bool write_volume_data) |
Threaded action that will add a dependency to the ObserverWriter for a given ObservationId ( time + volume_subfile_name).
If not all the volume data for this ObservationId has been received yet, then this will just add the dependency to the box and exit without writing anything. If all volume data arrives before this action is called, then it will write out the volume data (or remove it if we aren't writing).