Flow123d  JS_before_hm-978-gf0793cd
Public Member Functions | Private Attributes | List of all members
DHEdgeSide Class Reference

Class allows to iterate over sides of edge. More...

#include <dh_cell_accessor.hh>

Collaboration diagram for DHEdgeSide:
Collaboration graph
[legend]

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 DOFHandlerMultiDimdof_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...
 

Detailed Description

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 307 of file dh_cell_accessor.hh.

Constructor & Destructor Documentation

DHEdgeSide::DHEdgeSide ( )
inline

Default invalid accessor.

Definition at line 310 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 315 of file dh_cell_accessor.hh.

Member Function Documentation

void DHEdgeSide::inc ( )
inline

Iterates to next edge side.

Definition at line 327 of file dh_cell_accessor.hh.

bool DHEdgeSide::is_valid ( ) const
inline

Check validity of accessor (see default constructor)

Definition at line 322 of file dh_cell_accessor.hh.

DHEdgeSide::operator DHCellSide ( ) const
inline

This class is implicitly convertible to DHCellSide.

Definition at line 337 of file dh_cell_accessor.hh.

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

Comparison of accessors.

Definition at line 332 of file dh_cell_accessor.hh.

Member Data Documentation

const DOFHandlerMultiDim* DHEdgeSide::dof_handler_
private

Pointer to the DOF handler owning the element.

Definition at line 345 of file dh_cell_accessor.hh.

unsigned int DHEdgeSide::edge_idx_
private

Global index of Edge.

Definition at line 347 of file dh_cell_accessor.hh.

unsigned int DHEdgeSide::side_idx_
private

Index of side owned by Edge.

Definition at line 349 of file dh_cell_accessor.hh.


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