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

#include <field_sampling.hpp>

Public Attributes

std::vector< Point< Dim > > points
 
std::vector< std::array< Index, static_cast< std::size_t >(Dim+1)> > simplices
 
Eigen::Matrix< Complex, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > values
 
std::vector< Index > cell
 
std::vector< mesh::Tag > tag
 

Detailed Description

template<int Dim>
struct hpfem::physics::TriangulatedField< Dim >

The field on the n-fold subdivided mesh (mesh::subdivide): sub-vertices with their physical position (curved cells included), the sub-simplices by vertex index, the values per sub-vertex (one row each, components as in SampledField), and the parent cell and its tag per sub-simplex. Sub-vertices are not shared between parent cells, so discontinuities of the field across facets are preserved.

Member Data Documentation

◆ cell

template<int Dim>
std::vector<Index> hpfem::physics::TriangulatedField< Dim >::cell

◆ points

template<int Dim>
std::vector<Point<Dim> > hpfem::physics::TriangulatedField< Dim >::points

◆ simplices

template<int Dim>
std::vector<std::array<Index, static_cast<std::size_t>(Dim + 1)> > hpfem::physics::TriangulatedField< Dim >::simplices

◆ tag

template<int Dim>
std::vector<mesh::Tag> hpfem::physics::TriangulatedField< Dim >::tag

◆ values

template<int Dim>
Eigen::Matrix<Complex, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor> hpfem::physics::TriangulatedField< Dim >::values

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