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

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

#include <InitializeChild.hpp>

Static Public Member Functions

template<typename ParallelComponent , typename DbTagList , typename Metavariables , typename... Tags>
static void apply (db::DataBox< DbTagList > &box, Parallel::GlobalCache< Metavariables > &cache, const ElementId< Metavariables::volume_dim > &child_id, const tuples::TaggedTuple< Tags... > &parent_items)
 

Detailed Description

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

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::SendDataToChildren


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