Flow123d  release_3.0.0-955-g4db4b48
Public Member Functions | Private Attributes | List of all members
DHNeighbSide Class Reference

#include <dh_cell_accessor.hh>

Collaboration diagram for DHNeighbSide:
Collaboration graph
[legend]

Public Member Functions

 DHNeighbSide ()
 
 DHNeighbSide (const DHCellAccessor &dh_cell, unsigned int neighb_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 DHNeighbSide &other)
 Comparison of accessors. More...
 

Private Attributes

DHCellAccessor dh_cell_
 Appropriate cell accessor. More...
 
unsigned int neighb_idx_
 Index into neigh_vb array. More...
 

Detailed Description

Class allows to iterate over sides of neighbour.

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

Definition at line 261 of file dh_cell_accessor.hh.

Constructor & Destructor Documentation

DHNeighbSide::DHNeighbSide ( )
inline

Default invalid accessor.

Definition at line 266 of file dh_cell_accessor.hh.

DHNeighbSide::DHNeighbSide ( const DHCellAccessor dh_cell,
unsigned int  neighb_idx 
)
inline

Valid accessor allows iterate over neighbor sides.

Definition at line 271 of file dh_cell_accessor.hh.

Member Function Documentation

DHCellSide DHNeighbSide::cell_side ( ) const
inline

Return DHCellSide according to this object.

Definition at line 281 of file dh_cell_accessor.hh.

void DHNeighbSide::inc ( )
inline

Iterates to next edge side.

Definition at line 288 of file dh_cell_accessor.hh.

bool DHNeighbSide::is_valid ( ) const
inline

Check validity of accessor (see default constructor)

Definition at line 276 of file dh_cell_accessor.hh.

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

Comparison of accessors.

Definition at line 293 of file dh_cell_accessor.hh.

Member Data Documentation

DHCellAccessor DHNeighbSide::dh_cell_
private

Appropriate cell accessor.

Definition at line 299 of file dh_cell_accessor.hh.

unsigned int DHNeighbSide::neighb_idx_
private

Index into neigh_vb array.

Definition at line 301 of file dh_cell_accessor.hh.


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