|
SpECTRE
v2025.08.19
|
Sends data from the parent element to its children elements during adaptive mesh refinement. More...
#include <SendDataToChildren.hpp>
Static Public Member Functions | |
| template<typename ParallelComponent , typename DbTagList , typename Metavariables , size_t Dim> | |
| static void | apply (db::DataBox< DbTagList > &box, Parallel::GlobalCache< Metavariables > &cache, const ElementId< Dim > &element_id, const std::vector< ElementId< Dim > > &ids_of_children) |
Sends data from the parent element to its children elements during adaptive mesh refinement.
This action should be called after all children elements have been created by amr::Actions::CreateChild. This action sends a copy of all items corresponding to the mutable_item_creation_tags of box to each of the elements with ids_of_children. Finally, the parent element destroys itself.