Flow123d
release_3.0.0-890-gfc7e296
|
#include <mesh.h>
Public Member Functions | |
NodeAccessor () | |
NodeAccessor (const Mesh *mesh, unsigned int idx) | |
bool | is_valid () const |
const Node * | node () const |
unsigned int | idx () const |
unsigned int | index () const |
void | inc () |
bool | operator== (const NodeAccessor< spacedim > &other) |
const Node * | operator-> () const |
Private Attributes | |
const Mesh * | mesh_ |
Pointer to the mesh owning the node. More... | |
unsigned int | node_idx_ |
Index into Mesh::node_vec_ array. More... | |
Node accessor templated just by dimension of the embedding space, used for access to nodes out of Mesh. This should allow algorithms over nodes.
|
inline |
Default invalid accessor.
Definition at line 34 of file node_accessor.hh.
|
inline |
Node accessor.
Definition at line 41 of file node_accessor.hh.
|
inline |
|
inline |
Definition at line 61 of file node_accessor.hh.
|
inline |
Definition at line 57 of file node_accessor.hh.
|
inline |
|
inline |
Definition at line 49 of file node_accessor.hh.
|
inline |
-> dereference operator
Allow simplify calling of node() method. Example:
Definition at line 81 of file node_accessor.hh.
|
inline |
Definition at line 66 of file node_accessor.hh.
|
private |
Pointer to the mesh owning the node.
Definition at line 87 of file node_accessor.hh.
|
private |
Index into Mesh::node_vec_ array.
Definition at line 90 of file node_accessor.hh.