ug4
|
#include <fvcr_geom.h>
Classes | |
class | BF |
boundary face More... | |
class | CONSTRAINED_DOF |
public hanging node interface for compatibility reasons More... | |
class | SCV |
sub control volume structure More... | |
class | SCVF |
Sub-Control Volume Face structure. More... | |
Public Types | |
typedef TElem | elem_type |
type of element More... | |
typedef crfv_traits< TWorldDim, TWorldDim >::face_type | face_type0 |
typedef crfv_traits< TWorldDim, TWorldDim+1 >::face_type | face_type1 |
typedef CrouzeixRaviartLSFS< ref_elem_type > | local_shape_fct_set_type |
type of Shape function used More... | |
typedef reference_element_traits< TElem >::reference_element_type | ref_elem_type |
type of reference element More... | |
typedef crfv_traits< TWorldDim, TWorldDim >::scv_type | scv_type0 |
traits More... | |
typedef crfv_traits< TWorldDim, TWorldDim+1 >::scv_type | scv_type1 |
Public Member Functions | |
void | add_boundary_subset (int subsetIndex) |
add subset that is interpreted as boundary subset. More... | |
const std::vector< BF > & | bf (int subsetIndex) const |
returns reference to vector of boundary faces for subsetIndex More... | |
const BF & | bf (int subsetIndex, size_t i) const |
returns the boundary face i for subsetIndex More... | |
void | clear_boundary_subsets () |
reset all boundary subsets More... | |
const CONSTRAINED_DOF & | constrained_dof (size_t i) const |
const MathVector< worldDim > * | corners () const |
CRFVGeometry () | |
construct object and initialize local values and sizes More... | |
const MathVector< worldDim > | global_bary () const |
returns global barycenter More... | |
const MathVector< dim > | local_bary () const |
returns local barycenter More... | |
size_t | num_bf () const |
number of all boundary faces More... | |
size_t | num_bf (int subsetIndex) const |
number of boundary faces on subset 'subsetIndex' More... | |
size_t | num_boundary_subsets () |
number of registered boundary subsets More... | |
size_t | num_constrained_dofs () const |
size_t | num_scv () const |
number of SubControlVolumes More... | |
size_t | num_scv_ips () const |
returns number of all scv ips More... | |
size_t | num_scvf () const |
number of SubControlVolumeFaces More... | |
size_t | num_scvf_ips () const |
returns number of all scvf ips More... | |
size_t | num_sh () const |
number of shape functions More... | |
void | remove_boundary_subset (int subsetIndex) |
removes subset that is interpreted as boundary subset. More... | |
const SCV & | scv (size_t i) const |
const access to SubControlVolume number i More... | |
const MathVector< worldDim > * | scv_global_ips () const |
returns all ips of scv as they appear in scv loop More... | |
const MathVector< dim > * | scv_local_ips () const |
returns all ips of scv as they appear in scv loop More... | |
const SCVF & | scvf (size_t i) const |
const access to SubControlVolumeFace number i More... | |
const MathVector< worldDim > * | scvf_global_ips () const |
returns all ips of scvf as they appear in scv loop More... | |
const MathVector< dim > * | scvf_local_ips () const |
returns all ips of scvf as they appear in scv loop More... | |
void | update (GridObject *elem, const MathVector< worldDim > *vCornerCoords, const ISubsetHandler *ish=NULL) |
update data for given element More... | |
void | update_boundary_faces (GridObject *elem, const MathVector< worldDim > *vCornerCoords, const ISubsetHandler *ish=NULL) |
update boundary data for given element More... | |
void | update_local_data () |
update local data More... | |
Public Attributes | |
MathVector< worldDim > | globalBary |
MathVector< dim > | localBary |
Static Public Attributes | |
static const int | dim = ref_elem_type::dim |
dimension of reference element More... | |
static const size_t | maxNumSCVF = ref_elem_type::numEdges |
static const size_t | nip = 1 |
number of integration points More... | |
static const size_t | nsh = local_shape_fct_set_type::nsh |
number of shape functions More... | |
static const size_t | numSCV = nsh |
number of SubControlVolumes More... | |
static const size_t | numSCVF = ref_elem_type::numEdges |
number of SubControlVolumeFaces More... | |
static const int | order = 1 |
order More... | |
static const bool | staticLocalData = true |
flag indicating if local data may change More... | |
static const bool | usesHangingNodes = false |
Hanging node flag: this Geometry does not support hanging nodes. More... | |
static const int | worldDim = TWorldDim |
dimension of world More... | |
Protected Attributes | |
std::map< int, std::vector< BF > > | m_mapVectorBF |
MathVector< worldDim > | m_vCo [numMaxCo] |
MathVector< worldDim > | m_vGlobSCVF_IP [numSCVF] |
MathVector< worldDim > | m_vGlobUnkCoords [numSCV] |
MathVector< dim > | m_vLocSCVF_IP [numSCVF] |
MathVector< dim > | m_vLocUnkCoords [numSCV] |
Static Protected Attributes | |
static const size_t | numMaxCo = 8 |
Private Attributes | |
CONSTRAINED_DOF | cd |
MathVector< dim > | m_ipCoord [numSCVF] |
ReferenceMapping< ref_elem_type, worldDim > | m_mapping |
Reference Mapping. More... | |
TElem * | m_pElem |
pointer to current element More... | |
const ref_elem_type & | m_rRefElem |
Reference Element. More... | |
const local_shape_fct_set_type & | m_rTrialSpace |
Shape function set. More... | |
SCV | m_vSCV [numSCV] |
SubControlVolumes. More... | |
SCVF | m_vSCVF [numSCVF] |
SubControlVolumeFaces. More... | |
typedef TElem ug::CRFVGeometry< TElem, TWorldDim >::elem_type |
type of element
typedef crfv_traits<TWorldDim,TWorldDim>::face_type ug::CRFVGeometry< TElem, TWorldDim >::face_type0 |
typedef crfv_traits<TWorldDim,TWorldDim+1>::face_type ug::CRFVGeometry< TElem, TWorldDim >::face_type1 |
typedef CrouzeixRaviartLSFS<ref_elem_type> ug::CRFVGeometry< TElem, TWorldDim >::local_shape_fct_set_type |
type of Shape function used
typedef reference_element_traits<TElem>::reference_element_type ug::CRFVGeometry< TElem, TWorldDim >::ref_elem_type |
type of reference element
typedef crfv_traits<TWorldDim,TWorldDim>::scv_type ug::CRFVGeometry< TElem, TWorldDim >::scv_type0 |
traits
typedef crfv_traits<TWorldDim,TWorldDim+1>::scv_type ug::CRFVGeometry< TElem, TWorldDim >::scv_type1 |
ug::CRFVGeometry< TElem, TWorldDim >::CRFVGeometry |
construct object and initialize local values and sizes
References ug::CRFVGeometry< TElem, TWorldDim >::update_local_data().
|
inline |
add subset that is interpreted as boundary subset.
References ug::CRFVGeometry< TElem, TWorldDim >::m_mapVectorBF.
|
inline |
returns reference to vector of boundary faces for subsetIndex
References ug::CRFVGeometry< TElem, TWorldDim >::m_mapVectorBF, and UG_ASSERT.
|
inline |
returns the boundary face i for subsetIndex
References ug::CRFVGeometry< TElem, TWorldDim >::m_mapVectorBF, ug::CRFVGeometry< TElem, TWorldDim >::num_bf(), and UG_ASSERT.
|
inline |
reset all boundary subsets
References ug::CRFVGeometry< TElem, TWorldDim >::m_mapVectorBF.
|
inline |
References ug::CRFVGeometry< TElem, TWorldDim >::cd.
|
inline |
References ug::CRFVGeometry< TElem, TWorldDim >::m_vCo.
|
inline |
returns global barycenter
References ug::CRFVGeometry< TElem, TWorldDim >::globalBary.
|
inline |
returns local barycenter
References ug::CRFVGeometry< TElem, TWorldDim >::localBary.
|
inline |
number of all boundary faces
References ug::CRFVGeometry< TElem, TWorldDim >::m_mapVectorBF.
Referenced by ug::CRFVGeometry< TElem, TWorldDim >::bf().
|
inline |
number of boundary faces on subset 'subsetIndex'
References ug::CRFVGeometry< TElem, TWorldDim >::m_mapVectorBF.
|
inline |
number of registered boundary subsets
References ug::CRFVGeometry< TElem, TWorldDim >::m_mapVectorBF.
|
inline |
|
inline |
number of SubControlVolumes
References ug::CRFVGeometry< TElem, TWorldDim >::numSCV.
Referenced by ug::CRFVGeometry< TElem, TWorldDim >::scv().
|
inline |
returns number of all scv ips
References ug::CRFVGeometry< TElem, TWorldDim >::numSCV.
|
inline |
number of SubControlVolumeFaces
References ug::CRFVGeometry< TElem, TWorldDim >::numSCVF.
Referenced by ug::CRFVGeometry< TElem, TWorldDim >::scvf().
|
inline |
returns number of all scvf ips
References ug::CRFVGeometry< TElem, TWorldDim >::numSCVF.
|
inline |
number of shape functions
References ug::CRFVGeometry< TElem, TWorldDim >::nsh.
|
inline |
removes subset that is interpreted as boundary subset.
References ug::CRFVGeometry< TElem, TWorldDim >::m_mapVectorBF.
|
inline |
const access to SubControlVolume number i
References ug::CRFVGeometry< TElem, TWorldDim >::m_vSCV, ug::CRFVGeometry< TElem, TWorldDim >::num_scv(), and UG_ASSERT.
|
inline |
returns all ips of scv as they appear in scv loop
References ug::CRFVGeometry< TElem, TWorldDim >::m_vGlobUnkCoords.
|
inline |
returns all ips of scv as they appear in scv loop
References ug::CRFVGeometry< TElem, TWorldDim >::m_vLocUnkCoords.
|
inline |
const access to SubControlVolumeFace number i
References ug::CRFVGeometry< TElem, TWorldDim >::m_vSCVF, ug::CRFVGeometry< TElem, TWorldDim >::num_scvf(), and UG_ASSERT.
|
inline |
returns all ips of scvf as they appear in scv loop
References ug::CRFVGeometry< TElem, TWorldDim >::m_vGlobSCVF_IP.
|
inline |
returns all ips of scvf as they appear in scv loop
References ug::CRFVGeometry< TElem, TWorldDim >::m_vLocSCVF_IP.
void ug::CRFVGeometry< TElem, TWorldDim >::update | ( | GridObject * | elem, |
const MathVector< worldDim > * | vCornerCoords, | ||
const ISubsetHandler * | ish = NULL |
||
) |
update data for given element
References ug::AveragePositions(), dim, ug::MatVecMult(), and UG_ASSERT.
void ug::CRFVGeometry< TElem, TWorldDim >::update_boundary_faces | ( | GridObject * | elem, |
const MathVector< worldDim > * | vCornerCoords, | ||
const ISubsetHandler * | ish = NULL |
||
) |
update boundary data for given element
References ug::CollectEdgesSorted(), ug::CollectFacesSorted(), ug::CollectVertices(), ug::CRFVGeometry< TElem, TWorldDim >::BF::detj, dim, ug::ISubsetHandler::get_subset_index(), ug::CRFVGeometry< TElem, TWorldDim >::BF::globalIP, ug::ISubsetHandler::grid(), ug::CRFVGeometry< TElem, TWorldDim >::BF::JtInv, ug::CRFVGeometry< TElem, TWorldDim >::BF::localIP, ug::MatVecMult(), ug::CRFVGeometry< TElem, TWorldDim >::BF::nodeID, ug::CRFVGeometry< TElem, TWorldDim >::BF::Normal, ug::CRFVGeometry< TElem, TWorldDim >::BF::num_sh(), ug::CRFVGeometry< TElem, TWorldDim >::BF::numCo, ug::VecTwoNorm(), ug::CRFVGeometry< TElem, TWorldDim >::BF::vGlobalGrad, ug::CRFVGeometry< TElem, TWorldDim >::BF::vLocalGrad, ug::CRFVGeometry< TElem, TWorldDim >::BF::Vol, and ug::CRFVGeometry< TElem, TWorldDim >::BF::vShape.
void ug::CRFVGeometry< TElem, TWorldDim >::update_local_data |
update local data
References ug::AveragePositions(), and dim.
Referenced by ug::CRFVGeometry< TElem, TWorldDim >::CRFVGeometry().
|
private |
Referenced by ug::CRFVGeometry< TElem, TWorldDim >::constrained_dof().
|
static |
dimension of reference element
MathVector<worldDim> ug::CRFVGeometry< TElem, TWorldDim >::globalBary |
Referenced by ug::CRFVGeometry< TElem, TWorldDim >::global_bary().
MathVector<dim> ug::CRFVGeometry< TElem, TWorldDim >::localBary |
Referenced by ug::CRFVGeometry< TElem, TWorldDim >::local_bary().
|
private |
|
private |
Reference Mapping.
|
protected |
Referenced by ug::CRFVGeometry< TElem, TWorldDim >::add_boundary_subset(), ug::CRFVGeometry< TElem, TWorldDim >::bf(), ug::CRFVGeometry< TElem, TWorldDim >::clear_boundary_subsets(), ug::CRFVGeometry< TElem, TWorldDim >::num_bf(), ug::CRFVGeometry< TElem, TWorldDim >::num_boundary_subsets(), and ug::CRFVGeometry< TElem, TWorldDim >::remove_boundary_subset().
|
private |
pointer to current element
|
private |
Reference Element.
|
private |
Shape function set.
|
protected |
Referenced by ug::CRFVGeometry< TElem, TWorldDim >::corners().
|
protected |
Referenced by ug::CRFVGeometry< TElem, TWorldDim >::scvf_global_ips().
|
protected |
Referenced by ug::CRFVGeometry< TElem, TWorldDim >::scv_global_ips().
|
protected |
Referenced by ug::CRFVGeometry< TElem, TWorldDim >::scvf_local_ips().
|
protected |
Referenced by ug::CRFVGeometry< TElem, TWorldDim >::scv_local_ips().
|
private |
SubControlVolumes.
Referenced by ug::CRFVGeometry< TElem, TWorldDim >::scv().
|
private |
SubControlVolumeFaces.
Referenced by ug::CRFVGeometry< TElem, TWorldDim >::scvf().
|
static |
|
static |
number of integration points
Referenced by ug::CRFVGeometry< TElem, TWorldDim >::SCVF::num_ip(), ug::CRFVGeometry< TElem, TWorldDim >::SCV::num_ip(), and ug::CRFVGeometry< TElem, TWorldDim >::BF::num_ip().
|
static |
number of shape functions
Referenced by ug::CRFVGeometry< TElem, TWorldDim >::SCVF::num_sh(), ug::CRFVGeometry< TElem, TWorldDim >::SCV::num_sh(), ug::CRFVGeometry< TElem, TWorldDim >::BF::num_sh(), and ug::CRFVGeometry< TElem, TWorldDim >::num_sh().
|
staticprotected |
|
static |
number of SubControlVolumes
Referenced by ug::CRFVGeometry< TElem, TWorldDim >::num_scv(), and ug::CRFVGeometry< TElem, TWorldDim >::num_scv_ips().
|
static |
number of SubControlVolumeFaces
Referenced by ug::CRFVGeometry< TElem, TWorldDim >::num_scvf(), and ug::CRFVGeometry< TElem, TWorldDim >::num_scvf_ips().
|
static |
order
|
static |
flag indicating if local data may change
|
static |
Hanging node flag: this Geometry does not support hanging nodes.
|
static |
dimension of world