ug4
ug::ReferenceVertex Class Reference

#include <reference_element.h>

+ Inheritance diagram for ug::ReferenceVertex:

Public Member Functions

int dimension () const
 returns the dimension where reference element lives More...
 
ReferenceObjectID reference_object_id () const
 
 ReferenceVertex ()
 Constructor filling the arrays. More...
 
number size () const
 returns the size (e.g. area or volume) of the reference element More...
 
- Public Member Functions inherited from ug::DimReferenceElement< 0 >
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 = 0
 dimension of reference element More...
 
static const int numCorners = 1
 number of corners More...
 
static const int numEdges = 0
 number of eges More...
 
static const int numFaces = 0
 number of faces More...
 
static const int numSides = 0
 number of sides More...
 
static const int numVolumes = 0
 number of volumes More...
 
static const ReferenceObjectID REFERENCE_OBJECT_ID = ROID_VERTEX
 type of reference element More...
 
- Static Public Attributes inherited from ug::DimReferenceElement< 0 >
static const int dim
 dimension, where the reference element is defined More...
 

Additional Inherited Members

- Protected Types inherited from ug::DimReferenceElement< 0 >
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< 0 >
MathVector< dim, int > m_vCoInt [MAXCORNERS]
 
MathVector< dimm_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...
 

Constructor & Destructor Documentation

◆ ReferenceVertex()

Member Function Documentation

◆ dimension()

int ug::ReferenceVertex::dimension ( ) const
inline

returns the dimension where reference element lives

References dim.

◆ reference_object_id()

ReferenceObjectID ug::ReferenceVertex::reference_object_id ( ) const
inline

References REFERENCE_OBJECT_ID.

◆ size()

number ug::ReferenceVertex::size ( ) const
inline

returns the size (e.g. area or volume) of the reference element

Member Data Documentation

◆ dim

const int ug::ReferenceVertex::dim = 0
static

dimension of reference element

Referenced by dimension().

◆ numCorners

const int ug::ReferenceVertex::numCorners = 1
static

number of corners

◆ numEdges

const int ug::ReferenceVertex::numEdges = 0
static

number of eges

◆ numFaces

const int ug::ReferenceVertex::numFaces = 0
static

number of faces

◆ numSides

const int ug::ReferenceVertex::numSides = 0
static

number of sides

◆ numVolumes

const int ug::ReferenceVertex::numVolumes = 0
static

number of volumes

◆ REFERENCE_OBJECT_ID

const ReferenceObjectID ug::ReferenceVertex::REFERENCE_OBJECT_ID = ROID_VERTEX
static

type of reference element

Referenced by reference_object_id().


The documentation for this class was generated from the following files: