ug4
|
dimension dependent base class for reference elements More...
#include <reference_element.h>
Public Member Functions | |
const MathVector< dim, int > * | corner () const |
coordinates of reference corner as integer More... | |
const MathVector< dim > & | corner (size_t i) const |
coordinates of reference corner (i = 0 ... num(0)) More... | |
const MathVector< dim > * | corners () const |
coordinates of reference corner in a vector More... | |
void | print_info () const |
print informations about the reference element More... | |
Public Member Functions inherited from ug::ReferenceElement | |
int | dimension () const |
returns the dimension where reference element lives More... | |
int | id (int dim_i, size_t i, int dim_j, size_t j) const |
id of object j in dimension dim_j of obj i in dimension dim_i More... | |
size_t | num (int dim) const |
returns the number of geometric objects of dim More... | |
size_t | num (int dim_i, size_t i, int dim_j) const |
returns the number of object of dim for a sub-geometric object More... | |
size_t | num (ReferenceObjectID type) const |
number of reference elements this element contains More... | |
void | print_info () const |
print informations about the reference element More... | |
ReferenceElement () | |
Constructor filling the arrays. More... | |
ReferenceObjectID | roid () const |
returns the reference object id More... | |
ReferenceObjectID | roid (int dim_i, size_t i) const |
reference element type of obj nr i in dimension dim_i More... | |
number | size () const |
returns the size (e.g. area or volume) of the reference element More... | |
Static Public Attributes | |
static const int | dim = d |
dimension, where the reference element is defined More... | |
Protected Types | |
enum | { MAXCORNERS = 8 } |
maximum number of corners for fixed reference elements More... | |
Protected Types inherited from ug::ReferenceElement | |
enum | { POINT = 0 , EDGE = 1 , FACE = 2 , VOLUME = 3 } |
to make it more readable More... | |
enum | { MAXOBJECTS = 12 } |
maximum number of Objects in all dimensions More... | |
enum | { MAXDIM = 3 } |
maximum dimension More... | |
Protected Attributes | |
MathVector< dim, int > | m_vCoInt [MAXCORNERS] |
MathVector< dim > | m_vCorner [MAXCORNERS] |
coordinates of Reference Corner More... | |
Protected Attributes inherited from ug::ReferenceElement | |
int | m_dim |
dimension of the reference world More... | |
int | m_id [MAXDIM+1][MAXOBJECTS][MAXDIM+1][MAXOBJECTS] |
indices of GeomObjects More... | |
number | m_size |
size of reference element More... | |
size_t | m_vNum [MAXDIM+1] |
number of Geometric Objects of a dimension More... | |
size_t | m_vNumRefElem [NUM_REFERENCE_OBJECTS] |
number of reference elements More... | |
ReferenceObjectID | m_vRefElemType [MAXDIM+1][MAXOBJECTS] |
type of reference elements More... | |
size_t | m_vSubNum [MAXDIM+1][MAXOBJECTS][MAXDIM+1] |
number of Geometric Objects contained in a (Sub-)Geometric Object of the Element More... | |
dimension dependent base class for reference elements
This is the base class for reference elements with their dimension. It simply adds to the ReferenceElement base class the corner position of the reference element vertices in local coordinates.
d | dimension, where reference element lives |
|
protected |
|
inline |
coordinates of reference corner as integer
References ug::DimReferenceElement< d >::m_vCoInt.
|
inline |
coordinates of reference corner (i = 0 ... num(0))
References ug::DimReferenceElement< d >::m_vCorner.
Referenced by ug::SCVFofSCVRayIntersectionWrapper< 2, 2 >::apply(), ug::SideAndElemErrEstData< TDomain >::init_quadrature(), ug::IntegralNormalComponentOnManifoldGeneral(), ug::MiniBubbleLSFS< ReferenceHexahedron >::position(), ug::SubLocalDoFSet< TDim >::SubLocalDoFSet(), ug::DimFEGeometry< TWorldDim, TRefDim >::update_boundary_faces(), ug::DimFV1Geometry< TDim, TWorldDim >::update_local(), and ug::DimFV1IBGeometry< TDim, TWorldDim >::update_local_data().
|
inline |
coordinates of reference corner in a vector
References ug::DimReferenceElement< d >::m_vCorner.
Referenced by ug::bridge::Evaluate::VectorValuedUserDataEvaluator< TDomain, TAlgebra >::evaluateOnThisProcessNeighbouring().
void ug::DimReferenceElement< d >::print_info |
print informations about the reference element
References ug::ReferenceElement::num(), and ug::ReferenceElement::print_info().
|
static |
dimension, where the reference element is defined
|
protected |
Referenced by ug::DimReferenceElement< d >::corner().
|
protected |
coordinates of Reference Corner
Referenced by ug::DimReferenceElement< d >::corner(), and ug::DimReferenceElement< d >::corners().