ug4
|
#include <hfvcr_geom.h>
Classes | |
class | CONSTRAINED_DOF |
class | HandledEdge |
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 hcrfv_traits< TWorldDim, TWorldDim >::face_type | face_type0 |
typedef hcrfv_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 hcrfv_traits< TWorldDim, TWorldDim >::scv_type | scv_type0 |
traits More... | |
typedef hcrfv_traits< TWorldDim, TWorldDim+1 >::scv_type | scv_type1 |
typedef hcrfv_traits< dim, worldDim > | traits |
used traits More... | |
Public Member Functions | |
const CONSTRAINED_DOF & | constrained_dof (size_t i) const |
const access to constrained dof i More... | |
const MathVector< worldDim > * | corners () const |
const MathVector< worldDim > | global_bary () const |
returns global barycenter More... | |
HCRFVGeometry () | |
construct object and initialize local values and sizes More... | |
const MathVector< dim > | local_bary () const |
returns local barycenter More... | |
size_t | num_constrained_dofs () const |
number of constrained dofs More... | |
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 | print () |
debug output 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_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 | maxNumSCV = traits::maxNumSCV |
static const size_t | maxNumSCVF = traits::maxNumSCVF |
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 | numNaturalSCV = nsh |
number of SubControlVolumes More... | |
static const size_t | numNaturalSCVF = 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 = true |
Hanging node flag: this geometry supports hanging nodes. More... | |
static const int | worldDim = TWorldDim |
dimension of world More... | |
Protected Attributes | |
MathVector< worldDim > | m_vCo [numMaxCo] |
MathVector< worldDim > | m_vGlobSCVF_IP [maxNumSCVF] |
MathVector< worldDim > | m_vGlobUnkCoords [maxNumSCV] |
MathVector< dim > | m_vLocSCVF_IP [maxNumSCVF] |
MathVector< dim > | m_vLocUnkCoords [maxNumSCV] |
Static Protected Attributes | |
static const size_t | numMaxCo = 8 |
Private Attributes | |
std::vector< HandledEdge > | handledEdges |
bool | localUpdateNecessary |
MathVector< dim > | m_ipCoord [maxNumSCVF] |
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... | |
CONSTRAINED_DOF | m_vCD [maxNumSCV] |
constrained Dofs More... | |
SCV | m_vSCV [maxNumSCV] |
SubControlVolumes. More... | |
SCVF | m_vSCVF [maxNumSCVF] |
SubControlVolumeFaces. More... | |
size_t | numConstrainedDofs |
size_t | numDofs |
size_t | numSCV |
size_t | numSCVF |
Static Private Attributes | |
static const size_t | deleted = 117 |
typedef TElem ug::HCRFVGeometry< TElem, TWorldDim >::elem_type |
type of element
typedef hcrfv_traits<TWorldDim,TWorldDim>::face_type ug::HCRFVGeometry< TElem, TWorldDim >::face_type0 |
typedef hcrfv_traits<TWorldDim,TWorldDim+1>::face_type ug::HCRFVGeometry< TElem, TWorldDim >::face_type1 |
typedef CrouzeixRaviartLSFS<ref_elem_type> ug::HCRFVGeometry< TElem, TWorldDim >::local_shape_fct_set_type |
type of Shape function used
typedef reference_element_traits<TElem>::reference_element_type ug::HCRFVGeometry< TElem, TWorldDim >::ref_elem_type |
type of reference element
typedef hcrfv_traits<TWorldDim,TWorldDim>::scv_type ug::HCRFVGeometry< TElem, TWorldDim >::scv_type0 |
traits
typedef hcrfv_traits<TWorldDim,TWorldDim+1>::scv_type ug::HCRFVGeometry< TElem, TWorldDim >::scv_type1 |
typedef hcrfv_traits<dim,worldDim> ug::HCRFVGeometry< TElem, TWorldDim >::traits |
used traits
ug::HCRFVGeometry< TElem, TWorldDim >::HCRFVGeometry |
construct object and initialize local values and sizes
References ug::HCRFVGeometry< TElem, TWorldDim >::update_local_data().
|
inline |
const access to constrained dof i
References ug::HCRFVGeometry< TElem, TWorldDim >::m_vCD, ug::HCRFVGeometry< TElem, TWorldDim >::numConstrainedDofs, and UG_ASSERT.
|
inline |
References ug::HCRFVGeometry< TElem, TWorldDim >::m_vCo.
|
inline |
returns global barycenter
References ug::HCRFVGeometry< TElem, TWorldDim >::globalBary.
|
inline |
returns local barycenter
References ug::HCRFVGeometry< TElem, TWorldDim >::localBary.
|
inline |
number of constrained dofs
References ug::HCRFVGeometry< TElem, TWorldDim >::numConstrainedDofs.
|
inline |
number of SubControlVolumes
References ug::HCRFVGeometry< TElem, TWorldDim >::numSCV.
|
inline |
returns number of all scv ips
References ug::HCRFVGeometry< TElem, TWorldDim >::numSCV.
|
inline |
number of SubControlVolumeFaces
References ug::HCRFVGeometry< TElem, TWorldDim >::numSCVF.
|
inline |
returns number of all scvf ips
References ug::HCRFVGeometry< TElem, TWorldDim >::numSCVF.
|
inline |
number of shape functions
References ug::HCRFVGeometry< TElem, TWorldDim >::nsh.
void ug::HCRFVGeometry< TElem, TWorldDim >::print |
debug output
References UG_LOG.
|
inline |
const access to SubControlVolume number i
References ug::HCRFVGeometry< TElem, TWorldDim >::m_vSCV, ug::HCRFVGeometry< TElem, TWorldDim >::maxNumSCV, and UG_ASSERT.
|
inline |
returns all ips of scv as they appear in scv loop
References ug::HCRFVGeometry< TElem, TWorldDim >::m_vGlobUnkCoords.
|
inline |
returns all ips of scv as they appear in scv loop
References ug::HCRFVGeometry< TElem, TWorldDim >::m_vLocUnkCoords.
|
inline |
const access to SubControlVolumeFace number i
References ug::HCRFVGeometry< TElem, TWorldDim >::m_vSCVF, ug::HCRFVGeometry< TElem, TWorldDim >::maxNumSCVF, and UG_ASSERT.
|
inline |
returns all ips of scvf as they appear in scv loop
References ug::HCRFVGeometry< TElem, TWorldDim >::m_vGlobSCVF_IP.
|
inline |
returns all ips of scvf as they appear in scv loop
References ug::HCRFVGeometry< TElem, TWorldDim >::m_vLocSCVF_IP.
void ug::HCRFVGeometry< TElem, TWorldDim >::update | ( | GridObject * | elem, |
const MathVector< worldDim > * | vCornerCoords, | ||
const ISubsetHandler * | ish = NULL |
||
) |
update data for given element
References ug::HCRFVGeometry< TElem, TWorldDim >::HandledEdge::associatedSCV, ug::AveragePositions(), ug::CollectEdgesSorted(), ug::CollectFacesSorted(), dim, ug::HCRFVGeometry< TElem, TWorldDim >::HandledEdge::from, ug::ISubsetHandler::grid(), ug::HCRFVGeometry< TElem, TWorldDim >::HandledEdge::index, ug::MatVecMult(), ug::HCRFVGeometry< TElem, TWorldDim >::HandledEdge::scvfIndex, and UG_ASSERT.
void ug::HCRFVGeometry< TElem, TWorldDim >::update_local_data |
update local data
References ug::AveragePositions(), and dim.
Referenced by ug::HCRFVGeometry< TElem, TWorldDim >::HCRFVGeometry().
|
staticprivate |
|
static |
dimension of reference element
MathVector<worldDim> ug::HCRFVGeometry< TElem, TWorldDim >::globalBary |
Referenced by ug::HCRFVGeometry< TElem, TWorldDim >::global_bary().
|
private |
MathVector<dim> ug::HCRFVGeometry< TElem, TWorldDim >::localBary |
Referenced by ug::HCRFVGeometry< TElem, TWorldDim >::local_bary().
|
private |
|
private |
|
private |
Reference Mapping.
|
private |
pointer to current element
|
private |
Reference Element.
|
private |
Shape function set.
|
private |
constrained Dofs
Referenced by ug::HCRFVGeometry< TElem, TWorldDim >::constrained_dof().
|
protected |
Referenced by ug::HCRFVGeometry< TElem, TWorldDim >::corners().
|
protected |
Referenced by ug::HCRFVGeometry< TElem, TWorldDim >::scvf_global_ips().
|
protected |
Referenced by ug::HCRFVGeometry< TElem, TWorldDim >::scv_global_ips().
|
protected |
Referenced by ug::HCRFVGeometry< TElem, TWorldDim >::scvf_local_ips().
|
protected |
Referenced by ug::HCRFVGeometry< TElem, TWorldDim >::scv_local_ips().
|
private |
SubControlVolumes.
Referenced by ug::HCRFVGeometry< TElem, TWorldDim >::scv().
|
private |
SubControlVolumeFaces.
Referenced by ug::HCRFVGeometry< TElem, TWorldDim >::scvf().
|
static |
Referenced by ug::HCRFVGeometry< TElem, TWorldDim >::scv().
|
static |
Referenced by ug::HCRFVGeometry< TElem, TWorldDim >::scvf().
|
static |
number of integration points
Referenced by ug::HCRFVGeometry< TElem, TWorldDim >::SCVF::num_ip(), and ug::HCRFVGeometry< TElem, TWorldDim >::SCV::num_ip().
|
static |
number of shape functions
Referenced by ug::HCRFVGeometry< TElem, TWorldDim >::SCVF::num_sh(), ug::HCRFVGeometry< TElem, TWorldDim >::SCV::num_sh(), and ug::HCRFVGeometry< TElem, TWorldDim >::num_sh().
|
private |
|
private |
|
staticprotected |
|
static |
number of SubControlVolumes
|
static |
number of SubControlVolumeFaces
|
private |
|
private |
|
static |
order
|
static |
flag indicating if local data may change
|
static |
Hanging node flag: this geometry supports hanging nodes.
|
static |
dimension of world