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

sub control volume structure More...

#include <fvho_geom.h>

Public Member Functions

number detJ (size_t ip) const
 Determinant of Jacobian in integration point. 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 global gradients in ip point More...
 
const MathVector< worldDim > & global_ip (size_t ip) const
 global integration point 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 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 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...
 
number weight (size_t ip) const
 weigth of integration point More...
 

Static Public Attributes

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

Private Attributes

size_t nip
 
size_t nodeId
 
size_t nsh
 
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 >::SCV

sub control volume structure

Constructor & Destructor Documentation

◆ SCV()

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

Member Function Documentation

◆ detJ()

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

◆ global_corner()

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

◆ global_grad()

template<int TWorldDim, int TDim = TWorldDim>
const MathVector<worldDim>& ug::DimFVGeometry< TWorldDim, TDim >::SCV::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 >::SCV::global_grad_vector ( size_t  ip) const
inline

vector of global gradients in ip point

◆ global_ip()

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

◆ JTInv()

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

Transposed Inverse of Jacobian in integration point.

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

◆ local_corner()

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

◆ local_grad()

template<int TWorldDim, int TDim = TWorldDim>
const MathVector<dim>& ug::DimFVGeometry< TWorldDim, TDim >::SCV::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 >::SCV::local_grad_vector ( size_t  ip) const
inline

◆ local_ip()

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

◆ node_id()

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

node id that this scv is associated to

References ug::DimFVGeometry< TWorldDim, TDim >::SCV::nodeId.

◆ num_corners()

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

◆ num_ip()

◆ num_sh()

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

◆ shape()

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

◆ shape_vector()

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

◆ weight()

template<int TWorldDim, int TDim = TWorldDim>
number ug::DimFVGeometry< TWorldDim, TDim >::SCV::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

◆ nip

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

◆ nodeId

template<int TWorldDim, int TDim = TWorldDim>
size_t ug::DimFVGeometry< TWorldDim, TDim >::SCV::nodeId
private

◆ nsh

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

◆ numCo

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

Number of corners of scvf.

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

◆ vDetJ

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

◆ vDetJMap

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

◆ vGlobalIP

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

◆ vGloPos

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

◆ vJtInv

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

◆ vLocalIP

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

◆ vLocPos

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

◆ vMidID

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

◆ vvGlobalGrad

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

◆ vvLocalGrad

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

◆ vvShape

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

◆ vWeight

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

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