SpECTRE  v2022.10.04
amr::Actions::UpdateAmrDecision Struct Reference

Given the AMR decision of a neighboring Element, potentially update the AMR decision of the target Element. More...

#include <UpdateAmrDecision.hpp>

Static Public Member Functions

template<typename ParallelComponent , typename DbTagList , typename Metavariables , typename ArrayIndex >
static void apply (db::DataBox< DbTagList > &box, Parallel::GlobalCache< Metavariables > &cache, const ArrayIndex &, const ElementId< Metavariables::volume_dim > &neighbor_id, const std::array< amr::domain::Flag, Metavariables::volume_dim > &neighbor_amr_flags)
 

Detailed Description

Given the AMR decision of a neighboring Element, potentially update the AMR decision of the target Element.

DataBox:

Invokes:

Details

This Element calls amr::domain::update_amr_decision to see if its AMR decision needs to be updated. If it does, the Element will call amr::Actions::UpdateAmrDecision on its neighbors.


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