|
hp-FEM
Adaptive hp-FEM suite for nano-optics
|
#include <subdivision.hpp>
Static Public Member Functions | |
| static constexpr Index | vertices_per_cell (int n) noexcept |
| static constexpr Index | cells_per_cell (int n) noexcept |
| Sub-simplices per parent cell: \( n^{Dim} \). | |
Public Attributes | |
| Mesh< Dim > | mesh |
| std::vector< Index > | parent_cell |
| parent of every sub-cell | |
| std::vector< Index > | vertex_parent |
| parent cell of every sub-vertex | |
| std::vector< Point< Dim > > | vertex_xi |
| reference coordinates of every sub-vertex in its parent | |
Result of subdivide. The sub-mesh duplicates its vertices per parent cell, so fields that jump across facets (normal components of E, curls) stay discontinuous in the output; cell tags are inherited from the parents. Sub-vertices of parent cell c are the consecutive ids c * vertices_per_cell(n) + k, sub-cells likewise with cells_per_cell(n).
|
inlinestaticconstexprnoexcept |
Sub-simplices per parent cell: \( n^{Dim} \).
|
inlinestaticconstexprnoexcept |
Lattice points of the n-fold subdivided reference simplex: \( (n+1)(n+2)/2 \) in 2D, \( (n+1)(n+2)(n+3)/6 \) in 3D.
| Mesh<Dim> hpfem::mesh::Subdivided< Dim >::mesh |
| std::vector<Index> hpfem::mesh::Subdivided< Dim >::parent_cell |
parent of every sub-cell
| std::vector<Index> hpfem::mesh::Subdivided< Dim >::vertex_parent |
parent cell of every sub-vertex
| std::vector<Point<Dim> > hpfem::mesh::Subdivided< Dim >::vertex_xi |
reference coordinates of every sub-vertex in its parent