ug4
ug::HFV1Geometry< TElem, TWorldDim >::SCVF Class Reference

#include <hfv1_geom.h>

Public Member Functions

number detJ () const
 Determinante of Jacobian in integration point. More...
 
size_t from () const
 
const MathVector< worldDim > & global_corner (size_t co) const
 return glbal corner number i More...
 
const MathVector< worldDim > & global_grad (size_t sh) const
 value of global gradient of shape function i in integration point More...
 
const MathVector< worldDim > * global_grad_vector () const
 vector of global gradients in ip point More...
 
const MathVector< worldDim > & global_ip () const
 global integration point of scvf More...
 
const MathMatrix< worldDim, dim > & JTInv () const
 Transposed Inverse of Jacobian in integration point. More...
 
const MathVector< dim > & local_corner (size_t co) const
 return local corner number i More...
 
const MathVector< dim > & local_grad (size_t sh) const
 value of local gradient of shape function i in integration point More...
 
const MathVector< dim > * local_grad_vector () const
 vector of local gradients in ip point More...
 
const MathVector< dim > & local_ip () const
 local integration point of scvf More...
 
const MathVector< worldDim > & normal () const
 normal on scvf (points direction "from"->"to"). Norm is equal to area More...
 
size_t num_corners () const
 number of corners, that bound the scvf More...
 
size_t num_ip () const
 number of integration points on scvf More...
 
size_t num_sh () const
 number of shape functions More...
 
 SCVF ()
 
number shape (size_t sh) const
 value of shape function i in integration point More...
 
size_t to () const
 

Static Public Attributes

static const int dim = ref_elem_type::dim
 dimension of reference element More...
 
static const int worldDim = TWorldDim
 dimension of world More...
 

Private Attributes

number detj
 
std::vector< MathVector< worldDim > > globalGrad
 
MathVector< worldDimglobalIP
 
MathMatrix< worldDim, dimJtInv
 
std::vector< MathVector< dim > > localGrad
 
MathVector< dimlocalIP
 
size_t m_from
 
MidID m_midId [m_numCorners]
 
size_t m_to
 
MathVector< worldDimm_vGloPos [m_numCorners]
 
MathVector< dimm_vLocPos [m_numCorners]
 
MathVector< worldDimNormal
 
std::vector< numbervShape
 

Static Private Attributes

static const size_t m_numCorners = hfv1_traits<ref_elem_type, TWorldDim>::NumCornersOfSCVF
 Number of corners of scvf. More...
 
static const size_t m_numIP = 1
 number of integration points More...
 

Friends

class HFV1Geometry< TElem, TWorldDim >
 let outer class access private members More...
 

Constructor & Destructor Documentation

◆ SCVF()

template<typename TElem , int TWorldDim>
ug::HFV1Geometry< TElem, TWorldDim >::SCVF::SCVF ( )
inline

Member Function Documentation

◆ detJ()

template<typename TElem , int TWorldDim>
number ug::HFV1Geometry< TElem, TWorldDim >::SCVF::detJ ( ) const
inline

Determinante of Jacobian in integration point.

References ug::HFV1Geometry< TElem, TWorldDim >::SCVF::detj.

◆ from()

template<typename TElem , int TWorldDim>
size_t ug::HFV1Geometry< TElem, TWorldDim >::SCVF::from ( ) const
inline

index of SubControlVolume on one side of the scvf NO! return value is the associated NODE_ID; this is not the same!

References ug::HFV1Geometry< TElem, TWorldDim >::SCVF::m_from.

◆ global_corner()

template<typename TElem , int TWorldDim>
const MathVector<worldDim>& ug::HFV1Geometry< TElem, TWorldDim >::SCVF::global_corner ( size_t  co) const
inline

◆ global_grad()

template<typename TElem , int TWorldDim>
const MathVector<worldDim>& ug::HFV1Geometry< TElem, TWorldDim >::SCVF::global_grad ( size_t  sh) const
inline

value of global gradient of shape function i in integration point

References ug::HFV1Geometry< TElem, TWorldDim >::SCVF::globalGrad, ug::HFV1Geometry< TElem, TWorldDim >::SCVF::num_sh(), and UG_ASSERT.

◆ global_grad_vector()

template<typename TElem , int TWorldDim>
const MathVector<worldDim>* ug::HFV1Geometry< TElem, TWorldDim >::SCVF::global_grad_vector ( ) const
inline

vector of global gradients in ip point

References ug::HFV1Geometry< TElem, TWorldDim >::SCVF::globalGrad.

◆ global_ip()

template<typename TElem , int TWorldDim>
const MathVector<worldDim>& ug::HFV1Geometry< TElem, TWorldDim >::SCVF::global_ip ( ) const
inline

◆ JTInv()

template<typename TElem , int TWorldDim>
const MathMatrix<worldDim,dim>& ug::HFV1Geometry< TElem, TWorldDim >::SCVF::JTInv ( ) const
inline

Transposed Inverse of Jacobian in integration point.

References ug::HFV1Geometry< TElem, TWorldDim >::SCVF::JtInv.

◆ local_corner()

template<typename TElem , int TWorldDim>
const MathVector<dim>& ug::HFV1Geometry< TElem, TWorldDim >::SCVF::local_corner ( size_t  co) const
inline

◆ local_grad()

template<typename TElem , int TWorldDim>
const MathVector<dim>& ug::HFV1Geometry< TElem, TWorldDim >::SCVF::local_grad ( size_t  sh) const
inline

value of local gradient of shape function i in integration point

References ug::HFV1Geometry< TElem, TWorldDim >::SCVF::localGrad, ug::HFV1Geometry< TElem, TWorldDim >::SCVF::num_sh(), and UG_ASSERT.

