Stores one node of a mesh. More...
#include <mesh.h>
Public Member Functions | |
| bool | is_constrained_vertex () const |
| void | ref_element (Element *e=NULL) |
| void | unref_element (HashTable *ht, Element *e=NULL) |
Public Attributes | |
| int | id |
| node id number | |
| unsigned | ref:29 |
| the number of elements using the node | |
| unsigned | type:1 |
| 0 = vertex node; 1 = edge node | |
| unsigned | bnd:1 |
| 1 = boundary node; 0 = inner node | |
| unsigned | used:1 |
| array item usage flag | |
| union { | |
| struct { | |
| double x | |
| double y | |
| vertex node coordinates | |
| } | |
| struct { | |
| int marker | |
| edge marker | |
| Element * elem [2] | |
| elements sharing the edge node | |
| Nurbs * nurbs | |
| temporary curved edge ptr (only for loading the mesh) | |
| } | |
| }; | |
| int | p1 |
| int | p2 |
| parent id numbers | |
| Node * | next_hash |
| next node in hash synonym list | |
Stores one node of a mesh.
There are are two variants of this structure, depending on the value of the member 'type':
| bool Node::is_constrained_vertex | ( | ) | const [inline] |
| void Node::ref_element | ( | Element * | e = NULL |
) |
| union { ... } |
| unsigned Node::bnd |
1 = boundary node; 0 = inner node
| Element* Node::elem[2] |
elements sharing the edge node
| int Node::id |
node id number
| int Node::marker |
edge marker
next node in hash synonym list
temporary curved edge ptr (only for loading the mesh)
| int Node::p1 |
| int Node::p2 |
parent id numbers
| unsigned Node::ref |
the number of elements using the node
| unsigned Node::type |
0 = vertex node; 1 = edge node
| unsigned Node::used |
array item usage flag
| double Node::x |
| double Node::y |
vertex node coordinates
1.6.3