|
hp-FEM
Adaptive hp-FEM suite for nano-optics
|
#include <postprocess.hpp>
Classes | |
| struct | Facet |
Static Public Member Functions | |
| static Surface | around_cells (const mesh::Mesh< Dim > &mesh, mesh::Tag cell_tag) |
| static Surface | boundary (const mesh::Mesh< Dim > &mesh, mesh::Tag facet_tag) |
Boundary facets carrying facet_tag, normal out of the domain. | |
| static Surface | whole_boundary (const mesh::Mesh< Dim > &mesh) |
| The whole domain boundary, normal out of the domain. | |
| static Surface | plane (const mesh::Mesh< Dim > &mesh, int axis, Real coordinate, int direction, Real tolerance=1e-9) |
Public Attributes | |
| std::vector< Facet > | facets |
An oriented surface: mesh facets, each with the cell on its inside; the normal points out of that cell. Interior facets give interfaces and flux surfaces, boundary facets the domain boundary.
|
static |
Closed surface around the cells carrying cell_tag: every facet between a tagged and an untagged (or differently tagged) cell, plus tagged cells' boundary facets; the inside is the tagged cell, so the normal points out of the region. On a locally refined mesh the hanging child facets are used (the inside cell may then be the coarse cell behind the parent facet).
|
static |
Boundary facets carrying facet_tag, normal out of the domain.
|
static |
The facets lying on the plane (2D: line) \( x_{\text{axis}} = \) coordinate (every vertex within tolerance times the mesh extent along the axis), oriented so that the normal points along direction (+1: towards larger coordinates, −1: smaller); the inside cell is the one on the other side. Boundary facets whose only cell lies on the wrong side are left out. Lines through hanging facets take the child facets. The plane must coincide with facets, like a layer interface.
| InvalidArgument | if no facet lies on the plane or direction is not ±1. |
|
static |
The whole domain boundary, normal out of the domain.
| std::vector<Facet> hpfem::physics::Surface< Dim >::facets |