hp-FEM
Adaptive hp-FEM suite for nano-optics
Loading...
Searching...
No Matches
Public Attributes | Static Public Attributes | List of all members
hpfem::mesh::Refined< Dim > Struct Template Reference

#include <refinement.hpp>

Public Attributes

Mesh< Dim > mesh
 
std::vector< Index > parent_cell
 parent of every child cell
 
std::vector< Index > edge_vertex
 vertex created on every parent edge
 

Static Public Attributes

static constexpr Index kChildren = Dim == 2 ? 4 : 8
 children per cell
 

Detailed Description

template<int Dim>
struct hpfem::mesh::Refined< Dim >

Result of one uniform refinement step. Parent vertices keep their ids; the vertex created on parent edge e has id parent.num_vertices() + e. Child cells are stored parent by parent: children of parent cell c are kChildren * c + i.

Member Data Documentation

◆ edge_vertex

template<int Dim>
std::vector<Index> hpfem::mesh::Refined< Dim >::edge_vertex

vertex created on every parent edge

◆ kChildren

template<int Dim>
constexpr Index hpfem::mesh::Refined< Dim >::kChildren = Dim == 2 ? 4 : 8
staticconstexpr

children per cell

◆ mesh

template<int Dim>
Mesh<Dim> hpfem::mesh::Refined< Dim >::mesh

◆ parent_cell

template<int Dim>
std::vector<Index> hpfem::mesh::Refined< Dim >::parent_cell

parent of every child cell


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