#include <Pane_node_accessors.h>
Public Member Functions | |
Pane_node_enumerator () | |
Pane_node_enumerator (const Pane *pane, int i, const Connectivity *conn=NULL) | |
Constructor for an element in a structured or an unstructured mesh. More... | |
int | next () |
Go to the next element within the connectivity tables of a pane. More... | |
int | dimension () const |
Get the dimension of the base pane. More... | |
int | id () const |
Get the local id of the element within the pane. More... | |
const Pane * | pane () const |
Protected Member Functions | |
bool | position_allowed3D () |
Determine in the current node number is a real node or a ghost node If it is a ghost node, return false. More... | |
bool | position_allowed2D () |
Determine in the current node number is a real node or a ghost node If it is a ghost node, return false. More... | |
void | set_first () |
Protected Attributes | |
const Pane * | _pane |
const Connectivity * | _conn |
int | _node_num |
int | ni |
int | nj |
int | nk |
int | _buffer |
int | _size_of_nodes |
Definition at line 40 of file Pane_node_accessors.h.
|
inline |
Definition at line 42 of file Pane_node_accessors.h.
COM_BEGIN_NAME_SPACE Pane_node_enumerator | ( | const Pane * | pane, |
int | i, | ||
const Connectivity * | conn = NULL |
||
) |
Constructor for an element in a structured or an unstructured mesh.
If conn==NULL, then i is an element index local to the pane. If conn!=NULL, then i is an element index local to the connectivity.
Definition at line 33 of file Pane_node_accessors.C.
References _buffer, _node_num, _pane, _size_of_nodes, COM_assertion, Pane::dimension(), i, Pane::is_unstructured(), ni, nj, nk, set_first(), Pane::size_i(), Pane::size_j(), Pane::size_k(), Pane::size_of_ghost_layers(), and Pane::size_of_nodes().
|
inline |
Get the dimension of the base pane.
Definition at line 54 of file Pane_node_accessors.h.
References _pane, and Pane::dimension().
|
inline |
Get the local id of the element within the pane.
Definition at line 57 of file Pane_node_accessors.h.
References _node_num.
int next | ( | ) |
Go to the next element within the connectivity tables of a pane.
Return the next allowed node number.
For structured meshes with ghost layers, one cannot number sequentially, so this method iterates to the next allowed node number
Definition at line 103 of file Pane_node_accessors.C.
References _node_num, _pane, _size_of_nodes, COM_assertion, Pane::dimension(), Pane::is_unstructured(), position_allowed2D(), and position_allowed3D().
|
inline |
|
protected |
|
protected |
|
inlineprotected |
Definition at line 75 of file Pane_node_accessors.h.
References _buffer, _node_num, ni, and nj.
Referenced by Pane_node_enumerator().
|
protected |
Definition at line 73 of file Pane_node_accessors.h.
Referenced by Pane_node_enumerator(), position_allowed2D(), position_allowed3D(), and set_first().
|
protected |
Definition at line 66 of file Pane_node_accessors.h.
|
protected |
Definition at line 69 of file Pane_node_accessors.h.
Referenced by id(), next(), Pane_node_enumerator(), position_allowed2D(), position_allowed3D(), and set_first().
|
protected |
Definition at line 65 of file Pane_node_accessors.h.
Referenced by dimension(), next(), pane(), and Pane_node_enumerator().
|
protected |
Definition at line 74 of file Pane_node_accessors.h.
Referenced by next(), and Pane_node_enumerator().
|
protected |
Definition at line 70 of file Pane_node_accessors.h.
Referenced by Pane_node_enumerator(), position_allowed2D(), position_allowed3D(), and set_first().
|
protected |
Definition at line 71 of file Pane_node_accessors.h.
Referenced by Pane_node_enumerator(), position_allowed2D(), position_allowed3D(), and set_first().
|
protected |
Definition at line 72 of file Pane_node_accessors.h.
Referenced by Pane_node_enumerator(), position_allowed2D(), and position_allowed3D().