Optimized version for 2-D structured meshes. More...
#include <Element_accessors.h>
Public Member Functions | |
Element_node_enumerator_str_2 () | |
Element_node_enumerator_str_2 (const Pane *pane, int i) | |
Element_node_enumerator_str_2 (const Pane *pane, const std::pair< int, int > &id) | |
void | next () |
int | operator[] (int i) const |
Public Member Functions inherited from Element_node_enumerator | |
Element_node_enumerator () | |
Element_node_enumerator (const Pane *pane, int i, const Connectivity *conn=NULL) | |
Constructor for an element in a structured or an unstructured mesh. More... | |
Element_node_enumerator (const Pane *pane, const std::pair< int, int > &id) | |
A constructor for an element in a structured mesh. More... | |
void | next () |
Go to the next element within the connectivity tables of a pane. More... | |
int | type () const |
Obtain the type of the element. More... | |
int | is_quadratic () const |
Check whether the element is quadratic. More... | |
int | size_of_nodes () const |
Number of nodes per element. More... | |
int | size_of_corners () const |
Number of corners per element. More... | |
void | get_nodes (std::vector< int > &nodes) |
Get a vector of all of the nodes in the element. More... | |
int | size_of_edges () const |
Number of edges per element. More... | |
int | size_of_faces () const |
Number of faces per element. 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... | |
int | vertex (int lvid, bool level=false) const |
Get the vertex index of an vertex within the element. More... | |
int | operator[] (int i) const |
Obtain the pane-scope node ID from its element-scope index. More... | |
const Pane * | pane () const |
Additional Inherited Members | |
Protected Attributes inherited from Element_node_enumerator | |
const Pane * | _pane |
const Connectivity * | _conn |
union { | |
const int * _start | |
int _base | |
}; | |
int | _res |
Optimized version for 2-D structured meshes.
Definition at line 148 of file Element_accessors.h.
|
inline |
Definition at line 150 of file Element_accessors.h.
|
inline |
Definition at line 151 of file Element_accessors.h.
|
inline |
Definition at line 154 of file Element_accessors.h.
|
inline |
Definition at line 158 of file Element_accessors.h.
References Element_node_enumerator::_base, Element_node_enumerator::_pane, Element_node_enumerator::_res, and Pane::size_i().
Referenced by Pane_dual_connectivity::construct_connectivity_str_2().
|
inline |
Definition at line 161 of file Element_accessors.h.
References Element_node_enumerator::_base, Element_node_enumerator::_pane, and Pane::size_i().