Flow123d
jenkins-Flow123d-windows-release-multijob-285
|
#include <dofhandler.hh>
Public Types | |
typedef ElementFullIter | CellIterator |
Alias for iterator over cells. More... | |
Public Member Functions | |
DOFHandlerBase (Mesh &_mesh) | |
Constructor. More... | |
const unsigned int | n_global_dofs () const |
Getter for the number of all mesh dofs required by the given finite element. More... | |
const unsigned int | offset () const |
Returns the number of the first global dof handled by this DOFHandler. More... | |
const unsigned int | lsize () const |
Returns the number of dofs on the current process. More... | |
const unsigned int | loffset () const |
Returns the offset of the local part of dofs. More... | |
Distribution * | distr () const |
Mesh * | mesh () const |
virtual void | get_dof_indices (const CellIterator &cell, unsigned int indices[]) const =0 |
Returns the global indices of dofs associated to the cell . More... | |
virtual void | get_dof_values (const CellIterator &cell, const Vec &values, double local_values[]) const =0 |
Returns the dof values associated to the cell . More... | |
virtual | ~DOFHandlerBase () |
Destructor. More... | |
Protected Attributes | |
unsigned int | global_dof_offset |
Index of first global dof. More... | |
unsigned int | n_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... | |
Mesh * | mesh_ |
Pointer to the mesh to which the dof handler is associated. More... | |
Distribution * | ds_ |
Distribution of dofs associated to local process. More... | |
Class DOFHandlerBase provides an abstract interface for various dof handlers:
Definition at line 50 of file dofhandler.hh.
Alias for iterator over cells.
TODO: Notation to be fixed: element or cell TODO: Iterator goes through cells of all dimensions, but should go only through dim-dimensional ones.
Definition at line 57 of file dofhandler.hh.
|
inline |
|
inlinevirtual |
Destructor.
Definition at line 113 of file dofhandler.hh.
|
inline |
|
pure virtual |
Returns the global indices of dofs associated to the cell
.
cell | The cell. |
indices | Array of dof indices on the cell. |
Implemented in DOFHandlerMultiDim.
|
pure virtual |
Returns the dof values associated to the cell
.
cell | The cell. |
values | The global vector of values. |
local_values | Array of values at local dofs. |
Implemented in DOFHandlerMultiDim.
|
inline |
Returns the offset of the local part of dofs.
Definition at line 88 of file dofhandler.hh.
|
inline |
Returns the number of dofs on the current process.
Definition at line 83 of file dofhandler.hh.
|
inline |
Definition at line 92 of file dofhandler.hh.
|
inline |
Getter for the number of all mesh dofs required by the given finite element.
Definition at line 72 of file dofhandler.hh.
|
inline |
Returns the number of the first global dof handled by this DOFHandler.
Definition at line 78 of file dofhandler.hh.
|
protected |
Distribution of dofs associated to local process.
Definition at line 149 of file dofhandler.hh.
|
protected |
Index of first global dof.
Positive value indicates that the first global_dof_offset
entries in the global dof vector are reserved for a different DOFHandler.
Definition at line 113 of file dofhandler.hh.
|
protected |
Index of the first dof on the local process.
Definition at line 139 of file dofhandler.hh.
|
protected |
Number of dofs associated to local process.
Definition at line 134 of file dofhandler.hh.
|
protected |
Pointer to the mesh to which the dof handler is associated.
Definition at line 144 of file dofhandler.hh.
|
protected |
Number of global dofs assigned by the handler.
Definition at line 129 of file dofhandler.hh.