ug4
ug::DimFVGeometry< TWorldDim, TDim >::SCVF Class Reference

Sub-Control Volume Face structure. More...

#include <fvho_geom.h>

Public Member Functions

number detJ (size_t ip) 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 glbal corner number i More...
 
const MathVector< worldDim > & global_grad (size_t ip, size_t sh) const
 value of global gradient of shape function i in integration point More...
 
const MathVector< worldDim > * global_grad_vector (size_t ip) const
 vector of gloabl gradients in ip point More...
 
const MathVector< worldDim > & global_ip (size_t ip) const
 global integration point of scvf More...
 
const MathMatrix< worldDim, dim > & JTInv (size_t ip) 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 ip, size_t sh) const
 value of local gradient of shape function i in integration point More...
 
const MathVector< dim > * local_grad_vector (size_t ip) const
 vector of local gradients in ip point More...
 
const MathVector< dim > & local_ip (size_t ip) const
 local integration point of scvf More...
 
const MathVector< worldDim > & normal () const
 normal on scvf (points direction "from"->"to"), normalized 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 ip, size_t sh) const
 value of shape function i in integration point More...
 
const numbershape_vector (size_t ip) const
 vector of shape functions in ip point More...
 
size_t to () const
 index of SubControlVolume on one side of the scvf More...
 
number weight (size_t ip) const
 integration weight More...
 

Static Public Attributes

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

Private Attributes

size_t From
 
size_t nip
 
MathVector< worldDimNormal
 
size_t nsh
 
size_t To
 
std::vector< numbervDetJ
 
std::vector< numbervDetJMap
 
std::vector< MathVector< worldDim > > vGlobalIP
 
MathVector< worldDimvGloPos [numCo]
 
std::vector< MathMatrix< worldDim, dim > > vJtInv
 
std::vector< MathVector< dim > > vLocalIP
 
MathVector< dimvLocPos [numCo]
 
MidID vMidID [numCo]
 
std::vector< std::vector< MathVector< worldDim > > > vvGlobalGrad
 
std::vector< std::vector< MathVector< dim > > > vvLocalGrad
 
std::vector< std::vector< number > > vvShape
 
const numbervWeight
 

Friends

class DimFVGeometry< worldDim, dim >
 

Detailed Description

template<int TWorldDim, int TDim = TWorldDim>
class ug::DimFVGeometry< TWorldDim, TDim >::SCVF

Sub-Control Volume Face structure.

Constructor & Destructor Documentation

◆ SCVF()

template<int TWorldDim, int TDim = TWorldDim>
ug::DimFVGeometry< TWorldDim, TDim >::SCVF::SCVF ( )
inline

Member Function Documentation

◆ detJ()

template<int TWorldDim, int TDim = TWorldDim>
number ug::DimFVGeometry< TWorldDim, TDim >::SCVF::detJ ( size_t  ip) const
inline

◆ from()

template<int TWorldDim, int TDim = TWorldDim>
size_t ug::DimFVGeometry< TWorldDim, TDim >::SCVF::from ( ) const
inline

index of SubControlVolume on one side of the scvf

References ug::DimFVGeometry< TWorldDim, TDim >::SCVF::From.

◆ global_corner()

template<int TWorldDim, int TDim = TWorldDim>
const MathVector<worldDim>& ug::DimFVGeometry< TWorldDim, TDim >::SCVF::global_corner ( size_t  co) const
inline

return glbal corner number i

◆ global_grad()

template<int TWorldDim, int TDim = TWorldDim>
const MathVector<worldDim>& ug::DimFVGeometry< TWorldDim, TDim >::SCVF::global_grad ( size_t  ip,
size_t  sh 
) const
inline

◆ global_grad_vector()

template<int TWorldDim, int TDim = TWorldDim>
const MathVector<worldDim>* ug::DimFVGeometry< TWorldDim, TDim >::SCVF::global_grad_vector ( size_t  ip) const
inline

◆ global_ip()

template<int TWorldDim, int TDim = TWorldDim>
const MathVector<worldDim>& ug::DimFVGeometry< TWorldDim, TDim >::SCVF::global_ip ( size_t  ip) const
inline

◆ JTInv()

template<int TWorldDim, int TDim = TWorldDim>
const MathMatrix<worldDim,dim>& ug::DimFVGeometry< TWorldDim, TDim >::SCVF::JTInv ( size_t  ip) const
inline

Transposed Inverse of Jacobian in integration point.

References ug::DimFVGeometry< TWorldDim, TDim >::SCVF::num_ip(), UG_ASSERT, and ug::DimFVGeometry< TWorldDim, TDim >::SCVF::vJtInv.

◆ local_corner()

template<int TWorldDim, int TDim = TWorldDim>
const MathVector<dim>& ug::DimFVGeometry< TWorldDim, TDim >::SCVF::local_corner ( size_t  co) const
inline

◆ local_grad()

template<int TWorldDim, int TDim = TWorldDim>
const MathVector<dim>& ug::DimFVGeometry< TWorldDim, TDim >::SCVF::local_grad ( size_t  ip,
size_t  sh 
) const
inline

◆ local_grad_vector()

template<int TWorldDim, int TDim = TWorldDim>
const MathVector<dim>* ug::DimFVGeometry< TWorldDim, TDim >::SCVF::local_grad_vector ( size_t  ip) const
inline

◆ local_ip()

template<int TWorldDim, int TDim = TWorldDim>
const MathVector<dim>& ug::DimFVGeometry< TWorldDim, TDim >::SCVF::local_ip ( size_t  ip) const
inline

◆ normal()

