ug4
|
#include <reference_element.h>
Public Member Functions | |
int | dimension () const |
returns the dimension where reference element lives More... | |
ReferenceObjectID | reference_object_id () const |
ReferenceOctahedron () | |
Constructor. More... | |
number | size () const |
returns the size (e.g. area or volume) of the reference element More... | |
Public Member Functions inherited from ug::DimReferenceElement< 3 > | |
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 Member Functions | |
static void | check_position (const MathVector< dim > &pos) |
Static Public Attributes | |
static const int | dim = 3 |
dimension of reference element More... | |
static const int | numCorners = 6 |
number of corners More... | |
static const int | numEdges = 12 |
number of edges More... | |
static const int | numFaces = 8 |
number of faces More... | |
static const int | numSides = numFaces |
number of sides More... | |
static const int | numVolumes = 1 |
number of volumes More... | |
static const ReferenceObjectID | REFERENCE_OBJECT_ID = ROID_OCTAHEDRON |
type of reference element More... | |
Static Public Attributes inherited from ug::DimReferenceElement< 3 > | |
static const int | dim |
dimension, where the reference element is defined More... | |
Additional Inherited Members | |
Protected Types inherited from ug::DimReferenceElement< 3 > | |
enum | |
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 inherited from ug::DimReferenceElement< 3 > | |
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... | |
ug::ReferenceOctahedron::ReferenceOctahedron | ( | ) |
Constructor.
References dim, ug::ReferenceElement::EDGE, ug::ReferenceElement::FACE, ug::ReferenceElement::m_dim, ug::ReferenceElement::m_id, ug::ReferenceElement::m_size, ug::ReferenceElement::m_vNum, ug::ReferenceElement::m_vNumRefElem, ug::ReferenceElement::m_vRefElemType, ug::ReferenceElement::m_vSubNum, ug::ReferenceElement::MAXOBJECTS, ug::NUM_REFERENCE_OBJECTS, ug::ReferenceElement::POINT, ug::ROID_EDGE, ug::ROID_OCTAHEDRON, ug::ROID_TRIANGLE, ug::ROID_VERTEX, and ug::ReferenceElement::VOLUME.
|
inlinestatic |
|
inline |
returns the dimension where reference element lives
References dim.
|
inline |
References REFERENCE_OBJECT_ID.
|
inline |
returns the size (e.g. area or volume) of the reference element
|
static |
dimension of reference element
Referenced by dimension().
|
static |
number of corners
Referenced by ug::ReferenceMapping< ReferenceOctahedron, TWorldDim >::update().
|
static |
number of edges
|
static |
number of faces
|
static |
number of sides
|
static |
number of volumes
|
static |
type of reference element
Referenced by reference_object_id().