SpECTRE  v2024.05.11
amr::Actions::SendDataToChildren Struct Reference

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 >
static void apply (db::DataBox< DbTagList > &box, Parallel::GlobalCache< Metavariables > &cache, const ElementId< Metavariables::volume_dim > &element_id, const std::vector< ElementId< Metavariables::volume_dim > > &ids_of_children)
 

Detailed Description

Sends data from the parent element to its children elements during adaptive mesh refinement.

Details

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.


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