|
hp-FEM
Adaptive hp-FEM suite for nano-optics
|
#include <adaptive_mesh.hpp>
Public Member Functions | |
| Index | num_cells () const noexcept |
| bool | refined (Index i) const |
| True if cell i was created in this step. | |
| int | levels (Index i) const |
| Number of levels between cell i and its old cell. | |
| template<int Dim> | |
| Point< Dim > | old_reference (Index i, const Point< Dim > &xi) const |
| Reference coordinates in the old cell of reference point ξ of cell i. | |
Public Attributes | |
| std::vector< Index > | parent |
| std::vector< std::vector< LocalIndex > > | path |
| Index | num_old_cells = 0 |
How the leaf cells of a refinement step relate to those before it: cell i of the new mesh is cell parent[i] of the old mesh itself (path[i] empty) or a descendant reached through the child numbers path[i] (red patterns, one entry per level; the closure may split a cell more than once in one call). old_reference maps reference coordinates of cell i to the old cell.
|
inline |
Number of levels between cell i and its old cell.
|
inlinenoexcept |
|
inline |
Reference coordinates in the old cell of reference point ξ of cell i.
|
inline |
True if cell i was created in this step.
| Index hpfem::mesh::RefinementStep::num_old_cells = 0 |
| std::vector<Index> hpfem::mesh::RefinementStep::parent |
| std::vector<std::vector<LocalIndex> > hpfem::mesh::RefinementStep::path |