SpECTRE  v2024.05.11
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)
 
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)
 

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.


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