Belos  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | List of all members
Belos::OperatorTraits< Scalar, MV, InnerSolver< Scalar, MV, OP > > Class Template Reference

Partial specialization of OperatorTraits for InnerSolver. More...

#include <BelosInnerSolver.hpp>

Static Public Member Functions

static void Apply (const InnerSolver< Scalar, MV, OP > &Op, const MV &x, MV &y, ETrans trans=NOTRANS)
 

Detailed Description

template<class Scalar, class MV, class OP>
class Belos::OperatorTraits< Scalar, MV, InnerSolver< Scalar, MV, OP > >

Partial specialization of OperatorTraits for InnerSolver.

This partial specialization lets you use InnerSolver (or any of its implementations) as an operator ("OP") in any of the Belos iterative methods. Remember that in Belos, the preconditioner and the matrix operators must have the same type. Thus, using InnerSolver as the OP template argument in Belos solvers would be best with unpreconditioned iterative methods.

Definition at line 265 of file BelosInnerSolver.hpp.

Member Function Documentation

template<class Scalar , class MV , class OP >
static void Belos::OperatorTraits< Scalar, MV, InnerSolver< Scalar, MV, OP > >::Apply ( const InnerSolver< Scalar, MV, OP > &  Op,
const MV &  x,
MV &  y,
ETrans  trans = NOTRANS 
)
inlinestatic

Definition at line 268 of file BelosInnerSolver.hpp.


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

Generated on Tue Apr 23 2024 09:28:00 for Belos by doxygen 1.8.5