hp-FEM
Adaptive hp-FEM suite for nano-optics
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
red_refinement.hpp File Reference
#include <array>
#include "hpfem/core/types.hpp"
#include "hpfem/mesh/simplex_topology.hpp"
Include dependency graph for red_refinement.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  hpfem::mesh::detail::RedRefinement< 2 >
 
struct  hpfem::mesh::detail::RedRefinement< 3 >
 

Namespaces

namespace  hpfem
 
namespace  hpfem::mesh
 
namespace  hpfem::mesh::detail
 

Functions

template<int Dim>
Point< Dim > hpfem::mesh::detail::reference_vertex (LocalIndex i)
 Reference vertex i of the simplex (0 = origin).
 
template<int Dim>
Point< Dim > hpfem::mesh::detail::reference_node (LocalIndex n)
 Reference coordinates of local node n of the refined cell (vertex or edge midpoint).
 
template<int Dim>
Point< Dim > hpfem::mesh::detail::parent_reference (LocalIndex child, const Point< Dim > &xi)
 

Detailed Description

Child patterns of the red (regular) refinement of a simplex, shared by refine_uniform and AdaptiveMesh. Local nodes of a refined cell: the parent vertices 0..Dim, then the midpoint of parent edge k at Dim + 1 + k (SimplexTopology<Dim>::kEdgeVertices order). See docs/theory/mesh.md#refinement.