ug4
|
class to provide reference mappings More...
#include <reference_mapping_provider.h>
Static Public Member Functions | |
template<int TDim, int TWorldDim> | |
static DimReferenceMapping< TDim, TWorldDim > & | get (ReferenceObjectID roid) |
returns a reference to a DimReferenceMapping More... | |
template<int TDim, int TWorldDim> | |
static DimReferenceMapping< TDim, TWorldDim > & | get (ReferenceObjectID roid, const MathVector< TWorldDim > *vCornerCoord) |
returns a reference to a DimReferenceMapping with updated element corners More... | |
template<int TDim, int TWorldDim> | |
static DimReferenceMapping< TDim, TWorldDim > & | get (ReferenceObjectID roid, const std::vector< MathVector< TWorldDim > > &vCornerCoord) |
returns a reference to a DimReferenceMapping with updated element corners More... | |
Private Member Functions | |
template<int TDim, int TWorldDim> | |
DimReferenceMapping< TDim, TWorldDim > * | get_mapping (ReferenceObjectID roid) |
ReferenceMappingProvider & | operator= (const ReferenceMappingProvider &) |
ReferenceMappingProvider () | |
ReferenceMappingProvider (const ReferenceMappingProvider &) | |
template<int TDim, int TWorldDim> | |
void | set_mapping (ReferenceObjectID roid, DimReferenceMapping< TDim, TWorldDim > &map) |
~ReferenceMappingProvider () | |
Static Private Member Functions | |
static ReferenceMappingProvider & | inst () |
Private Attributes | |
void * | m_vvvMapping [4][4][NUM_REFERENCE_OBJECTS] |
class to provide reference mappings
This class provides references mappings. It is implemented as a Singleton.
|
private |
|
private |
|
inlineprivate |
|
inlinestatic |
returns a reference to a DimReferenceMapping
This class returns a reference mapping for a ReferenceObjectID. The reference dimension and the world dimension must be chosen as template arguments. An exception is throw if such an mapping does not exist.
[in] | roid | Reference Object ID |
TDim | reference element dimension |
TWorldDim | (physical) world dimension |
References get_mapping(), inst(), and UG_THROW.
Referenced by ug::SideAndElemErrEstData< TDomain >::get_elem_error_indicator(), ug::SideAndElemErrEstData< TDomain >::init_quadrature(), ug::IntegralNormalComponentOnManifoldGeneral(), ReferenceMappingProvider(), ug::SideAndElemErrEstData< TDomain >::side_global_ips(), and ug::DimFEGeometry< TWorldDim, TRefDim >::update_boundary_faces().
|
inlinestatic |
returns a reference to a DimReferenceMapping with updated element corners
This class returns a reference mapping for a ReferenceObjectID. The reference dimension and the world dimension must be chosen as template arguments. An exception is throw if such an mapping does not exist.
[in] | roid | Reference Object ID |
[in] | vCornerCoord | The corner coordinates of the element |
TDim | reference element dimension |
TWorldDim | (physical) world dimension |
References ug::DimReferenceMapping< TDim, TWorldDim >::update().
|
inlinestatic |
returns a reference to a DimReferenceMapping with updated element corners
This class returns a reference mapping for a ReferenceObjectID. The reference dimension and the world dimension must be chosen as template arguments. An exception is throw if such an mapping does not exist.
[in] | roid | Reference Object ID |
[in] | vCornerCoord | The corner coordinates of the element |
TDim | reference element dimension |
TWorldDim | (physical) world dimension |
References ug::DimReferenceMapping< TDim, TWorldDim >::update().
|
inlineprivate |
References m_vvvMapping, ug::NUM_REFERENCE_OBJECTS, UG_ASSERT, and UG_STATIC_ASSERT.
Referenced by get().
|
inlinestaticprivate |
Referenced by get().
|
private |
|
inlineprivate |
References m_vvvMapping.
|
private |
Referenced by get_mapping(), ReferenceMappingProvider(), and set_mapping().