Flow123d  JS_before_hm-2109-g2815a84fd
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 MeshBase *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 MeshBasemesh_
 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 55 of file mesh.h.

Member Typedef Documentation

◆ Point

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

Definition at line 33 of file node_accessor.hh.

Constructor & Destructor Documentation

◆ NodeAccessor() [1/2]

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

Default invalid accessor.

Definition at line 38 of file node_accessor.hh.

◆ NodeAccessor() [2/2]

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

Node accessor.

Definition at line 45 of file node_accessor.hh.

Member Function Documentation

◆ idx()

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

Definition at line 53 of file node_accessor.hh.

◆ inc()

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

Definition at line 62 of file node_accessor.hh.

◆ index()

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

Definition at line 58 of file node_accessor.hh.

◆ is_valid()

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:

◆ operator*()

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

Definition at line 71 of file node_accessor.hh.

◆ operator==()

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

Definition at line 67 of file node_accessor.hh.

Member Data Documentation

◆ mesh_

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

Pointer to the mesh owning the node.

Definition at line 77 of file node_accessor.hh.

◆ node_idx_

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: