|
| | PreconditionerJacobi (const Vector< ValueTypeOperator, memorySpace > &diagonal) |
| | Constructor. More...
|
| |
| | ~PreconditionerJacobi ()=default |
| | Default Destructor. More...
|
| |
| void | apply (MultiVector< ValueTypeOperand, memorySpace > &X, MultiVector< ValueTypeUnion, memorySpace > &Y, bool updateGhostX=false, bool updateGhostY=false) const override |
| |
| PreconditionerType | getPreconditionerType () const override |
| |
| | ~Preconditioner ()=default |
| | Default Destructor. More...
|
| |
| virtual void | apply (MultiVector< ValueTypeOperand, memorySpace > &X, MultiVector< ValueTypeUnion, memorySpace > &Y, bool updateGhostX=false, bool updateGhostY=false) const =0 |
| |
| virtual PreconditionerType | getPreconditionerType () const =0 |
| |
| | ~OperatorContext ()=default |
| | Default Destructor. More...
|
| |
| virtual void | apply (MultiVector< ValueTypeOperand, memorySpace > &X, MultiVector< ValueTypeUnion, memorySpace > &Y, bool updateGhostX=false, bool updateGhostY=false) const =0 |
| |
template<typename ValueTypeOperator, typename ValueTypeOperand,
utils::MemorySpace memorySpace>
class dftefe::linearAlgebra::PreconditionerJacobi< ValueTypeOperator, ValueTypeOperand, memorySpace >
Class to encapsulate the Jacobi preconditioner.
- Template Parameters
-
| ValueTypeOperator | The datatype (float, double, complex<double>, etc.) for the underlying preconditioner |
| ValueTypeOperand | The datatype (float, double, complex<double>, etc.) of the vector, matrices, etc. on which the preconditioner will act. |
| memorySpace | The meory sapce (HOST, DEVICE, HOST_PINNES, etc.) in which the data of the preconditioner and its operands reside |