Flow123d
release_3.0.0-1263-g7cf53c1
|
Side accessor allows to iterate over sides of DOF handler cell. More...
#include <dh_cell_accessor.hh>
Public Member Functions | |
DHCellSide () | |
Default invalid accessor. More... | |
DHCellSide (const DHCellAccessor &dh_cell_accessor, unsigned int side_idx) | |
virtual bool | is_valid () const |
Check validity of accessor (see default constructor) More... | |
Side | side () const |
Return Side of given cell and side_idx. More... | |
const DHCellAccessor | cell () const |
Return DHCellAccessor appropriate to the side. More... | |
unsigned int | dim () const |
Return dimension of element appropriate to the side. More... | |
arma::vec3 | centre () const |
Side centre. More... | |
ElementAccessor< 3 > | element () const |
unsigned int | elem_idx () const |
Boundary | cond () const |
unsigned int | side_idx () const |
double | measure () const |
double | diameter () const |
RangeConvert< DHEdgeSide, DHCellSide > | edge_sides () const |
Returns range of all sides looped over common Edge. More... | |
unsigned int | n_edge_sides () const |
virtual void | inc () |
Iterates to next local element. More... | |
bool | operator== (const DHCellSide &other) |
Comparison of accessors. More... | |
bool | operator!= (const DHCellSide &other) |
Private Attributes | |
DHCellAccessor | dh_cell_accessor_ |
Appropriate DHCellAccessor. More... | |
unsigned int | side_idx_ |
Index of side. More... | |
Friends | |
class | DHEdgeSide |
Side accessor allows to iterate over sides of DOF handler cell.
Iterator is defined by:
Definition at line 157 of file dh_cell_accessor.hh.
|
inline |
Default invalid accessor.
Create invalid dh_cell_accessor_
.
Definition at line 165 of file dh_cell_accessor.hh.
|
inline |
DOF cell side accessor.
Definition at line 170 of file dh_cell_accessor.hh.
|
inline |
Return DHCellAccessor appropriate to the side.
Definition at line 185 of file dh_cell_accessor.hh.
|
inline |
Side centre.
Definition at line 195 of file dh_cell_accessor.hh.
|
inline |
Definition at line 207 of file dh_cell_accessor.hh.
|
inline |
Definition at line 219 of file dh_cell_accessor.hh.
|
inline |
Return dimension of element appropriate to the side.
Definition at line 190 of file dh_cell_accessor.hh.
|
inline |
Returns range of all sides looped over common Edge.
Definition at line 449 of file dh_cell_accessor.hh.
|
inline |
|
inline |
Definition at line 199 of file dh_cell_accessor.hh.
|
inlinevirtual |
Iterates to next local element.
Definition at line 235 of file dh_cell_accessor.hh.
|
inlinevirtual |
Check validity of accessor (see default constructor)
Definition at line 174 of file dh_cell_accessor.hh.
|
inline |
Definition at line 215 of file dh_cell_accessor.hh.
|
inline |
Returns total number of sides appropriate to Edge that owns actual cell side.
return empty range if no element connected to Edge is local
Definition at line 455 of file dh_cell_accessor.hh.
|
inline |
Definition at line 244 of file dh_cell_accessor.hh.
|
inline |
Comparison of accessors.
Definition at line 240 of file dh_cell_accessor.hh.
|
inline |
Return Side of given cell and side_idx.
Definition at line 179 of file dh_cell_accessor.hh.
|
inline |
Definition at line 211 of file dh_cell_accessor.hh.
|
friend |
Definition at line 254 of file dh_cell_accessor.hh.
|
private |
Appropriate DHCellAccessor.
Definition at line 250 of file dh_cell_accessor.hh.
|
private |
Index of side.
Definition at line 252 of file dh_cell_accessor.hh.