ug4
ug::DimCRFVGeometry< TDim, TWorldDim >::SCV Class Reference

sub control volume structure More...

#include <fvcr_geom.h>

Public Member Functions

number detJ () const
 Determinant of Jacobian in integration point. 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 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 scv More...
 
size_t node_id () const
 node id that this scv is associated to 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 More...
 
size_t num_sh () const
 number of shape functions More...
 
 SCV ()
 
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...
 
number volume () const
 volume of scv More...
 

Static Public Attributes

static const size_t maxNumCo = 5
 Number of corners of scv. More...
 

Private Attributes

number detj
 
MathMatrix< worldDim, dimJtInv
 
size_t nodeID
 
MathVector< worldDimNormal
 
int numCorners
 
size_t numSH
 
MathVector< worldDimvGlobalGrad [maxNSH]
 
MathVector< dimvGlobIP
 
MathVector< worldDimvGloPos [maxNumCo]
 
MathVector< dimvLocalGrad [maxNSH]
 
MathVector< dimvLocIP
 
MathVector< dimvLocPos [maxNumCo]
 
number Vol
 
number vShape [maxNSH]
 

Friends

class DimCRFVGeometry< dim, worldDim >
 

Detailed Description

template<int TDim, int TWorldDim = TDim>
class ug::DimCRFVGeometry< TDim, TWorldDim >::SCV

sub control volume structure

Constructor & Destructor Documentation

◆ SCV()

template<int TDim, int TWorldDim = TDim>
ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::SCV ( )
inline

Member Function Documentation

◆ detJ()

template<int TDim, int TWorldDim = TDim>
number ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::detJ ( ) const
inline

Determinant of Jacobian in integration point.

References ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::detj.

◆ global_corner()

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

◆ global_grad()

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

value of global gradient of shape function i in integration point

References ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::num_sh(), UG_ASSERT, and ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::vGlobalGrad.

◆ global_grad_vector()

template<int TDim, int TWorldDim = TDim>
const MathVector<worldDim>* ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::global_grad_vector ( ) const
inline

vector of global gradients in ip point

◆ global_ip()

template<int TDim, int TWorldDim = TDim>
const MathVector<worldDim>& ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::global_ip ( ) const
inline

global integration point

References ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::vGlobIP.

◆ JTInv()

template<int TDim, int TWorldDim = TDim>
const MathMatrix<worldDim,dim>& ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::JTInv ( ) const
inline

Transposed Inverse of Jacobian in integration point.

References ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::JtInv.

◆ local_corner()

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

◆ local_grad()

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

value of local gradient of shape function i in integration point

References ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::num_sh(), UG_ASSERT, and ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::vLocalGrad.

◆ local_grad_vector()

template<int TDim, int TWorldDim = TDim>
const MathVector<dim>* ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::local_grad_vector ( ) const
inline

vector of local gradients in ip point

References ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::vLocalGrad.

◆ local_ip()

template<int TDim, int TWorldDim = TDim>
const MathVector<dim>& ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::local_ip ( ) const
inline

local integration point of scv

References ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::vLocIP.

◆ node_id()

template<int TDim, int TWorldDim = TDim>
size_t ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::node_id ( ) const
inline

node id that this scv is associated to

References ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::nodeID.

◆ normal()

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

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

References ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::Normal.

◆ num_corners()

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

◆ num_ip()

template<int TDim, int TWorldDim = TDim>
size_t ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::num_ip ( ) const
inline

number of integration points

References ug::DimCRFVGeometry< TDim, TWorldDim >::nip.

◆ num_sh()

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

◆ shape()

template<int TDim, int TWorldDim = TDim>
number ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::shape ( size_t  sh) const
inline

value of shape function i in integration point

References ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::vShape.

◆ shape_vector()

template<int TDim, int TWorldDim = TDim>
const number* ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::shape_vector ( ) const
inline

vector of shape functions in ip point

References ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::vShape.

◆ volume()

template<int TDim, int TWorldDim = TDim>
number ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::volume ( ) const
inline

Friends And Related Function Documentation

◆ DimCRFVGeometry< dim, worldDim >

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

Member Data Documentation

◆ detj

template<int TDim, int TWorldDim = TDim>
number ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::detj
private

◆ JtInv

template<int TDim, int TWorldDim = TDim>
MathMatrix<worldDim,dim> ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::JtInv
private

◆ maxNumCo

template<int TDim, int TWorldDim = TDim>
const size_t ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::maxNumCo = 5
static

Number of corners of scv.

◆ nodeID

template<int TDim, int TWorldDim = TDim>
size_t ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::nodeID
private

◆ Normal

template<int TDim, int TWorldDim = TDim>
MathVector<worldDim> ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::Normal
private

◆ numCorners

template<int TDim, int TWorldDim = TDim>
int ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::numCorners
private

◆ numSH

template<int TDim, int TWorldDim = TDim>
size_t ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::numSH
private

◆ vGlobalGrad

template<int TDim, int TWorldDim = TDim>
MathVector<worldDim> ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::vGlobalGrad[maxNSH]
private

◆ vGlobIP

template<int TDim, int TWorldDim = TDim>
MathVector<dim> ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::vGlobIP
private

◆ vGloPos

template<int TDim, int TWorldDim = TDim>
MathVector<worldDim> ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::vGloPos[maxNumCo]
private

◆ vLocalGrad

template<int TDim, int TWorldDim = TDim>
MathVector<dim> ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::vLocalGrad[maxNSH]
private

◆ vLocIP

template<int TDim, int TWorldDim = TDim>
MathVector<dim> ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::vLocIP
private

◆ vLocPos

template<int TDim, int TWorldDim = TDim>
MathVector<dim> ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::vLocPos[maxNumCo]
private

◆ Vol

template<int TDim, int TWorldDim = TDim>
number ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::Vol
private

◆ vShape

template<int TDim, int TWorldDim = TDim>
number ug::DimCRFVGeometry< TDim, TWorldDim >::SCV::vShape[maxNSH]
private

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