ug4
ug::FV1Geometry_gen< TElem, TWorldDim, TCondensed >::SCVF Class Reference

Sub-Control Volume Face structure. More...

#include <fv1_geom.h>

Public Member Functions

number detJ () const
 Determinant of Jacobian in integration point. More...
 
size_t from () const
 index of SubControlVolume on one side of the scvf More...
 
const MathVector< worldDim > & global_corner (size_t co) const
 return global 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...
 
const numbershape_vector () const
 vector of shape functions in ip point More...
 
size_t to () const
 index of SubControlVolume on one side of the scvf More...
 

Static Public Attributes

static const size_t numCo = traits::NumCornersOfSCVF
 Number of corners of scvf. More...
 

Private Attributes

number detj
 
size_t From
 
MathVector< worldDimglobalIP
 
MathMatrix< worldDim, dimJtInv
 
MathVector< dimlocalIP
 
MathVector< worldDimNormal
 
size_t To
 
MathVector< worldDimvGlobalGrad [nsh]
 
MathVector< worldDimvGloPos [numCo]
 
MathVector< dimvLocalGrad [nsh]
 
MathVector< dimvLocPos [numCo]
 
MidID vMidID [numCo]
 
number vShape [nsh]
 

Friends

class FV1Geometry_gen< TElem, TWorldDim, TCondensed >
 

Detailed Description

template<typename TElem, int TWorldDim, bool TCondensed>
class ug::FV1Geometry_gen< TElem, TWorldDim, TCondensed >::SCVF

Sub-Control Volume Face structure.

Each finite element is cut by several sub-control volume faces. The idea is that the "dual" skeleton formed by the sub control volume faces of all elements again gives rise to a regular mesh with closed (lipschitz-bounded) control volumes. The SCVF are the boundary of the control volume. In computation the flux over each SCVF must be the same in both directions over the face in order to guarantee the conservation property.

Constructor & Destructor Documentation

◆ SCVF()

template<typename TElem , int TWorldDim, bool TCondensed>
ug::FV1Geometry_gen< TElem, TWorldDim, TCondensed >::SCVF::SCVF ( )
inline

Member Function Documentation

◆ detJ()

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

Determinant of Jacobian in integration point.

References ug::FV1Geometry_gen< TElem, TWorldDim, TCondensed >::SCVF::detj.

◆ from()

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

index of SubControlVolume on one side of the scvf

References ug::FV1Geometry_gen< TElem, TWorldDim, TCondensed >::SCVF::From.

◆ global_corner()

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

return global corner number i

◆ global_grad()

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

◆ global_grad_vector()

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

vector of global gradients in ip point

References ug::FV1Geometry_gen< TElem, TWorldDim, TCondensed >::SCVF::vGlobalGrad.

◆ global_ip()

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

global integration point of scvf

References ug::FV1Geometry_gen< TElem, TWorldDim, TCondensed >::SCVF::globalIP.

◆ JTInv()

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

Transposed Inverse of Jacobian in integration point.

References ug::FV1Geometry_gen< TElem, TWorldDim, TCondensed >::SCVF::JtInv.

◆ local_corner()

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

◆ local_grad()

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

◆ local_grad_vector()

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

vector of local gradients in ip point

References ug::FV1Geometry_gen< TElem, TWorldDim, TCondensed >::SCVF::vLocalGrad.

◆ local_ip()

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

local integration point of scvf

References ug::FV1Geometry_gen< TElem, TWorldDim, TCondensed >::SCVF::localIP.

◆ normal()

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

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

References ug::FV1Geometry_gen< TElem, TWorldDim, TCondensed >::SCVF::Normal.

◆ num_corners()

template<typename TElem , int TWorldDim, bool TCondensed>
size_t ug::FV1Geometry_gen< TElem, TWorldDim, TCondensed >::SCVF::num_corners ( ) const
inline

◆ num_ip()

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

number of integration points on scvf

