Stratimikos  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Static Public Member Functions | List of all members
Belos::OperatorTraits< ScalarType, Thyra::MultiVectorBase< ScalarType >, Thyra::LinearOpBase< ScalarType > > Class Template Reference

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...
 

Detailed Description

template<class ScalarType>
class Belos::OperatorTraits< ScalarType, Thyra::MultiVectorBase< ScalarType >, Thyra::LinearOpBase< ScalarType > >

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 572 of file BelosThyraAdapter.hpp.

Member Function Documentation

template<class ScalarType >
static void Belos::OperatorTraits< ScalarType, Thyra::MultiVectorBase< ScalarType >, Thyra::LinearOpBase< ScalarType > >::Apply ( const TLOB Op,
const TMVB x,
TMVB y,
ETrans  trans = NOTRANS 
)
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 597 of file BelosThyraAdapter.hpp.

template<class ScalarType >
static bool Belos::OperatorTraits< ScalarType, Thyra::MultiVectorBase< ScalarType >, Thyra::LinearOpBase< ScalarType > >::HasApplyTranspose ( const TLOB Op)
inlinestatic

Whether the operator implements applying the transpose.

Definition at line 625 of file BelosThyraAdapter.hpp.


The documentation for this class was generated from the following file:

Generated on Fri Apr 26 2024 09:22:38 for Stratimikos by doxygen 1.8.5