HM3
Hierarchical Multi-physics Multi-scale Methods
 All Classes Namespaces Functions Variables Typedefs Enumerations Pages
hm3::solver::level_set::amr< Nd > Struct Template Reference

Description

template<uint_t Nd>
struct hm3::solver::level_set::amr< Nd >

Adaptive mesh refinement target for the level set solver.

Public Member Functions

auto siblings (amr_node_idx n) const
 Siblings of node n within the solver grid.
 
constexpr int_t no_siblings () const noexcept
 Number of siblings within a node in the solver grid.
 
auto neighbors (amr_node_idx n) const
 Neighbors of node n in the solver grid.
 
auto level (amr_node_idx n) const
 Level of node n.
 
void refine (amr_node_idx n)
 Refines node n in the solver grid.
 
void coarsen_siblings_of (amr_node_idx n)
 Coarsen siblings of n in the solver grid.
 
auto nodes () const
 Nodes of the level set solver grid.