References ug::FV1Geometry_gen< TElem, TWorldDim, TCondensed >::nip.

◆ num_sh()

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

◆ shape()

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

value of shape function i in integration point

References ug::FV1Geometry_gen< TElem, TWorldDim, TCondensed >::SCVF::vShape.

◆ shape_vector()

template<typename TElem , int TWorldDim, bool TCondensed>
const number* ug::FV1Geometry_gen< TElem, TWorldDim, TCondensed >::SCVF::shape_vector ( ) const
inline

vector of shape functions in ip point

References ug::FV1Geometry_gen< TElem, TWorldDim, TCondensed >::SCVF::vShape.

◆ to()

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

index of SubControlVolume on one side of the scvf

References ug::FV1Geometry_gen< TElem, TWorldDim, TCondensed >::SCVF::To.

Friends And Related Function Documentation

◆ FV1Geometry_gen< TElem, TWorldDim, TCondensed >

template<typename TElem , int TWorldDim, bool TCondensed>
friend class FV1Geometry_gen< TElem, TWorldDim, TCondensed >
friend

Member Data Documentation

◆ detj

template<typename TElem , int TWorldDim, bool TCondensed>
number ug::FV1Geometry_gen< TElem, TWorldDim, TCondensed >::SCVF::detj
private

◆ From

template<typename TElem , int TWorldDim, bool TCondensed>
size_t ug::FV1Geometry_gen< TElem, TWorldDim, TCondensed >::SCVF::From
private

◆ globalIP

template<typename TElem , int TWorldDim, bool TCondensed>
MathVector<worldDim> ug::FV1Geometry_gen< TElem, TWorldDim, TCondensed >::SCVF::globalIP
private

◆ JtInv

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

◆ localIP

template<typename TElem , int TWorldDim, bool TCondensed>
MathVector<dim> ug::FV1Geometry_gen< TElem, TWorldDim, TCondensed >::SCVF::localIP
private

◆ Normal

template<typename TElem , int TWorldDim, bool TCondensed>
MathVector<worldDim> ug::FV1Geometry_gen< TElem, TWorldDim, TCondensed >::SCVF::Normal
private

◆ numCo

template<typename TElem , int TWorldDim, bool TCondensed>
const size_t ug::FV1Geometry_gen< TElem, TWorldDim, TCondensed >::SCVF::numCo = traits::NumCornersOfSCVF
static

◆ To

template<typename TElem , int TWorldDim, bool TCondensed>
size_t ug::FV1Geometry_gen< TElem, TWorldDim, TCondensed >::SCVF::To
private

◆ vGlobalGrad

template<typename TElem , int TWorldDim, bool TCondensed>
MathVector<worldDim> ug::FV1Geometry_gen< TElem, TWorldDim, TCondensed >::SCVF::vGlobalGrad[nsh]
private

◆ vGloPos

template<typename TElem , int TWorldDim, bool TCondensed>
MathVector<worldDim> ug::FV1Geometry_gen< TElem, TWorldDim, TCondensed >::SCVF::vGloPos[numCo]
private

◆ vLocalGrad

template<typename TElem , int TWorldDim, bool TCondensed>
MathVector<dim> ug::FV1Geometry_gen< TElem, TWorldDim, TCondensed >::SCVF::vLocalGrad[nsh]
private

◆ vLocPos

template<typename TElem , int TWorldDim, bool TCondensed>
MathVector<dim> ug::FV1Geometry_gen< TElem, TWorldDim, TCondensed >::SCVF::vLocPos[numCo]
private

◆ vMidID

template<typename TElem , int TWorldDim, bool TCondensed>
MidID ug::FV1Geometry_gen< TElem, TWorldDim, TCondensed >::SCVF::vMidID[numCo]
private

◆ vShape

template<typename TElem , int TWorldDim, bool TCondensed>
number ug::FV1Geometry_gen< TElem, TWorldDim, TCondensed >::SCVF::vShape[nsh]
private

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