Flow123d  release_3.0.0-859-g84487d0
Public Member Functions | Private Attributes | List of all members
DHEdgeSide Class Reference

#include <dh_cell_accessor.hh>

Collaboration diagram for DHEdgeSide:
Collaboration graph
[legend]

Public Member Functions

 DHEdgeSide ()
 
 DHEdgeSide (const DHCellSide &cell_side, unsigned int side_idx)
 
bool is_valid () const
 Check validity of accessor (see default constructor) More...
 
DHCellSide cell_side () const
 Return DHCellSide according to this object. More...
 
void inc ()
 Iterates to next edge side. More...
 
bool operator== (const DHEdgeSide &other)
 Comparison of accessors. More...
 
unsigned int side_idx ()
 

Private Attributes

DHCellSide cell_side_
 Appropriate side accessor. More...
 
unsigned int edge_idx_
 Pointer to the DOF handler owning the element. More...
 
unsigned int side_idx_
 Index of side owned by Edge. More...
 

Detailed Description

Class allows to iterate over sides of edge.

Iterator provides same behavior as parent class through side() method.

Definition at line 210 of file dh_cell_accessor.hh.

Constructor & Destructor Documentation

DHEdgeSide::DHEdgeSide ( )
inline

Default invalid accessor.

Definition at line 215 of file dh_cell_accessor.hh.

DHEdgeSide::DHEdgeSide ( const DHCellSide cell_side,
unsigned int  side_idx 
)
inline

Valid accessor allows iterate over sides.

Definition at line 220 of file dh_cell_accessor.hh.

Member Function Documentation

DHCellSide DHEdgeSide::cell_side ( ) const
inline

Return DHCellSide according to this object.

Definition at line 230 of file dh_cell_accessor.hh.

void DHEdgeSide::inc ( )
inline

Iterates to next edge side.

Definition at line 235 of file dh_cell_accessor.hh.

bool DHEdgeSide::is_valid ( ) const
inline

Check validity of accessor (see default constructor)

Definition at line 225 of file dh_cell_accessor.hh.

bool DHEdgeSide::operator== ( const DHEdgeSide other)
inline

Comparison of accessors.

Definition at line 240 of file dh_cell_accessor.hh.

unsigned int DHEdgeSide::side_idx ( )
inline

Definition at line 244 of file dh_cell_accessor.hh.

Member Data Documentation

DHCellSide DHEdgeSide::cell_side_
private

Appropriate side accessor.

Definition at line 248 of file dh_cell_accessor.hh.

unsigned int DHEdgeSide::edge_idx_
private

Pointer to the DOF handler owning the element.

Definition at line 250 of file dh_cell_accessor.hh.

unsigned int DHEdgeSide::side_idx_
private

Index of side owned by Edge.

Definition at line 252 of file dh_cell_accessor.hh.


The documentation for this class was generated from the following file: