Stratimikos
Version of the Day
|
Specialization of OperatorTraits for Thyra objects. More...
#include <BelosThyraAdapter.hpp>
Static Public Member Functions | |
static void | Apply (const TLOB &Op, const TMVB &x, TMVB &y, ETrans trans=NOTRANS) |
Apply Op to x, storing the result in y. More... | |
static bool | HasApplyTranspose (const TLOB &Op) |
Whether the operator implements applying the transpose. More... | |
Specialization of OperatorTraits for Thyra objects.
This is a partial specialization of the Belos::OperatorTraits traits class with Thyra::LinearOpBase as the operator type, and Thyra::MultiVectorBase class as the multivector type. This interface will ensure that any LinearOpBase and MultiVectorBase implementations will be accepted by the Belos templated solvers.
Definition at line 557 of file BelosThyraAdapter.hpp.
|
inlinestatic |
Apply Op to x, storing the result in y.
This method takes the MultiVectorBase x
and applies the LinearOpBase Op
to it, resulting in the MultiVectorBase y
.
If x is not in the domain of the operator or y is not in the range of the operator, then the operator will throw a Thyra::Exceptions::IncompatibleVectorSpaces exception.
We don't check here whether the operator implements the requested trans
operation. Call HasApplyTranspose() to check, for the cases trans=TRANS or CONJTRANS. If the operation is not supported, the operator will throw a Thyra::Exceptions::OpNotSupported exception.
Definition at line 582 of file BelosThyraAdapter.hpp.
|
inlinestatic |
Whether the operator implements applying the transpose.
Definition at line 610 of file BelosThyraAdapter.hpp.