Flow123d  JS_before_hm-946-gd238683
Public Types | Public Member Functions | Private Attributes | List of all members
NodeAccessor< spacedim > Class Template Reference

#include <mesh.h>

Collaboration diagram for NodeAccessor< spacedim >:
Collaboration graph
[legend]

Public Types

typedef Space< spacedim >::Point Point
 

Public Member Functions

 NodeAccessor ()
 
 NodeAccessor (const Mesh *mesh, unsigned int idx)
 
bool is_valid () const
 
unsigned int idx () const
 
unsigned int index () const
 
void inc ()
 
bool operator== (const NodeAccessor< spacedim > &other)
 
Point operator* () const
 

Private Attributes

const Meshmesh_
 Pointer to the mesh owning the node. More...
 
unsigned int node_idx_
 Index into Mesh::node_vec_ array. More...
 

Detailed Description

template<int spacedim>
class NodeAccessor< spacedim >

Node accessor templated just by dimension of the embedding space, used for access to nodes out of Mesh. This should allow algorithms over nodes.

Definition at line 56 of file mesh.h.

Member Typedef Documentation

template<int spacedim>
typedef Space<spacedim>::Point NodeAccessor< spacedim >::Point

Definition at line 33 of file node_accessor.hh.

Constructor & Destructor Documentation

template<int spacedim>
NodeAccessor< spacedim >::NodeAccessor ( )
inline

Default invalid accessor.

Definition at line 38 of file node_accessor.hh.

template<int spacedim>
NodeAccessor< spacedim >::NodeAccessor ( const Mesh mesh,
unsigned int  idx 
)
inline

Node accessor.

Definition at line 45 of file node_accessor.hh.

Member Function Documentation

template<int spacedim>
unsigned int NodeAccessor< spacedim >::idx ( ) const
inline

Definition at line 53 of file node_accessor.hh.

template<int spacedim>
void NodeAccessor< spacedim >::inc ( )
inline

Definition at line 62 of file node_accessor.hh.

template<int spacedim>
unsigned int NodeAccessor< spacedim >::index ( ) const
inline

Definition at line 58 of file node_accessor.hh.

template<int spacedim>
bool NodeAccessor< spacedim >::is_valid ( ) const
inline

Definition at line 49 of file node_accessor.hh.

Here is the caller graph for this function:

template<int spacedim>
Point NodeAccessor< spacedim >::operator* ( ) const
inline

Definition at line 71 of file node_accessor.hh.

template<int spacedim>
bool NodeAccessor< spacedim >::operator== ( const NodeAccessor< spacedim > &  other)
inline

Definition at line 67 of file node_accessor.hh.

Member Data Documentation

template<int spacedim>
const Mesh* NodeAccessor< spacedim >::mesh_
private

Pointer to the mesh owning the node.

Definition at line 77 of file node_accessor.hh.

template<int spacedim>
unsigned int NodeAccessor< spacedim >::node_idx_
private

Index into Mesh::node_vec_ array.

Definition at line 80 of file node_accessor.hh.


The documentation for this class was generated from the following files: