|
Flow123d
JS_before_hm-2-g912b55d
|
Cell accessor allow iterate over DOF handler cells. More...
#include <dh_cell_accessor.hh>

Public Member Functions | |
| DHCellAccessor () | |
| Default invalid accessor. More... | |
| DHCellAccessor (const DOFHandlerMultiDim *dof_handler, unsigned int loc_idx) | |
| unsigned int | local_idx () const |
| Return local index to element (index of DOF handler). More... | |
| unsigned int | elm_idx () const |
| Return serial idx to element of loc_ele_idx_. More... | |
| const ElementAccessor< 3 > | elm () const |
| Return ElementAccessor to element of loc_ele_idx_. More... | |
| unsigned int | get_dof_indices (std::vector< int > &indices) const |
| Fill vector of the global indices of dofs associated to the cell. More... | |
| unsigned int | get_loc_dof_indices (std::vector< LongIdx > &indices) const |
| Returns the indices of dofs associated to the cell on the local process. More... | |
| unsigned int | n_dofs () const |
| Return number of dofs on given cell. More... | |
| const Dof & | cell_dof (unsigned int idof) const |
| Return dof on a given cell. More... | |
| unsigned int | dim () const |
| Return dimension of element appropriate to cell. More... | |
| template<unsigned int dim> | |
| FiniteElement< dim > * | fe () const |
| Returns finite element object for given space dimension. More... | |
| bool | is_valid () const |
| Check validity of accessor (see default constructor) More... | |
| Range< DHCellSide > | side_range () const |
| Returns range of cell sides. More... | |
| RangeConvert< DHNeighbSide, DHCellSide > | neighb_sides () const |
| Returns range of neighbour cell of lower dimension corresponding to cell of higher dimension. More... | |
| bool | is_own () const |
| Return true if accessor represents own element (false for ghost element) More... | |
| void | inc () |
| Iterates to next local element. More... | |
| bool | operator== (const DHCellAccessor &other) |
| Comparison of accessors. More... | |
Private Attributes | |
| const DOFHandlerMultiDim * | dof_handler_ |
| Pointer to the DOF handler owning the element. More... | |
| unsigned int | loc_ele_idx_ |
| Index into DOFHandler::el_4_loc array. More... | |
Friends | |
| class | DHCellSide |
| class | DHEdgeSide |
| class | DHNeighbSide |
Cell accessor allow iterate over DOF handler cells.
Iterating is possible over different ranges of local and ghost elements.
Iterator is defined by:
Definition at line 41 of file dh_cell_accessor.hh.
|
inline |
Default invalid accessor.
Definition at line 44 of file dh_cell_accessor.hh.
|
inline |
DOF cell accessor.
Definition at line 51 of file dh_cell_accessor.hh.
|
inline |
Return dof on a given cell.
| idof | Number of dof on the cell. |
Definition at line 413 of file dh_cell_accessor.hh.

|
inline |
Return dimension of element appropriate to cell.
Definition at line 99 of file dh_cell_accessor.hh.

|
inline |
Return ElementAccessor to element of loc_ele_idx_.
Definition at line 69 of file dh_cell_accessor.hh.

|
inline |
Return serial idx to element of loc_ele_idx_.
Definition at line 62 of file dh_cell_accessor.hh.

|
inline |
Returns finite element object for given space dimension.
Definition at line 107 of file dh_cell_accessor.hh.
|
inline |
Fill vector of the global indices of dofs associated to the cell.
| indices | Vector of dof indices on the cell. |
Definition at line 78 of file dh_cell_accessor.hh.

|
inline |
Returns the indices of dofs associated to the cell on the local process.
| indices | Array of dof indices on the cell. |
Definition at line 86 of file dh_cell_accessor.hh.

|
inline |
Iterates to next local element.
Definition at line 129 of file dh_cell_accessor.hh.
|
inline |
Return true if accessor represents own element (false for ghost element)
Definition at line 124 of file dh_cell_accessor.hh.

|
inline |
Check validity of accessor (see default constructor)
Definition at line 113 of file dh_cell_accessor.hh.

|
inline |
Return local index to element (index of DOF handler).
Definition at line 56 of file dh_cell_accessor.hh.

|
inline |
Return number of dofs on given cell.
Definition at line 396 of file dh_cell_accessor.hh.

|
inline |
Returns range of neighbour cell of lower dimension corresponding to cell of higher dimension.
Definition at line 441 of file dh_cell_accessor.hh.

|
inline |
Comparison of accessors.
Definition at line 134 of file dh_cell_accessor.hh.
|
inline |
Returns range of cell sides.
Definition at line 434 of file dh_cell_accessor.hh.

|
friend |
Definition at line 144 of file dh_cell_accessor.hh.
|
friend |
Definition at line 145 of file dh_cell_accessor.hh.
|
friend |
Definition at line 146 of file dh_cell_accessor.hh.
|
private |
Pointer to the DOF handler owning the element.
Definition at line 140 of file dh_cell_accessor.hh.
|
private |
Index into DOFHandler::el_4_loc array.
Definition at line 142 of file dh_cell_accessor.hh.
1.8.11