Anasazi Version of the Day
Anasazi::OperatorTraits< ScalarType, MV, OP > Class Template Reference

Virtual base class which defines basic traits for the operator type. More...

#include <AnasaziOperatorTraits.hpp>

List of all members.

Static Public Member Functions

Operator application method.
static void Apply (const OP &Op, const MV &x, MV &y)
 Application method which performs operation y = Op*x. An OperatorError exception is thrown if there is an error.

Detailed Description

template<class ScalarType, class MV, class OP>
class Anasazi::OperatorTraits< ScalarType, MV, OP >

Virtual base class which defines basic traits for the operator type.

An adapter for this traits class must exist for the MV and OP types. If not, this class will produce a compile-time error.

Examples:

BlockKrylovSchur/BlockKrylovSchurEpetraEx.cpp, BlockKrylovSchur/BlockKrylovSchurEpetraExGenAmesos.cpp, BlockKrylovSchur/BlockKrylovSchurEpetraExGenAztecOO.cpp, BlockKrylovSchur/BlockKrylovSchurEpetraExGenBelos.cpp, and GeneralizedDavidson/GeneralizedDavidsonEpetraExFileIfpack.cpp.

Definition at line 71 of file AnasaziOperatorTraits.hpp.


Member Function Documentation

template<class ScalarType , class MV , class OP >
static void Anasazi::OperatorTraits< ScalarType, MV, OP >::Apply ( const OP &  Op,
const MV &  x,
MV &  y 
) [inline, static]

Application method which performs operation y = Op*x. An OperatorError exception is thrown if there is an error.

Definition at line 79 of file AnasaziOperatorTraits.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends