ug4
|
Octahedra: dimension-independent part of the FV1 traits. More...
#include <fv_util.h>
Public Types | |
enum | { MAXDIM = 3 } |
enum | { MAXSUBSTRUCTOBJECTS = 8 } |
enum | { MAXSUBSTRUCTCORNERS = 4 } |
![]() | |
typedef ReferenceQuadrilateral | bf_type |
typedef ReferenceHexahedron | scv_type |
typedef ReferenceQuadrilateral | scvf_type |
Static Public Member Functions | |
static void | scv_mid_id (const ReferenceOctahedron &refElem, MidID *vMidID, size_t i) |
Calculates array vMidID for scv i. | |
static size_t | scv_node_id (const ReferenceOctahedron &refElem, size_t i) |
returns the node id for a scv (overridden function from fv1_traits_most_common) | |
static size_t | scvf_from_to (const ReferenceOctahedron &refElem, size_t i, size_t ft) |
returns the 'from' and 'to' corner indices for a scvf (overridden function from fv1_traits_most_common) | |
static void | scvf_mid_id (const ReferenceOctahedron &refElem, MidID *vMidID, size_t i) |
Calculates array vMidID for scvf i. | |
static int | substruct_coID (int dim_i, size_t i, size_t j) |
returns the id of corner j of obj i in dimension dim_i of the implicit interior substructure | |
static size_t | substruct_num (int dim) |
returns the number of implicit interior substructure geometric objects of dim | |
static size_t | substruct_num (int dim_i, size_t i, int dim_j) |
returns the number of objects of dim for a sub-geometric object of the implicit interior substructure | |
![]() | |
static void | NormalOnBF (MathVector< 3 > &outNormal, const MathVector< 3 > *vSCVFCorner, const MathVector< 3 > *vElemCorner) |
static void | NormalOnSCVF (MathVector< 3 > &outNormal, const MathVector< 3 > *vSCVFCorner, const MathVector< 3 > *vElemCorner) |
Static Public Attributes | |
static const size_t | numSCV = 16 |
overridden field from fv1_traits_most_common | |
static const size_t | numSCVF = 24 |
overridden field from fv1_traits_most_common | |
![]() | |
static const size_t | maxNSH = 8 |
static const size_t | maxNumSCV = 32 |
static const size_t | maxNumSCVF = 24 |
static const size_t | NumCornersOfBF = 4 |
static const size_t | NumCornersOfSCV = 8 |
static const size_t | NumCornersOfSCVF = 4 |
Octahedra: dimension-independent part of the FV1 traits.
|
inlinestatic |
Calculates array vMidID for scv i.
refElem | the reference element object |
vMidID | array vMidID for scvf i |
i | index of the scvf |
References UG_THROW.
Referenced by ug::ComputeSCVMidID().
|
inlinestatic |
returns the node id for a scv (overridden function from fv1_traits_most_common)
refElem | the reference element object |
i | index of the scv |
Referenced by ug::fv1_dim_traits_base< TDim, TWorldDim >::dim_scv_node_id().
|
inlinestatic |
returns the 'from' and 'to' corner indices for a scvf (overridden function from fv1_traits_most_common)
refElem | the reference element object |
i | index of the scvf |
ft | 0 = from, 1 = to |
Referenced by ug::fv1_dim_traits_base< TDim, TWorldDim >::get_dim_scvf_from_to().
|
inlinestatic |
Calculates array vMidID for scvf i.
refElem | the reference element object |
vMidID | array vMidID for scvf i |
i | index of the scvf |
References UG_THROW.
Referenced by ug::ComputeSCVFMidID().
|
inlinestatic |
returns the id of corner j of obj i in dimension dim_i of the implicit interior substructure
The octahedral reference element contains an implicit interior substructure that is constructed by several geometric objects, that are mapped by a reference element by themselves. This method returns the id (w.r.t. this reference element) of a sub-geometric object that is part of a sub-geometric object of the implicit interior substructure of this reference element.
[in] | dim_i | dimension of sub geometric object |
[in] | i | id of sub geometric object |
[in] | j | number of obj contained in the sub-object |
References ug::EDGE, ug::FACE, MAXDIM, MAXSUBSTRUCTCORNERS, MAXSUBSTRUCTOBJECTS, substruct_coID(), and ug::VOLUME.
Referenced by substruct_coID().
|
inlinestatic |
returns the number of implicit interior substructure geometric objects of dim
The octahedral reference element contains an implicit interior substructure that is constructed by several geometric objects, that are mapped by a reference element by themselves. This method returns how many (sub-)geometric objects of a given dimension are contained in the implicit interior substructure of this reference element.
[in] | dim | dimension |
References ug::EDGE, ug::FACE, MAXDIM, ug::VERTEX, and ug::VOLUME.
Referenced by substruct_num().
|
inlinestatic |
returns the number of objects of dim for a sub-geometric object of the implicit interior substructure
The octahedral reference element contains an implicit interior substructure that is constructed by several geometric objects, that are mapped by a reference element by themselves. This method returns how many (sub-)geometric objects of a given dimension are contained in the (sub-)geometric object of the implicit interior substructure of this reference element.
[in] | dim_i | dimension of sub geometric object |
[in] | i | number of sub geometric object |
[in] | dim_j | dimension for elems contained in the sub-object |
References ug::EDGE, ug::FACE, MAXDIM, MAXSUBSTRUCTOBJECTS, substruct_num(), ug::VERTEX, and ug::VOLUME.
|
static |
overridden field from fv1_traits_most_common
The octahedral reference element contains an implicit interior substructure that is constructed by several geometric objects, i.e. imaginary subfaces (8 triangles), subedges (2) and subvolumes (4 tetrahedra) resulting from the division into 4 subtetrahedra alongside inner edge 3->1. The dual fv1 geometry consists of the original hexahedral SCVs in each of the 4 subtetrahedra.
|
static |
overridden field from fv1_traits_most_common