Flow123d
JS_before_hm-2154-g185f171e0
|
Go to the documentation of this file.
18 #ifndef NODE_ACCESSOR_HH_
19 #define NODE_ACCESSOR_HH_
30 template <
int spacedim>
53 inline unsigned int idx()
const {
58 inline unsigned int index()
const {
63 ASSERT(
is_valid()).error(
"Do not call inc() for invalid accessor!");
Armor::ArmaVec< double, spacedim > Point
shared_ptr< Armor::Array< double > > nodes_
#define ASSERT(expr)
Allow use shorter versions of macro names if these names is not used with external library.
unsigned int index() const
const MeshBase * mesh_
Pointer to the mesh owning the node.
Space< spacedim >::Point Point
bool operator==(const NodeAccessor< spacedim > &other)
NodeAccessor(const MeshBase *mesh, unsigned int idx)
unsigned int node_idx_
Index into Mesh::node_vec_ array.
Base class for Mesh and BCMesh.
int find_node_id(unsigned int pos) const
Return node id (in GMSH file) of node of given position in node vector.