ug4
|
Public Member Functions | |
virtual bool | exact_position_available () const |
returns if the local dof position are exact More... | |
virtual const LocalDoF & | local_dof (size_t dof) const |
returns the DoFs storage More... | |
virtual size_t | num_dof (ReferenceObjectID roid) const |
returns the number of DoFs on a sub-geometric object type More... | |
virtual size_t | num_sh () const |
virtual bool | position (size_t i, MathVector< TDim > &pos) const |
local position of DoF i More... | |
virtual ReferenceObjectID | roid () const |
returns the Reference object id of the corresponding grid object More... | |
template<int setDim> | |
SubLocalDoFSet (const ReferenceObjectID roid, const DimLocalDoFSet< setDim > &set) | |
Public Member Functions inherited from ug::DimLocalDoFSet< TDim > | |
DimLocalDoFSet () | |
constructor More... | |
bool | operator!= (const DimLocalDoFSet< TDim > &v) const |
inequality check More... | |
bool | operator== (const DimLocalDoFSet< TDim > &v) const |
equality check More... | |
Public Member Functions inherited from ug::LocalDoFSet | |
int | dim () const |
returns the reference dimension More... | |
size_t | num_dof (int d, size_t id) const |
returns the number of DoFs on a sub-geometric object of dim and id More... | |
bool | operator!= (const LocalDoFSet &v) const |
inequality check More... | |
bool | operator== (const LocalDoFSet &v) const |
equality check More... | |
virtual | ~LocalDoFSet () |
virtual destructor More... | |
size_t | num_dof () const |
Protected Member Functions | |
void | set (const std::vector< size_t > &vNumDoF, const std::vector< LocalDoF > &vLocalDoF, const std::vector< MathVector< TDim > > &vLocalPos) |
Protected Attributes | |
const bool | m_bExactPos |
bool | m_bInit |
const ReferenceObjectID | m_roid |
Reference ID this DoF Set is for. More... | |
std::vector< LocalDoF > | m_vLocalDoF |
Local DoFs of this set. More... | |
std::vector< MathVector< TDim > > | m_vLocalPos |
Local Positions of DoFs. More... | |
std::vector< size_t > | m_vNumDoF |
Static Private Attributes | |
static const int | dim = TDim |
Intersection of local dofs
|
inline |
References ug::DimReferenceElement< d >::corner(), ug::LocalDoF::dim(), ug::SubLocalDoFSet< TDim >::dim, ug::DimReferenceMapping< TDim, TWorldDim >::global_to_local(), ug::LocalDoF::id(), ug::ReferenceElement::id(), ug::SubLocalDoFSet< TDim >::m_roid, ug::ReferenceElement::num(), ug::NUM_REFERENCE_OBJECTS, ug::UGError::push_msg(), ug::ReferenceElementDimension(), ug::SubLocalDoFSet< TDim >::roid(), ug::ReferenceElement::roid(), ug::SubLocalDoFSet< TDim >::set(), and UG_THROW.
|
inlinevirtual |
returns if the local dof position are exact
Implements ug::DimLocalDoFSet< TDim >.
References ug::SubLocalDoFSet< TDim >::m_bExactPos.
Referenced by ug::SubLocalDoFSet< TDim >::position().
|
inlinevirtual |
returns the DoFs storage
Implements ug::LocalDoFSet.
References ug::SubLocalDoFSet< TDim >::m_vLocalDoF.
|
inlinevirtual |
returns the number of DoFs on a sub-geometric object type
Implements ug::LocalDoFSet.
References ug::SubLocalDoFSet< TDim >::m_vNumDoF, and ug::SubLocalDoFSet< TDim >::roid().
|
inlinevirtual |
returns the total number of dofs on the finite element
Reimplemented from ug::LocalDoFSet.
References ug::SubLocalDoFSet< TDim >::m_vLocalDoF.
|
inlinevirtual |
local position of DoF i
This function returns the local position of a DoF if possible.
[in] | i | number of DoF |
[out] | pos | Position of DoF |
true | if position exists |
false | if no meaningful position available |
Implements ug::DimLocalDoFSet< TDim >.
References ug::SubLocalDoFSet< TDim >::exact_position_available(), and ug::SubLocalDoFSet< TDim >::m_vLocalPos.
|
inlinevirtual |
returns the Reference object id of the corresponding grid object
Implements ug::LocalDoFSet.
References ug::SubLocalDoFSet< TDim >::m_roid.
Referenced by ug::SubLocalDoFSet< TDim >::num_dof(), and ug::SubLocalDoFSet< TDim >::SubLocalDoFSet().
|
inlineprotected |
|
staticprivate |
Referenced by ug::SubLocalDoFSet< TDim >::SubLocalDoFSet().
|
protected |
Referenced by ug::SubLocalDoFSet< TDim >::exact_position_available().
|
protected |
Referenced by ug::SubLocalDoFSet< TDim >::set().
|
protected |
Reference ID this DoF Set is for.
Referenced by ug::SubLocalDoFSet< TDim >::roid(), and ug::SubLocalDoFSet< TDim >::SubLocalDoFSet().
|
protected |
Local DoFs of this set.
Referenced by ug::SubLocalDoFSet< TDim >::local_dof(), ug::SubLocalDoFSet< TDim >::num_sh(), and ug::SubLocalDoFSet< TDim >::set().
|
protected |
Local Positions of DoFs.
Referenced by ug::SubLocalDoFSet< TDim >::position(), and ug::SubLocalDoFSet< TDim >::set().
|
protected |
Referenced by ug::SubLocalDoFSet< TDim >::num_dof(), and ug::SubLocalDoFSet< TDim >::set().