hp-FEM
Adaptive hp-FEM suite for nano-optics
Loading...
Searching...
No Matches
Public Member Functions | List of all members
hpfem::mesh::AffineGeometry< Dim > Class Template Referencefinal

Affine cell: constant Jacobian data from AffineMap. More...

#include <geometry.hpp>

Inheritance diagram for hpfem::mesh::AffineGeometry< Dim >:
Inheritance graph
[legend]
Collaboration diagram for hpfem::mesh::AffineGeometry< Dim >:
Collaboration graph
[legend]

Public Member Functions

 AffineGeometry (AffineMap< Dim > map)
 
int order () const noexcept override
 Polynomial order of the map: 1 (affine) or 2.
 
GeometryPoint< Dim > evaluate (const Point< Dim > &xi) const override
 \( x(\xi), J(\xi), J^{-T}(\xi), \det J(\xi) \) at a reference point.
 
Point< Dim > to_reference (const Point< Dim > &x) const override
 
Real h () const noexcept override
 Cell diameter: longest straight edge [m].
 
const AffineMap< Dim > & map () const noexcept
 
- Public Member Functions inherited from hpfem::mesh::CellGeometry< Dim >
 CellGeometry ()=default
 
 CellGeometry (const CellGeometry &)=delete
 
CellGeometry & operator= (const CellGeometry &)=delete
 
 CellGeometry (CellGeometry &&)=delete
 
CellGeometry & operator= (CellGeometry &&)=delete
 
virtual ~CellGeometry ()=default
 
bool is_affine () const noexcept
 

Detailed Description

template<int Dim>
class hpfem::mesh::AffineGeometry< Dim >

Affine cell: constant Jacobian data from AffineMap.

Constructor & Destructor Documentation

◆ AffineGeometry()

template<int Dim>
hpfem::mesh::AffineGeometry< Dim >::AffineGeometry ( AffineMap< Dim >  map)
inlineexplicit

Member Function Documentation

◆ evaluate()

template<int Dim>
GeometryPoint< Dim > hpfem::mesh::AffineGeometry< Dim >::evaluate ( const Point< Dim > &  xi) const
overridevirtual

\( x(\xi), J(\xi), J^{-T}(\xi), \det J(\xi) \) at a reference point.

Implements hpfem::mesh::CellGeometry< Dim >.

◆ h()

template<int Dim>
Real hpfem::mesh::AffineGeometry< Dim >::h ( ) const
inlineoverridevirtualnoexcept

Cell diameter: longest straight edge [m].

Implements hpfem::mesh::CellGeometry< Dim >.

◆ map()

template<int Dim>
const AffineMap< Dim > & hpfem::mesh::AffineGeometry< Dim >::map ( ) const
inlinenoexcept

◆ order()

template<int Dim>
int hpfem::mesh::AffineGeometry< Dim >::order ( ) const
inlineoverridevirtualnoexcept

Polynomial order of the map: 1 (affine) or 2.

Implements hpfem::mesh::CellGeometry< Dim >.

◆ to_reference()

template<int Dim>
Point< Dim > hpfem::mesh::AffineGeometry< Dim >::to_reference ( const Point< Dim > &  x) const
inlineoverridevirtual

Reference coordinates of a physical point (Newton iteration for curved cells).

Exceptions
Errorif the iteration does not converge (point far outside the cell).

Implements hpfem::mesh::CellGeometry< Dim >.


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