ug4
|
#include <local_dof_set.h>
Public Member Functions | |
DimLocalDoFSet () | |
constructor More... | |
virtual bool | exact_position_available () const =0 |
returns if the local dof position are exact More... | |
bool | operator!= (const DimLocalDoFSet< TDim > &v) const |
inequality check More... | |
bool | operator== (const DimLocalDoFSet< TDim > &v) const |
equality check More... | |
virtual bool | position (size_t i, MathVector< TDim > &pos) const =0 |
local position of DoF i More... | |
Public Member Functions inherited from ug::LocalDoFSet | |
int | dim () const |
returns the reference dimension More... | |
virtual const LocalDoF & | local_dof (size_t dof) const =0 |
returns the DoFs storage 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... | |
virtual size_t | num_dof (ReferenceObjectID roid) const =0 |
returns the number of DoFs on a sub-geometric object type More... | |
bool | operator!= (const LocalDoFSet &v) const |
inequality check More... | |
bool | operator== (const LocalDoFSet &v) const |
equality check More... | |
virtual ReferenceObjectID | roid () const =0 |
returns the Reference object id of the corresponding grid object More... | |
virtual | ~LocalDoFSet () |
virtual destructor More... | |
size_t | num_dof () const |
virtual size_t | num_sh () const |
Local DoF Set also providing to local position of the dofs (iff available)
ug::DimLocalDoFSet< TDim >::DimLocalDoFSet |
constructor
|
pure virtual |
returns if the local dof position are exact
Implemented in ug::SubLocalDoFSet< TDim >, and ug::LocalShapeFunctionSetWrapper< TImpl >.
Referenced by ug::DimLocalDoFSet< TDim >::operator==().
|
inline |
inequality check
bool ug::DimLocalDoFSet< TDim >::operator== | ( | const DimLocalDoFSet< TDim > & | v | ) | const |
equality check
References ug::DimLocalDoFSet< TDim >::exact_position_available(), ug::DimLocalDoFSet< TDim >::position(), and ug::VecDistance().
|
pure virtual |
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 |
Implemented in ug::SubLocalDoFSet< TDim >.
Referenced by ug::DoFPositionElem(), ug::InnerDoFPositionElem(), ug::InterpolateOnDiffElements(), ug::MaxErrorOnElements(), ug::operator<<(), and ug::DimLocalDoFSet< TDim >::operator==().