Flow123d
release_3.0.0-1026-ga6b0c21
|
Class allows to iterate over sides of edge. More...
#include <dh_cell_accessor.hh>
Public Member Functions | |
DHEdgeSide () | |
Default invalid accessor. More... | |
DHEdgeSide (const DHCellSide &cell_side, unsigned int side_idx) | |
bool | is_valid () const |
Check validity of accessor (see default constructor) More... | |
void | inc () |
Iterates to next edge side. More... | |
bool | operator== (const DHEdgeSide &other) |
Comparison of accessors. More... | |
operator DHCellSide () const | |
This class is implicitly convertible to DHCellSide. More... | |
Private Attributes | |
const DOFHandlerMultiDim * | dof_handler_ |
Pointer to the DOF handler owning the element. More... | |
unsigned int | edge_idx_ |
Global index of Edge. More... | |
unsigned int | side_idx_ |
Index of side owned by Edge. More... | |
Class allows to iterate over sides of edge.
Iterator is defined by:
Note: Class is used only internally. Appropriate range method (DHCellSide::edge_sides) uses convertible iterators and returns corresponding DHCellSide.
Definition at line 234 of file dh_cell_accessor.hh.
|
inline |
Default invalid accessor.
Definition at line 237 of file dh_cell_accessor.hh.
|
inline |
Valid accessor allows iterate over sides.
Definition at line 242 of file dh_cell_accessor.hh.
|
inline |
Iterates to next edge side.
Definition at line 254 of file dh_cell_accessor.hh.
|
inline |
Check validity of accessor (see default constructor)
Definition at line 249 of file dh_cell_accessor.hh.
|
inline |
This class is implicitly convertible to DHCellSide.
Definition at line 264 of file dh_cell_accessor.hh.
|
inline |
Comparison of accessors.
Definition at line 259 of file dh_cell_accessor.hh.
|
private |
Pointer to the DOF handler owning the element.
Definition at line 272 of file dh_cell_accessor.hh.
|
private |
Global index of Edge.
Definition at line 274 of file dh_cell_accessor.hh.
|
private |
Index of side owned by Edge.
Definition at line 276 of file dh_cell_accessor.hh.