template<int TWorldDim, int TDim = TWorldDim>
const MathVector<worldDim>& ug::DimFVGeometry< TWorldDim, TDim >::SCVF::normal ( ) const
inline

normal on scvf (points direction "from"->"to"), normalized

References ug::DimFVGeometry< TWorldDim, TDim >::SCVF::Normal.

◆ num_corners()

template<int TWorldDim, int TDim = TWorldDim>
size_t ug::DimFVGeometry< TWorldDim, TDim >::SCVF::num_corners ( ) const
inline

◆ num_ip()

◆ num_sh()

template<int TWorldDim, int TDim = TWorldDim>
size_t ug::DimFVGeometry< TWorldDim, TDim >::SCVF::num_sh ( ) const
inline

◆ shape()

template<int TWorldDim, int TDim = TWorldDim>
number ug::DimFVGeometry< TWorldDim, TDim >::SCVF::shape ( size_t  ip,
size_t  sh 
) const
inline

◆ shape_vector()

template<int TWorldDim, int TDim = TWorldDim>
const number* ug::DimFVGeometry< TWorldDim, TDim >::SCVF::shape_vector ( size_t  ip) const
inline

◆ to()

template<int TWorldDim, int TDim = TWorldDim>
size_t ug::DimFVGeometry< TWorldDim, TDim >::SCVF::to ( ) const
inline

index of SubControlVolume on one side of the scvf

References ug::DimFVGeometry< TWorldDim, TDim >::SCVF::To.

◆ weight()

template<int TWorldDim, int TDim = TWorldDim>
number ug::DimFVGeometry< TWorldDim, TDim >::SCVF::weight ( size_t  ip) const
inline

Friends And Related Function Documentation

◆ DimFVGeometry< worldDim, dim >

template<int TWorldDim, int TDim = TWorldDim>
friend class DimFVGeometry< worldDim, dim >
friend

Member Data Documentation

◆ From

template<int TWorldDim, int TDim = TWorldDim>
size_t ug::DimFVGeometry< TWorldDim, TDim >::SCVF::From
private

◆ nip

template<int TWorldDim, int TDim = TWorldDim>
size_t ug::DimFVGeometry< TWorldDim, TDim >::SCVF::nip
private

◆ Normal

template<int TWorldDim, int TDim = TWorldDim>
MathVector<worldDim> ug::DimFVGeometry< TWorldDim, TDim >::SCVF::Normal
private

◆ nsh

template<int TWorldDim, int TDim = TWorldDim>
size_t ug::DimFVGeometry< TWorldDim, TDim >::SCVF::nsh
private

◆ numCo

template<int TWorldDim, int TDim = TWorldDim>
const size_t ug::DimFVGeometry< TWorldDim, TDim >::SCVF::numCo = traits::NumCornersOfSCVF
static

Number of corners of scvf.

Referenced by ug::DimFVGeometry< TWorldDim, TDim >::SCVF::num_corners().

◆ To

template<int TWorldDim, int TDim = TWorldDim>
size_t ug::DimFVGeometry< TWorldDim, TDim >::SCVF::To
private

◆ vDetJ

template<int TWorldDim, int TDim = TWorldDim>
std::vector<number> ug::DimFVGeometry< TWorldDim, TDim >::SCVF::vDetJ
private

◆ vDetJMap

template<int TWorldDim, int TDim = TWorldDim>
std::vector<number> ug::DimFVGeometry< TWorldDim, TDim >::SCVF::vDetJMap
private

◆ vGlobalIP

template<int TWorldDim, int TDim = TWorldDim>
std::vector<MathVector<worldDim> > ug::DimFVGeometry< TWorldDim, TDim >::SCVF::vGlobalIP
private

◆ vGloPos

template<int TWorldDim, int TDim = TWorldDim>
MathVector<worldDim> ug::DimFVGeometry< TWorldDim, TDim >::SCVF::vGloPos[numCo]
private

◆ vJtInv

template<int TWorldDim, int TDim = TWorldDim>
std::vector<MathMatrix<worldDim,dim> > ug::DimFVGeometry< TWorldDim, TDim >::SCVF::vJtInv
private

◆ vLocalIP

template<int TWorldDim, int TDim = TWorldDim>
std::vector<MathVector<dim> > ug::DimFVGeometry< TWorldDim, TDim >::SCVF::vLocalIP
private

◆ vLocPos

template<int TWorldDim, int TDim = TWorldDim>
MathVector<dim> ug::DimFVGeometry< TWorldDim, TDim >::SCVF::vLocPos[numCo]
private

◆ vMidID

template<int TWorldDim, int TDim = TWorldDim>
MidID ug::DimFVGeometry< TWorldDim, TDim >::SCVF::vMidID[numCo]
private

◆ vvGlobalGrad

template<int TWorldDim, int TDim = TWorldDim>
std::vector<std::vector<MathVector<worldDim> > > ug::DimFVGeometry< TWorldDim, TDim >::SCVF::vvGlobalGrad
private

◆ vvLocalGrad

template<int TWorldDim, int TDim = TWorldDim>
std::vector<std::vector<MathVector<dim> > > ug::DimFVGeometry< TWorldDim, TDim >::SCVF::vvLocalGrad
private

◆ vvShape

template<int TWorldDim, int TDim = TWorldDim>
std::vector<std::vector<number> > ug::DimFVGeometry< TWorldDim, TDim >::SCVF::vvShape
private

◆ vWeight

template<int TWorldDim, int TDim = TWorldDim>
const number* ug::DimFVGeometry< TWorldDim, TDim >::SCVF::vWeight
private

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