FEAT 3
Finite Element Analysis Toolbox
Loading...
Searching...
No Matches
FEAT::Trafo::MappingBase< Mesh_ > Class Template Reference

Trafo-Mapping base class. More...

#include <mapping_base.hpp>

Inheritance diagram for FEAT::Trafo::MappingBase< Mesh_ >:
FEAT::Trafo::IsoSphere::Mapping< Mesh_ > FEAT::Trafo::Isoparam::Mapping< Mesh_, degree_ > FEAT::Trafo::Standard::Mapping< Mesh_ >

Classes

class  Evaluator
 Trafo evaluator class template. More...
 

Public Types

typedef Mesh_ MeshType
 mesh type More...
 
typedef MeshType::ShapeType ShapeType
 shape type More...
 

Public Member Functions

MeshTypeget_mesh ()
 Returns a reference to the underlying mesh. More...
 
const MeshTypeget_mesh () const
 Returns a reference to the underlying mesh. More...
 
bool operator== (const MappingBase &other) const
 Comparison operator. More...
 

Static Public Attributes

static constexpr int num_coeff = ...
 
static constexpr int num_coeff_facet = ...
 Number of coefficients of the reference transformation for faces. More...
 
static constexpr int world_dim = Mesh_::world_dim
 our image/world dimension More...
 

Protected Member Functions

 MappingBase (MeshType &mesh)
 Constructor. More...
 

Protected Attributes

MeshType_mesh
 mesh reference More...
 

Private Member Functions

 MappingBase (const MappingBase &)
 deleted copy-constructor
 
MappingBaseoperator= (const MappingBase &)
 deleted assignment-operator
 

Detailed Description

template<typename Mesh_>
class FEAT::Trafo::MappingBase< Mesh_ >

Trafo-Mapping base class.

This class acts as a base class for transformation mapping implementations.

Author
Peter Zajac

Definition at line 23 of file mapping_base.hpp.

Member Typedef Documentation

◆ MeshType

template<typename Mesh_ >
typedef Mesh_ FEAT::Trafo::MappingBase< Mesh_ >::MeshType

mesh type

Definition at line 27 of file mapping_base.hpp.

◆ ShapeType

template<typename Mesh_ >
typedef MeshType::ShapeType FEAT::Trafo::MappingBase< Mesh_ >::ShapeType

shape type

Definition at line 29 of file mapping_base.hpp.

Constructor & Destructor Documentation

◆ MappingBase()

template<typename Mesh_ >
FEAT::Trafo::MappingBase< Mesh_ >::MappingBase ( MeshType mesh)
inlineexplicitprotected

Constructor.

Parameters
[in]meshA resident reference to the mesh that this trafo mapping is to be defined on.
Note
This constructor is protected so that it can only be called from a derived class.

Definition at line 82 of file mapping_base.hpp.

Member Function Documentation

◆ get_mesh() [1/2]

template<typename Mesh_ >
MeshType & FEAT::Trafo::MappingBase< Mesh_ >::get_mesh ( )
inline

Returns a reference to the underlying mesh.

Returns
A (const) reference to the underlying mesh.

Definition at line 93 of file mapping_base.hpp.

References FEAT::Trafo::MappingBase< Mesh_ >::_mesh.

Referenced by FEAT::Trafo::Standard::Mapping< Mesh_ >::compute_vol().

◆ get_mesh() [2/2]

template<typename Mesh_ >
const MeshType & FEAT::Trafo::MappingBase< Mesh_ >::get_mesh ( ) const
inline

Returns a reference to the underlying mesh.

Returns
A (const) reference to the underlying mesh.

Definition at line 99 of file mapping_base.hpp.

References FEAT::Trafo::MappingBase< Mesh_ >::_mesh.

◆ operator==()

template<typename Mesh_ >
bool FEAT::Trafo::MappingBase< Mesh_ >::operator== ( const MappingBase< Mesh_ > &  other) const
inline

Comparison operator.

This operator checks whether two trafo mapping objects are equal.

Parameters
[in]otherThe other mapping object
Returns
true, if this this and other name the same object, otherwise false.

Definition at line 115 of file mapping_base.hpp.

Member Data Documentation

◆ _mesh

template<typename Mesh_ >
MeshType& FEAT::Trafo::MappingBase< Mesh_ >::_mesh
protected

mesh reference

Definition at line 72 of file mapping_base.hpp.

Referenced by FEAT::Trafo::MappingBase< Mesh_ >::get_mesh().

◆ num_coeff

template<typename Mesh_ >
constexpr int FEAT::Trafo::MappingBase< Mesh_ >::num_coeff = ...
staticconstexpr

Number of coefficients of the reference transformation for cells Since all transformations are finite element functions, this is just the local number of DoFs of the corresponding FE space (P1/Q1, P2/Q2, ...)

Definition at line 59 of file mapping_base.hpp.

◆ num_coeff_facet

template<typename Mesh_ >
constexpr int FEAT::Trafo::MappingBase< Mesh_ >::num_coeff_facet = ...
staticconstexpr

Number of coefficients of the reference transformation for faces.

Definition at line 61 of file mapping_base.hpp.

◆ world_dim

template<typename Mesh_ >
constexpr int FEAT::Trafo::MappingBase< Mesh_ >::world_dim = Mesh_::world_dim
staticconstexpr

our image/world dimension

Definition at line 31 of file mapping_base.hpp.


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