SpECTRE
v2024.12.16
|
Simple action meant to be used as a callback for Parallel::contribute_to_reduction that writes the size of an Array parallel component to disk. More...
#include <ProcessArray.hpp>
Static Public Member Functions | |
template<typename ParallelComponent , typename DbTags , typename Metavariables , typename ArrayIndex > | |
static void | apply (db::DataBox< DbTags > &, Parallel::GlobalCache< Metavariables > &cache, const ArrayIndex &, const double time, const std::vector< double > &size_per_node) |
Simple action meant to be used as a callback for Parallel::contribute_to_reduction that writes the size of an Array parallel component to disk.
The columns in the dat file when running on 3 nodes will be
The dat file will be placed in the /MemoryMonitors/
group in the reduction file. The name of the dat file is the pretty_type::name
of the component.