ug4
|
Identifier for Local Finite Elements. More...
#include <local_finite_element_id.h>
Public Types | |
enum | { ADAPTIV = -1 , INVALID = -10 } |
special possibilities for order More... | |
enum | SpaceType { NONE = -1 , LAGRANGE = 0 , CROUZEIX_RAVIART , PIECEWISE_CONSTANT , DG , MINI , NEDELEC , USER_DEFINED , NUM_SPACE_TYPES } |
Space Type. More... | |
Public Member Functions | |
int | dim () const |
returns the space dimension of the local finite element More... | |
LFEID () | |
default constructor More... | |
LFEID (SpaceType type, int dim, int order) | |
constructor with values More... | |
bool | operator!= (const LFEID &v) const |
inequality check More... | |
bool | operator< (const LFEID &v) const |
operator < More... | |
bool | operator<= (const LFEID &v) const |
operator <= More... | |
bool | operator== (const LFEID &v) const |
equality check More... | |
bool | operator> (const LFEID &v) const |
operator > More... | |
bool | operator>= (const LFEID &v) const |
operator >= More... | |
int | order () const |
returns the order of the local finite element More... | |
SpaceType | type () const |
returns the type of the local finite element More... | |
Private Attributes | |
int | m_dim |
dimension More... | |
int | m_order |
Order. More... | |
SpaceType | m_type |
Space type. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &out, const LFEID &v) |
writes the Identifier to the output stream More... | |
Identifier for Local Finite Elements.
This Class is used to distinguish between different local finite elements (lfe). Each lfe has a unique Space Type (e.g. Lagrange, DG) and the order of trial functions. It the function space is p-adaptive, the enum ADAPTIVE is set as order.
enum ug::LFEID::SpaceType |
|
inline |
default constructor
|
inline |
constructor with values
|
inline |
returns the space dimension of the local finite element
References m_dim.
Referenced by ug::FunctionPattern::add(), ug::DirichletBoundary< TDomain, TAlgebra >::adjust_error(), ug::StdTransfer< TDomain, TAlgebra >::assemble_prolongation(), ug::StdTransfer< TDomain, TAlgebra >::assemble_restriction(), ug::ComputeOrientationOffsetGeneric(), ug::CrouzeixRaviartElemTransfer< TDomain >::do_restrict(), ug::PiecewiseConstantElemTransfer< TDomain >::perform_prolongation_on(), ug::P1LagrangeElemTransfer< TDomain >::perform_prolongation_on(), ug::StdLagrangeElemTransfer< TDomain >::perform_prolongation_on(), ug::CrouzeixRaviartElemTransfer< TDomain >::perform_prolongation_on(), ug::PiecewiseConstantElemTransfer< TDomain >::perform_restriction_on(), ug::StdLagrangeElemTransfer< TDomain >::perform_restriction_on(), ug::CrouzeixRaviartElemTransfer< TDomain >::perform_restriction_on(), and ug::CrouzeixRaviartElemTransfer< TDomain >::prolongate().
|
inline |
inequality check
|
inline |
|
inline |
operator <=
|
inline |
|
inline |
|
inline |
operator >=
|
inline |
returns the order of the local finite element
References m_order.
Referenced by ug::FunctionPattern::add(), ug::DirichletBoundary< TDomain, TAlgebra >::adjust_error(), ug::StdTransfer< TDomain, TAlgebra >::assemble_prolongation_p1(), ug::AssembleInjectionForP1Lagrange(), ug::ComputeOrientationOffsetGeneric(), ug::GetStandardElementProlongation(), ug::GetStandardElementRestriction(), ug::StdLagrangeElemTransfer< TDomain >::perform_prolongation_on(), ug::Prolongate(), ug::Restrict(), ug::FEGeometry< TElem, TWorldDim, TTrialSpace, TQuadratureRule >::update(), ug::DimFEGeometry< TWorldDim, TRefDim >::update(), ug::FEGeometry< TElem, TWorldDim, TTrialSpace, TQuadratureRule >::update_local(), ug::DimFEGeometry< TWorldDim, TRefDim >::update_local(), ug::DimFVGeometry< TWorldDim, TDim >::update_local(), and ug::FVGeometry< TOrder, TElem, TWorldDim, TQuadOrder >::update_local().
|
inline |
returns the type of the local finite element
References m_type.
Referenced by ug::FunctionPattern::add(), ug::DirichletBoundary< TDomain, TAlgebra >::adjust_error(), ug::StdTransfer< TDomain, TAlgebra >::assemble_prolongation(), ug::StdTransfer< TDomain, TAlgebra >::assemble_prolongation_p1(), ug::StdTransfer< TDomain, TAlgebra >::assemble_restriction(), ug::AssembleInjectionForP1Lagrange(), ug::ComputeOrientationOffsetGeneric(), ug::GetStandardElementProlongation(), ug::GetStandardElementRestriction(), ug::Prolongate(), ug::Restrict(), and ug::FVGeometry< TOrder, TElem, TWorldDim, TQuadOrder >::update_local().
|
friend |
writes the Identifier to the output stream
|
private |
dimension
Referenced by dim(), operator<(), operator==(), and operator>().
|
private |
Order.
Referenced by operator<(), operator==(), operator>(), and order().
|
private |
Space type.
Referenced by operator<(), operator==(), operator>(), and type().