GEOSX
|
NormalOperator Simple class to apply the operator A^T * A to a vector. More...
#include <Arnoldi.hpp>
Public Member Functions | |
void | set (MATRIX const &matrix, MPI_Comm const comm) |
Sets the matrix. More... | |
globalIndex | numGlobalRows () const override |
Returns the global number of rows. More... | |
globalIndex | numGlobalCols () const override |
Returns the global number of columns. More... | |
localIndex | numLocalRows () const |
Returns the local number of rows. More... | |
MPI_Comm const & | getComm () const |
Returns the communicator. More... | |
void | apply (VECTOR const &x, VECTOR &y) const override |
Applies the matrix and its transpose to a vector. More... | |
Public Member Functions inherited from geosx::LinearOperator< VECTOR > | |
LinearOperator ()=default | |
Constructor. | |
virtual | ~LinearOperator ()=default |
Destructor. | |
virtual void | residual (Vector const &x, Vector const &b, Vector &r) const |
Compute residual r = Ax - b . More... | |
Additional Inherited Members | |
Public Types inherited from geosx::LinearOperator< VECTOR > | |
using | Vector = VECTOR |
Alias for template parameter. | |
NormalOperator Simple class to apply the operator A^T * A to a vector.
Definition at line 33 of file Arnoldi.hpp.
|
inlineoverridevirtual |
Applies the matrix and its transpose to a vector.
x | the input vector |
y | the output vector |
Implements geosx::LinearOperator< VECTOR >.
Definition at line 89 of file Arnoldi.hpp.
|
inline |
|
inlineoverridevirtual |
Returns the global number of columns.
Implements geosx::LinearOperator< VECTOR >.
Definition at line 61 of file Arnoldi.hpp.
|
inlineoverridevirtual |
Returns the global number of rows.
Implements geosx::LinearOperator< VECTOR >.
Definition at line 52 of file Arnoldi.hpp.
|
inline |
Returns the local number of rows.
Definition at line 70 of file Arnoldi.hpp.
|
inline |
Sets the matrix.
matrix | the matrix |
comm | the MPI communicator |
Definition at line 42 of file Arnoldi.hpp.