SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
amr::Actions::SendAmrDiagnostics Struct Reference

Send AMR diagnostics about Elements to amr::Component. More...

#include <SendAmrDiagnostics.hpp>

Public Types

using const_global_cache_tags
using ReductionData

Static Public Member Functions

template<typename DbTagList, typename... InboxTags, typename Metavariables, size_t Dim, typename ActionList, typename ParallelComponent>
static Parallel::iterable_action_return_t apply (db::DataBox< DbTagList > &box, tuples::TaggedTuple< InboxTags... > &, const Parallel::GlobalCache< Metavariables > &cache, const ElementId< Dim > &element_id, const ActionList, const ParallelComponent *)

Detailed Description

Send AMR diagnostics about Elements to amr::Component.

Sends the following:

  • The fraction of a Block volume (in the logical coordinate frame) covered by the Element
  • One, in order to count the number of Elements
  • The number of grid points
  • The refinement level in each logical dimension
  • The number of grid points in each logical dimension

The information is sent to amr::Component which runs the action amr::Actions::RunAmrDiagnostics after all Elements have contributed to the reduction

Member Typedef Documentation

◆ const_global_cache_tags

using amr::Actions::SendAmrDiagnostics::const_global_cache_tags
Initial value:
tmpl::list<logging::Tags::Verbosity<amr::OptionTags::AmrGroup>>

◆ ReductionData

using amr::Actions::SendAmrDiagnostics::ReductionData
Initial value:
Parallel::ReductionData<
The data to be reduced, and invokables to be called whenever two reduction messages are combined and ...
Definition Reduction.hpp:66
Function that applies C to every element of the operands. This function is currently only tested for ...
Definition Functional.hpp:316
Functional for computing + of two objects.
Definition Functional.hpp:236

The documentation for this struct was generated from the following file:
  • src/ParallelAlgorithms/Amr/Actions/SendAmrDiagnostics.hpp