ug4
|
Provider for Reference Elements. More...
#include <reference_element.h>
Static Public Member Functions | |
template<int dim> | |
static const DimReferenceElement< dim > & | get (ReferenceObjectID roid) |
returns a dimension dependent Reference Element More... | |
static const ReferenceElement & | get (ReferenceObjectID roid) |
returns a Reference Element More... | |
Private Member Functions | |
ReferenceElementProvider & | operator= (const ReferenceElementProvider &) |
ReferenceElementProvider () | |
constructor More... | |
ReferenceElementProvider (const ReferenceElementProvider &) | |
Static Private Member Functions | |
template<int dim> | |
static bool | add_dim_elem (const DimReferenceElement< dim > &elem) |
adds a Reference Element More... | |
static bool | add_elem (const ReferenceElement &elem) |
adds a Reference Element More... | |
template<int dim> | |
static const DimReferenceElement< dim > & | get_dim_elem (ReferenceObjectID roid) |
returns a Reference Element More... | |
static const ReferenceElement & | get_elem (ReferenceObjectID roid) |
returns a Reference Element More... | |
template<int dim> | |
static const DimReferenceElement< dim > ** | get_vector () |
returns vector of DimReferenceElement More... | |
static ReferenceElementProvider & | instance () |
provide instance of singleton More... | |
Static Private Attributes | |
static const ReferenceElement * | m_vElem [NUM_REFERENCE_OBJECTS] |
vector storing all ReferenceElement More... | |
Provider for Reference Elements.
|
private |
constructor
References UG_THROW.
|
inlineprivate |
|
staticprivate |
adds a Reference Element
References ug::NUM_REFERENCE_OBJECTS, ug::ReferenceElement::roid(), and UG_ASSERT.
|
staticprivate |
adds a Reference Element
References ug::NUM_REFERENCE_OBJECTS, ug::ReferenceElement::roid(), and UG_ASSERT.
|
inlinestatic |
returns a dimension dependent Reference Element
References dim, get_dim_elem(), and instance().
Referenced by ug::CommonLocalDoFSet::add(), ug::ObstacleInNormalDir< TDomain, TAlgebra >::adjust_sol_and_cor_elem(), ug::LocalFiniteElementProvider::create_sub_dof_set(), ug::SideAndElemErrEstData< TDomain >::init_quadrature(), ug::LocalDoFSet::num_dof(), and ug::SideNormal().
|
inlinestatic |
returns a Reference Element
References get_elem(), and instance().
|
inlinestaticprivate |
returns a Reference Element
References ug::NUM_REFERENCE_OBJECTS, and UG_ASSERT.
Referenced by get().
|
staticprivate |
returns a Reference Element
References ug::NUM_REFERENCE_OBJECTS, ug::ReferenceElement::roid(), and UG_ASSERT.
Referenced by get().
|
inlinestaticprivate |
returns vector of DimReferenceElement
References ug::NUM_REFERENCE_OBJECTS.
|
inlinestaticprivate |
provide instance of singleton
Referenced by get().
|
private |
|
staticprivate |
vector storing all ReferenceElement