Flow123d  release_3.0.0-885-g06276d1
Public Member Functions | Private Attributes | List of all members
DHCellSide Class Reference

#include <dh_cell_accessor.hh>

Collaboration diagram for DHCellSide:
Collaboration graph
[legend]

Public Member Functions

 DHCellSide ()
 
 DHCellSide (const DHCellAccessor &dh_cell_accessor, unsigned int side_idx)
 
virtual bool is_valid () const
 Check validity of accessor (see default constructor) More...
 
virtual const Sideside () 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...
 
Range< DHEdgeSideedge_sides () const
 Returns range of all sides looped over common Edge. More...
 
virtual void inc ()
 Iterates to next local element. More...
 
bool operator== (const DHCellSide &other)
 Comparison of accessors. More...
 

Private Attributes

DHCellAccessor dh_cell_accessor_
 Appropriate DHCellAccessor. More...
 
unsigned int side_idx_
 Index of side. More...
 

Detailed Description

Side accessor allows to iterate over sides of DOF handler cell.

Descendants of class allow to iterate over different ranges trough methods:

Definition at line 145 of file dh_cell_accessor.hh.

Constructor & Destructor Documentation

DHCellSide::DHCellSide ( )
inline

Default invalid accessor.

Create invalid dh_cell_accessor_.

Definition at line 153 of file dh_cell_accessor.hh.

DHCellSide::DHCellSide ( const DHCellAccessor dh_cell_accessor,
unsigned int  side_idx 
)
inline

DOF cell side accessor.

Definition at line 158 of file dh_cell_accessor.hh.

Member Function Documentation

const DHCellAccessor DHCellSide::cell ( ) const
inline

Return DHCellAccessor appropriate to the side.

Definition at line 173 of file dh_cell_accessor.hh.

unsigned int DHCellSide::dim ( ) const
inline

Return dimension of element appropriate to the side.

Definition at line 180 of file dh_cell_accessor.hh.

Here is the caller graph for this function:

Range< DHEdgeSide > DHCellSide::edge_sides ( ) const
inline

Returns range of all sides looped over common Edge.

Definition at line 380 of file dh_cell_accessor.hh.

virtual void DHCellSide::inc ( )
inlinevirtual

Iterates to next local element.

Definition at line 188 of file dh_cell_accessor.hh.

virtual bool DHCellSide::is_valid ( ) const
inlinevirtual

Check validity of accessor (see default constructor)

Definition at line 162 of file dh_cell_accessor.hh.

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

Comparison of accessors.

Definition at line 193 of file dh_cell_accessor.hh.

virtual const Side* DHCellSide::side ( ) const
inlinevirtual

Return Side of given cell and side_idx.

Definition at line 167 of file dh_cell_accessor.hh.

Member Data Documentation

DHCellAccessor DHCellSide::dh_cell_accessor_
private

Appropriate DHCellAccessor.

Definition at line 199 of file dh_cell_accessor.hh.

unsigned int DHCellSide::side_idx_
private

Index of side.

Definition at line 201 of file dh_cell_accessor.hh.


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