DUNE PDELab (2.8)
A local operator that accumulates the point diagonal. More...
#include <dune/pdelab/localoperator/pointdiagonalwrapper.hh>
Public Member Functions | |
PointDiagonalLocalOperatorWrapper (const LocalOperator &localOperator) | |
Construct new instance of class. More... | |
PointDiagonalLocalOperatorWrapper (const PointDiagonalLocalOperatorWrapper &other) | |
Copy constructor. | |
Detailed Description
class Dune::PDELab::PointDiagonalLocalOperatorWrapper< LocalOperator >
A local operator that accumulates the point diagonal.
Since the point diagonal has exactly the same size as a residual vector we use the residual methods to implement it (instead of going through the jacobian methods and wasting lots of memory).
Note: This operator does skeletons in a one sided fashion. This means that every skeleton-intersection is visited twice for assembling the whole block diagonal. Once from one side and once from the other. This behavior is needed for the implementation of matrix-free block preconditioners.
- Template Parameters
-
in] LocalOperator Type of the local operator that gets wrapped
Constructor & Destructor Documentation
◆ PointDiagonalLocalOperatorWrapper()
|
inline |
Construct new instance of class.
- Parameters
-
[in] _lop Wrapped local operator instance
The documentation for this class was generated from the following file:
- dune/pdelab/localoperator/pointdiagonalwrapper.hh