ug4
ug::FV1IBGeometry< TElem, TWorldDim >::SCV Class Reference

sub control volume structure More...

#include <fv1ib_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_corners () const
 return global corners 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_corners () const
 return local corners 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...
 
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 numCo = traits::NumCornersOfSCV
 Number of corners of scvf. More...
 

Private Attributes

number detj
 
MathMatrix< worldDim, dimJtInv
 
MidID midId [numCo]
 
size_t nodeId
 
MathVector< worldDimvGlobalGrad [nsh]
 
MathVector< worldDimvGloPos [numCo]
 
MathVector< dimvLocalGrad [nsh]
 
MathVector< dimvLocPos [numCo]
 
number Vol
 
number vShape [nsh]
 

Friends

class FV1IBGeometry< TElem, TWorldDim >
 

Detailed Description

template<typename TElem, int TWorldDim>
class ug::FV1IBGeometry< TElem, TWorldDim >::SCV

sub control volume structure

Constructor & Destructor Documentation

◆ SCV()

template<typename TElem , int TWorldDim>
ug::FV1IBGeometry< TElem, TWorldDim >::SCV::SCV ( )
inline

Member Function Documentation

◆ detJ()

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

Determinant of Jacobian in integration point.

References ug::FV1IBGeometry< TElem, TWorldDim >::SCV::detj.

◆ global_corner()

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

◆ global_corners()

template<typename TElem , int TWorldDim>
const MathVector<worldDim>* ug::FV1IBGeometry< TElem, TWorldDim >::SCV::global_corners ( ) const
inline

return global corners

References ug::FV1IBGeometry< TElem, TWorldDim >::SCV::vGloPos.

◆ global_grad()

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

value of global gradient of shape function i in integration point

References ug::FV1IBGeometry< TElem, TWorldDim >::SCV::num_sh(), UG_ASSERT, and ug::FV1IBGeometry< TElem, TWorldDim >::SCV::vGlobalGrad.

◆ global_grad_vector()

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

vector of global gradients in ip point

◆ global_ip()

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

global integration point

References ug::FV1IBGeometry< TElem, TWorldDim >::SCV::vGloPos.

◆ JTInv()

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

Transposed Inverse of Jacobian in integration point.

References ug::FV1IBGeometry< TElem, TWorldDim >::SCV::JtInv.

◆ local_corner()

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

◆ local_corners()

template<typename TElem , int TWorldDim>
const MathVector<dim>* ug::FV1IBGeometry< TElem, TWorldDim >::SCV::local_corners ( ) const
inline

return local corners

References ug::FV1IBGeometry< TElem, TWorldDim >::SCV::vLocPos.

◆ local_grad()

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

value of local gradient of shape function i in integration point

References ug::FV1IBGeometry< TElem, TWorldDim >::SCV::num_sh(), UG_ASSERT, and ug::FV1IBGeometry< TElem, TWorldDim >::SCV::vLocalGrad.

◆ local_grad_vector()

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

vector of local gradients in ip point

References ug::FV1IBGeometry< TElem, TWorldDim >::SCV::vLocalGrad.

◆ local_ip()

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

local integration point of scv

References ug::FV1IBGeometry< TElem, TWorldDim >::SCV::vLocPos.

◆ node_id()

template<typename TElem , int TWorldDim>
size_t ug::FV1IBGeometry< TElem, TWorldDim >::SCV::node_id ( ) const
inline

node id that this scv is associated to

References ug::FV1IBGeometry< TElem, TWorldDim >::SCV::nodeId.

◆ num_corners()

template<typename TElem , int TWorldDim>
size_t ug::FV1IBGeometry< TElem, TWorldDim >::SCV::num_corners ( ) const
inline

◆ num_ip()

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

number of integration points

References ug::FV1IBGeometry< TElem, TWorldDim >::nip.

◆ num_sh()

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

◆ shape()

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

value of shape function i in integration point

References ug::FV1IBGeometry< TElem, TWorldDim >::SCV::vShape.

◆ shape_vector()

template<typename TElem , int TWorldDim>
const number* ug::FV1IBGeometry< TElem, TWorldDim >::SCV::shape_vector ( ) const
inline

vector of shape functions in ip point

References ug::FV1IBGeometry< TElem, TWorldDim >::SCV::vShape.

◆ volume()

template<typename TElem , int TWorldDim>
number ug::FV1IBGeometry< TElem, TWorldDim >::SCV::volume ( ) const
inline

Friends And Related Function Documentation

◆ FV1IBGeometry< TElem, TWorldDim >

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

Member Data Documentation

◆ detj

template<typename TElem , int TWorldDim>
number ug::FV1IBGeometry< TElem, TWorldDim >::SCV::detj
private

◆ JtInv

template<typename TElem , int TWorldDim>
MathMatrix<worldDim,dim> ug::FV1IBGeometry< TElem, TWorldDim >::SCV::JtInv
private

◆ midId

template<typename TElem , int TWorldDim>
MidID ug::FV1IBGeometry< TElem, TWorldDim >::SCV::midId[numCo]
private

◆ nodeId

template<typename TElem , int TWorldDim>
size_t ug::FV1IBGeometry< TElem, TWorldDim >::SCV::nodeId
private

◆ numCo

template<typename TElem , int TWorldDim>
const size_t ug::FV1IBGeometry< TElem, TWorldDim >::SCV::numCo = traits::NumCornersOfSCV
static

Number of corners of scvf.

Referenced by ug::FV1IBGeometry< TElem, TWorldDim >::SCV::num_corners().

◆ vGlobalGrad

template<typename TElem , int TWorldDim>
MathVector<worldDim> ug::FV1IBGeometry< TElem, TWorldDim >::SCV::vGlobalGrad[nsh]
private

◆ vGloPos

◆ vLocalGrad

template<typename TElem , int TWorldDim>
MathVector<dim> ug::FV1IBGeometry< TElem, TWorldDim >::SCV::vLocalGrad[nsh]
private

◆ vLocPos

◆ Vol

template<typename TElem , int TWorldDim>
number ug::FV1IBGeometry< TElem, TWorldDim >::SCV::Vol
private

◆ vShape

template<typename TElem , int TWorldDim>
number ug::FV1IBGeometry< TElem, TWorldDim >::SCV::vShape[nsh]
private

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