GEOS
|
Wraps a matrix A and represents A^{-1} * A^{-T} as a linear operator. More...
#include <InverseNormalOperator.hpp>
Public Types | |
using | Base = LinearOperator< typename LAI::ParallelVector > |
Alias for base type. | |
using | Matrix = typename LAI::ParallelMatrix |
Alias for matrix type. | |
using | Vector = typename Base::Vector |
Alias for vector type. | |
using | Solver = SOLVER< LAI > |
Alias for solver type. | |
Public Types inherited from geos::LinearOperator< LAI::ParallelVector > | |
using | Vector = LAI::ParallelVector |
Alias for template parameter. | |
Public Member Functions | |
InverseNormalOperator (Matrix const &mat, Solver const &solver) | |
Constructor. More... | |
virtual | ~InverseNormalOperator () override=default |
Destructor. | |
void | apply (Vector const &src, Vector &dst) const override |
Apply operator to a vector. More... | |
globalIndex | numGlobalRows () const override |
globalIndex | numGlobalCols () const override |
localIndex | numLocalRows () const override |
localIndex | numLocalCols () const override |
MPI_Comm | comm () const override |
Public Member Functions inherited from geos::LinearOperator< LAI::ParallelVector > | |
LinearOperator ()=default | |
Constructor. | |
virtual | ~LinearOperator ()=default |
Destructor. | |
virtual void | apply (Vector const &src, Vector &dst) const=0 |
Apply operator to a vector, dst = this(src) . More... | |
virtual void | residual (Vector const &x, Vector const &b, Vector &r) const |
Compute residual r = b - this(x) . More... | |
Wraps a matrix A and represents A^{-1} * A^{-T} as a linear operator.
LAI | the linear algebra interface |
SOLVER | type of solver used to apply inverse of the matrix |
Definition at line 93 of file InverseNormalOperator.hpp.
|
inlineexplicit |
Constructor.
mat | the underlying matrix (must outlive this operator) |
solver | the solver used to apply inverse of the matrix (must be already setup) |
Definition at line 114 of file InverseNormalOperator.hpp.
|
inlineoverride |
Apply operator to a vector.
src | input vector (x) |
dst | output vector (b) |
src
and dst
cannot alias the same vector (some implementations may allow this). Definition at line 133 of file InverseNormalOperator.hpp.
|
inlineoverridevirtual |
Implements geos::LinearOperator< LAI::ParallelVector >.
Definition at line 174 of file InverseNormalOperator.hpp.
|
inlineoverridevirtual |
Implements geos::LinearOperator< LAI::ParallelVector >.
Definition at line 150 of file InverseNormalOperator.hpp.
|
inlineoverridevirtual |
Implements geos::LinearOperator< LAI::ParallelVector >.
Definition at line 142 of file InverseNormalOperator.hpp.
|
inlineoverridevirtual |
Implements geos::LinearOperator< LAI::ParallelVector >.
Definition at line 166 of file InverseNormalOperator.hpp.
|
inlineoverridevirtual |
Implements geos::LinearOperator< LAI::ParallelVector >.
Definition at line 158 of file InverseNormalOperator.hpp.