Flow123d
JS_before_hm-887-g601087d
|
#include <dofhandler.hh>
Public Member Functions | |
DOFHandlerBase (Mesh &_mesh) | |
Constructor. More... | |
unsigned int | n_global_dofs () const |
Getter for the number of all mesh dofs required by the given finite element. More... | |
unsigned int | lsize () const |
Returns the number of dofs on the current process. More... | |
unsigned int | max_elem_dofs () const |
Returns max. number of dofs on one element. More... | |
std::shared_ptr< Distribution > | distr () const |
Mesh * | mesh () const |
Returns the mesh. More... | |
virtual std::size_t | hash () const =0 |
Compute hash value of DOF handler. More... | |
virtual | ~DOFHandlerBase () |
Destructor. More... | |
Protected Member Functions | |
virtual unsigned int | get_dof_indices (const DHCellAccessor &cell, std::vector< LongIdx > &indices) const =0 |
Fill vector of the global indices of dofs associated to the cell . More... | |
virtual LocDofVec | get_loc_dof_indices (unsigned int loc_ele_idx) const =0 |
Returns a vector of the indices of dofs associated to the cell on the local process. More... | |
Protected Attributes | |
unsigned int | n_global_dofs_ |
Number of global dofs assigned by the handler. More... | |
unsigned int | lsize_ |
Number of dofs associated to local process. More... | |
unsigned int | loffset_ |
Index of the first dof on the local process. More... | |
unsigned int | max_elem_dofs_ |
Max. number of dofs per element. More... | |
Mesh * | mesh_ |
Pointer to the mesh to which the dof handler is associated. More... | |
std::shared_ptr< Distribution > | dof_ds_ |
Distribution of dofs associated to local process. More... | |
Class DOFHandlerBase provides an abstract interface for various dof handlers:
Definition at line 47 of file dofhandler.hh.
|
inline |
|
virtual |
Destructor.
Definition at line 41 of file dofhandler.cc.
|
inline |
|
protectedpure virtual |
Fill vector of the global indices of dofs associated to the cell
.
cell | The cell. |
indices | Vector of dof indices on the cell. |
Implemented in DOFHandlerMultiDim.
|
protectedpure virtual |
Returns a vector of the indices of dofs associated to the cell
on the local process.
loc_ele_idx | local element index. |
Implemented in DOFHandlerMultiDim.
|
pure virtual |
Compute hash value of DOF handler.
Implemented in DOFHandlerMultiDim.
|
inline |
Returns the number of dofs on the current process.
Definition at line 66 of file dofhandler.hh.
|
inline |
Returns max. number of dofs on one element.
Definition at line 71 of file dofhandler.hh.
|
inline |
Returns the mesh.
Definition at line 78 of file dofhandler.hh.
|
inline |
Getter for the number of all mesh dofs required by the given finite element.
Definition at line 61 of file dofhandler.hh.
|
protected |
Distribution of dofs associated to local process.
Definition at line 131 of file dofhandler.hh.
|
protected |
Index of the first dof on the local process.
Definition at line 118 of file dofhandler.hh.
|
protected |
Number of dofs associated to local process.
Definition at line 113 of file dofhandler.hh.
|
protected |
Max. number of dofs per element.
Definition at line 121 of file dofhandler.hh.
|
protected |
Pointer to the mesh to which the dof handler is associated.
Definition at line 126 of file dofhandler.hh.
|
protected |
Number of global dofs assigned by the handler.
Definition at line 108 of file dofhandler.hh.