SpECTRE  v2024.03.19
mem_monitor::ProcessSingleton Struct Reference

Simple action meant to be run on a Singleton that writes the size of the Singleton component to disk. More...

#include <ProcessSingleton.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)
 

Detailed Description

Simple action meant to be run on a Singleton that writes the size of the Singleton component to disk.

Details

The columns in the dat file are

  • Time
  • Proc
  • Size (MB)

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.


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