ug4
|
A vertex appearing on edges or faces. More...
#include <grid_objects_0d.h>
Public Member Functions | |
ConstrainedVertex () | |
virtual int | container_section () const |
virtual GridObject * | create_empty_instance () const |
create an instance of the derived type More... | |
GridObject * | get_constraining_object () |
number | get_local_coordinate_1 () const |
number | get_local_coordinate_2 () const |
const vector2 & | get_local_coordinates () const |
int | get_parent_base_object_id () |
virtual bool | is_constrained () const |
returns true if the object is constrained by other objects. More... | |
virtual ReferenceObjectID | reference_object_id () const |
virtual void | remove_constraint_link (const Edge *e) |
removes a constraint link to the grid object. More... | |
virtual void | remove_constraint_link (const Face *f) |
removes a constraint link to the grid object. More... | |
void | set_constraining_object (GridObject *constrObj) |
void | set_local_coordinate_1 (number coord) |
void | set_local_coordinate_2 (number coord) |
void | set_local_coordinates (const vector2 &coords) |
void | set_local_coordinates (number x, number y) |
void | set_parent_base_object_id (int id) |
virtual | ~ConstrainedVertex () |
Public Member Functions inherited from ug::Vertex | |
virtual int | base_object_id () const |
uint32 | get_hash_value () const |
returns a value that can be used for hashing. More... | |
uint | num_sides () const |
virtual | ~Vertex () |
Public Member Functions inherited from ug::GridObject | |
uint | grid_data_index () const |
Returns the grid attachment data index of a geometric object. More... | |
virtual bool | is_constraining () const |
returns the id of the reference-object. More... | |
virtual | ~GridObject () |
virtual void | remove_constraint_link (const Vertex *vrt) |
removes a constraint link to the grid object. More... | |
Static Public Member Functions | |
static bool | type_match (GridObject *pObj) |
Static Public Member Functions inherited from ug::Vertex | |
static bool | type_match (GridObject *pObj) |
Protected Attributes | |
GridObject * | m_constrainingObj |
vector2 | m_localCoord |
int | m_parentBaseObjectId |
Protected Attributes inherited from ug::Vertex | |
uint32 | m_hashValue |
Protected Attributes inherited from ug::GridObject | |
uint | m_gridDataIndex |
Friends | |
class | Grid |
Additional Inherited Members | |
Public Types inherited from ug::Vertex | |
typedef Vertex | grid_base_object |
typedef Edge | higher_dim_base_object |
typedef void | lower_dim_base_object |
typedef Vertex | side |
typedef Edge | sideof |
Static Public Attributes inherited from ug::Vertex | |
static const int | BASE_OBJECT_ID = VERTEX |
static const bool | CAN_BE_SIDE = true |
static const int | dim = 0 |
reference dimension More... | |
static const bool | HAS_SIDES = false |
static const size_t | NUM_VERTICES = 1 |
Protected Member Functions inherited from ug::GridObject | |
void | set_grid_data_index (uint index) |
ATTENTION: Use this method with extreme care! More... | |
A vertex appearing on edges or faces.
ConstrainedVertices appear during hanging-vertex-refinement. They should be treated with care, since they are often referenced by other elements, as e.g. by a ConstrainingEdge.
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from ug::Vertex.
References ug::CSVRT_CONSTRAINED_VERTEX.
|
inlinevirtual |
create an instance of the derived type
Make sure to overload this method in derivates of this class!
Reimplemented from ug::GridObject.
|
inline |
|
inline |
Referenced by ug::SerializeMultiGridElements().
|
inline |
Referenced by ug::SerializeMultiGridElements().
|
inline |
|
inline |
|
inlinevirtual |
returns true if the object is constrained by other objects.
This is normally only the case for special constrained objects. The default implementation returns false.
Reimplemented from ug::GridObject.
|
inlinevirtual |
A reference object represents a class of geometric objects. Tetrahedrons, Triangles etc are such classes. Reference ids should be defined in the file in which concrete geometric objects are defined.
Reimplemented from ug::Vertex.
References ug::ROID_VERTEX.
|
inlinevirtual |
removes a constraint link to the grid object.
This method is e.g. called on the constraining edges of a constrained vertex as soon as the constrained vertex is deleted.
Reimplemented from ug::GridObject.
|
inlinevirtual |
removes a constraint link to the grid object.
This method is e.g. called on the constraining edges of a constrained vertex as soon as the constrained vertex is deleted.
Reimplemented from ug::GridObject.
|
inline |
|
inline |
|
inline |
Referenced by ug::DeserializeGridElements(), and ug::DeserializeMultiGridElements().
|
inline |
|
inline |
References UG_THROW.
Referenced by ug::DeserializeMultiGridElements(), and ug::HangingNodeRefiner_MultiGrid::perform_coarsening().
|
inlinestatic |
|
friend |
|
protected |
|
protected |
|
protected |