SpECTRE  v2024.04.12
amr::Actions::InitializeParent Struct Reference

Initializes the data of a newly created parent element from the data of its children elements. More...

#include <InitializeParent.hpp>

Static Public Member Functions

template<typename ParallelComponent , typename DbTagList , typename Metavariables >
static void apply (db::DataBox< DbTagList > &box, Parallel::GlobalCache< Metavariables > &cache, const ElementId< Metavariables::volume_dim > &parent_id, std::unordered_map< ElementId< Metavariables::volume_dim >, tuples::tagged_tuple_from_typelist< typename db::DataBox< DbTagList >::mutable_item_creation_tags > > children_items)
 

Detailed Description

Initializes the data of a newly created parent element from the data of its children elements.

DataBox:

  • Modifies:
    • domain::Tags::Element<volume_dim>
    • domain::Tags::Mesh<volume_dim>
    • all return_tags of Metavariables::amr::projectors

Details

This action is meant to be invoked by amr::Actions::CollectDataFromChildren


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