SpECTRE  v2025.08.19
observers::ThreadedActions::ContributeVolumeDataToWriter Struct Reference

Move data to the observer writer for writing to disk. 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 observers::ObservationId &observation_id, Parallel::ArrayComponentId observer_group_id, const std::string &subfile_name, std::unordered_map< Parallel::ArrayComponentId, std::vector< ElementVolumeData > > &&received_volume_data, const std::optional< std::string > &dependency=std::nullopt)
 
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 observers::ObservationId &observation_id, Parallel::ArrayComponentId observer_group_id, const std::string &subfile_name, std::unordered_map< Parallel::ArrayComponentId, ElementVolumeData > &&received_volume_data, const std::optional< std::string > &dependency=std::nullopt)
 

Detailed Description

Move data to the observer writer for writing to disk.

Once data from all cores is collected this action writes the data to disk if there isn't a dependency. Or if there is a dependency and it has been received already. If there is a dependency but it hasn't been received yet, data will be written by a call to ContributeDependency.


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