◆ local_grad_vector()

template<typename TElem , int TWorldDim>
const MathVector<dim>* ug::HFV1Geometry< TElem, TWorldDim >::SCVF::local_grad_vector ( ) const
inline

vector of local gradients in ip point

References ug::HFV1Geometry< TElem, TWorldDim >::SCVF::localGrad.

◆ local_ip()

template<typename TElem , int TWorldDim>
const MathVector<dim>& ug::HFV1Geometry< TElem, TWorldDim >::SCVF::local_ip ( ) const
inline

◆ normal()

template<typename TElem , int TWorldDim>
const MathVector<worldDim>& ug::HFV1Geometry< TElem, TWorldDim >::SCVF::normal ( ) const
inline

normal on scvf (points direction "from"->"to"). Norm is equal to area

References ug::HFV1Geometry< TElem, TWorldDim >::SCVF::Normal.

◆ num_corners()

◆ num_ip()

template<typename TElem , int TWorldDim>
size_t ug::HFV1Geometry< TElem, TWorldDim >::SCVF::num_ip ( ) const
inline

number of integration points on scvf

References ug::HFV1Geometry< TElem, TWorldDim >::SCVF::m_numIP.

◆ num_sh()

template<typename TElem , int TWorldDim>
size_t ug::HFV1Geometry< TElem, TWorldDim >::SCVF::num_sh ( ) const
inline

◆ shape()

template<typename TElem , int TWorldDim>
number ug::HFV1Geometry< TElem, TWorldDim >::SCVF::shape ( size_t  sh) const
inline

◆ to()

template<typename TElem , int TWorldDim>
size_t ug::HFV1Geometry< TElem, TWorldDim >::SCVF::to ( ) const
inline

index of SubControlVolume on one side of the scvf NO! return value is the associated NODE_ID; this is not the same!

References ug::HFV1Geometry< TElem, TWorldDim >::SCVF::m_to.

Friends And Related Function Documentation

◆ HFV1Geometry< TElem, TWorldDim >

template<typename TElem , int TWorldDim>
friend class HFV1Geometry< TElem, TWorldDim >
friend

let outer class access private members

Member Data Documentation

◆ detj

template<typename TElem , int TWorldDim>
number ug::HFV1Geometry< TElem, TWorldDim >::SCVF::detj
private

◆ dim

template<typename TElem , int TWorldDim>
const int ug::HFV1Geometry< TElem, TWorldDim >::SCVF::dim = ref_elem_type::dim
static

dimension of reference element

◆ globalGrad

template<typename TElem , int TWorldDim>
std::vector<MathVector<worldDim> > ug::HFV1Geometry< TElem, TWorldDim >::SCVF::globalGrad
private

◆ globalIP

template<typename TElem , int TWorldDim>
MathVector<worldDim> ug::HFV1Geometry< TElem, TWorldDim >::SCVF::globalIP
private

◆ JtInv

template<typename TElem , int TWorldDim>
MathMatrix<worldDim,dim> ug::HFV1Geometry< TElem, TWorldDim >::SCVF::JtInv
private

◆ localGrad

template<typename TElem , int TWorldDim>
std::vector<MathVector<dim> > ug::HFV1Geometry< TElem, TWorldDim >::SCVF::localGrad
private

◆ localIP

template<typename TElem , int TWorldDim>
MathVector<dim> ug::HFV1Geometry< TElem, TWorldDim >::SCVF::localIP
private

◆ m_from

template<typename TElem , int TWorldDim>
size_t ug::HFV1Geometry< TElem, TWorldDim >::SCVF::m_from
private

◆ m_midId

template<typename TElem , int TWorldDim>
MidID ug::HFV1Geometry< TElem, TWorldDim >::SCVF::m_midId[m_numCorners]
private

◆ m_numCorners

template<typename TElem , int TWorldDim>
const size_t ug::HFV1Geometry< TElem, TWorldDim >::SCVF::m_numCorners = hfv1_traits<ref_elem_type, TWorldDim>::NumCornersOfSCVF
staticprivate

Number of corners of scvf.

Referenced by ug::HFV1Geometry< TElem, TWorldDim >::SCVF::num_corners().

◆ m_numIP

template<typename TElem , int TWorldDim>
const size_t ug::HFV1Geometry< TElem, TWorldDim >::SCVF::m_numIP = 1
staticprivate

number of integration points

Referenced by ug::HFV1Geometry< TElem, TWorldDim >::SCVF::num_ip().

◆ m_to

template<typename TElem , int TWorldDim>
size_t ug::HFV1Geometry< TElem, TWorldDim >::SCVF::m_to
private

◆ m_vGloPos

template<typename TElem , int TWorldDim>
MathVector<worldDim> ug::HFV1Geometry< TElem, TWorldDim >::SCVF::m_vGloPos[m_numCorners]
private

◆ m_vLocPos

template<typename TElem , int TWorldDim>
MathVector<dim> ug::HFV1Geometry< TElem, TWorldDim >::SCVF::m_vLocPos[m_numCorners]
private

◆ Normal

template<typename TElem , int TWorldDim>
MathVector<worldDim> ug::HFV1Geometry< TElem, TWorldDim >::SCVF::Normal
private

◆ vShape

template<typename TElem , int TWorldDim>
std::vector<number> ug::HFV1Geometry< TElem, TWorldDim >::SCVF::vShape
private

◆ worldDim

template<typename TElem , int TWorldDim>
const int ug::HFV1Geometry< TElem, TWorldDim >::SCVF::worldDim = TWorldDim
static

dimension of world


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