ug4
|
#include <local_dof_set.h>
Public Member Functions | |
int | dim () const |
returns the dimension of associated geometric object More... | |
size_t | id () const |
returns the index for the geometric object (w.r.t reference element numbering) More... | |
LocalDoF () | |
default constructor More... | |
LocalDoF (int dim, size_t id, size_t offset) | |
constructor More... | |
size_t | offset () const |
returns the offset for the geometric object More... | |
bool | operator!= (const LocalDoF &v) const |
inequality check More... | |
bool | operator== (const LocalDoF &v) const |
equality check More... | |
void | set (int dim, size_t id, size_t offset) |
sets the values More... | |
Protected Attributes | |
int | m_dim |
dimension of sub-geometric object More... | |
size_t | m_id |
id of sub-geometric object in counting of reference element More... | |
size_t | m_offset |
offset if several DoFs associated to the same geometric object More... | |
This class is used to store for a single degree of freedom (DoF) the location within an element. For continuous finite elements the DoFs are usually associated with a sub-geometric object of the element itself (e.g. a vertex). This can be requested from this class, which stores the dimension of the sub-element the DoF is located on, the id of the sub-element (w.r.t. to the numbering in the reference elements) and an offset > 0 if there are more than one DoFs associated with the same sub-element.
|
inline |
default constructor
|
inline |
constructor
Create a pair describing the position of a DoF within the reference element.
[in] | dim | dimension of sub-geometric object |
[in] | id | number of sub-geometric object (in the numbering used by the reference element) |
[in] | offset | if several DoFs are associated with the same sub-geometric object the offset specifies the number within all DoFs on that geometric object |
|
inline |
returns the dimension of associated geometric object
References m_dim.
Referenced by ug::InnerDoFPositionElem(), ug::operator<<(), operator==(), set(), and ug::SubLocalDoFSet< TDim >::SubLocalDoFSet().
|
inline |
returns the index for the geometric object (w.r.t reference element numbering)
References m_id.
Referenced by ug::operator<<(), operator==(), set(), and ug::SubLocalDoFSet< TDim >::SubLocalDoFSet().
|
inline |
returns the offset for the geometric object
References m_offset.
Referenced by ug::operator<<(), operator==(), and set().
|
inline |
inequality check
|
inline |
|
inline |
|
protected |
|
protected |