#include <BelosOperator.hpp>
Inheritance diagram for Belos::Operator< ScalarType >:

Public Member Functions | |
Constructor/Destructor | |
| Operator () | |
| Default constructor. | |
| virtual | ~Operator () |
| Destructor. | |
Operator application method | |
| virtual void | Apply (const MultiVec< ScalarType > &x, MultiVec< ScalarType > &y, ETrans trans=NOTRANS) const =0 |
This routine takes the Belos::MultiVec x and applies the operator to it resulting in the Belos::MultiVec y, which is returned. | |
This operator is used as the interface to the matrix (A), solution (X), and right-hand side (B) of the linear system AX = B. Furthermore, it is also the interface to left/right preconditioning and left/right scaling of the linear system.
A concrete implementation of this class is necessary. The user can create their own implementation if those supplied are not suitable for their needs.
Definition at line 60 of file BelosOperator.hpp.
| Belos::Operator< ScalarType >::Operator | ( | ) | [inline] |
| virtual Belos::Operator< ScalarType >::~Operator | ( | ) | [inline, virtual] |
| virtual void Belos::Operator< ScalarType >::Apply | ( | const MultiVec< ScalarType > & | x, | |
| MultiVec< ScalarType > & | y, | |||
| ETrans | trans = NOTRANS | |||
| ) | const [pure virtual] |
This routine takes the Belos::MultiVec x and applies the operator to it resulting in the Belos::MultiVec y, which is returned.
x will be indicated by an std::exception being thrown. Implemented in Belos::EpetraOp, and Belos::EpetraPrecOp.
1.4.7