CHROMA
Public Member Functions | List of all members

Linear Operator to arrays. More...

#include <linearop.h>

Inheritance diagram for Chroma::LinearOperatorArray< T >:
Chroma::DiffLinearOperatorArray< T, P, Q > Chroma::MdagLinOpArray< T > Chroma::MdagMLinOpArray< T > Chroma::lg5RHermArray< T > Chroma::lghermArray< T > Chroma::lopsclArray< T, C > Chroma::DslashLinearOperatorArray< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > Chroma::UnprecLinearOperatorArray< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > Chroma::DiffMdagLinOpArray< T, P, Q > Chroma::DiffMdagMLinOpArray< T, P, Q > Chroma::DslashLinearOperatorArray< T, P, Q > Chroma::EvenOddPrecLinearOperatorArray< T, P, Q > Chroma::UnprecLinearOperatorArray< T, P, Q > Chroma::WilsonDslashBaseArray Chroma::UnprecDWLikeLinOpBaseArray< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > Chroma::UnprecHTContFrac5DLinOpArray Chroma::UnprecOvExtLinOpArray Chroma::UnprecOvlapContFrac5DLinOpArray Chroma::UnprecOvlapContFrac5DNonHermOpArray Chroma::UnprecOvlapContFrac5DPVLinOpArray Chroma::EvenOddPrecConstDetLinearOperatorArray< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > Chroma::EvenOddPrecConstDetLinearOperatorArray< T, P, Q > Chroma::EvenOddPrecLogDetLinearOperatorArray< T, P, Q > Chroma::UnprecDWLikeLinOpBaseArray< T, P, Q >

Public Member Functions

virtual ~LinearOperatorArray ()
 Virtual destructor to help with cleanup;. More...
 
virtual int size () const =0
 Expected length of array index. More...
 
virtual void operator() (multi1d< T > &chi, const multi1d< T > &psi, enum PlusMinus isign) const =0
 Apply the operator onto a source std::vector. More...
 
virtual void operator() (multi1d< T > &chi, const multi1d< T > &psi, enum PlusMinus isign, Real epsilon) const
 Apply the operator onto a source std::vector to some precision. More...
 
virtual const Subset & subset () const =0
 Return the subset on which the operator acts. More...
 
virtual unsigned long nFlops () const
 

Detailed Description

template<typename T>
class Chroma::LinearOperatorArray< T >

Linear Operator to arrays.

Supports creation and application for linear operators that hold things like Dirac operators, etc.

Definition at line 60 of file linearop.h.

Constructor & Destructor Documentation

◆ ~LinearOperatorArray()

template<typename T >
virtual Chroma::LinearOperatorArray< T >::~LinearOperatorArray ( )
inlinevirtual

Virtual destructor to help with cleanup;.

Definition at line 64 of file linearop.h.

Member Function Documentation

◆ nFlops()

template<typename T >
virtual unsigned long Chroma::LinearOperatorArray< T >::nFlops ( void  ) const
inlinevirtual

◆ operator()() [1/2]

template<typename T >
virtual void Chroma::LinearOperatorArray< T >::operator() ( multi1d< T > &  chi,
const multi1d< T > &  psi,
enum PlusMinus  isign 
) const
pure virtual

◆ operator()() [2/2]

template<typename T >
virtual void Chroma::LinearOperatorArray< T >::operator() ( multi1d< T > &  chi,
const multi1d< T > &  psi,
enum PlusMinus  isign,
Real  epsilon 
) const
inlinevirtual

Apply the operator onto a source std::vector to some precision.

Definition at line 74 of file linearop.h.

References chi, Chroma::isign, and psi.

◆ size()

template<typename T >
virtual int Chroma::LinearOperatorArray< T >::size ( ) const
pure virtual

Expected length of array index.

Implemented in Chroma::EvenOddPrecConstDetLinearOperatorArray< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >, Chroma::EvenOddPrecLinearOperatorArray< T, P, Q >, Chroma::EvenOddPrecConstDetLinearOperatorArray< T, P, Q >, Chroma::DslashLinearOperatorArray< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >, Chroma::UnprecDWLikeLinOpBaseArray< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >, Chroma::EvenOddPrecDWLikeLinOpBaseArray< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >, Chroma::DslashLinearOperatorArray< T, P, Q >, Chroma::EvenOddPrecLogDetLinearOperatorArray< T, P, Q >, Chroma::UnprecDWLikeLinOpBaseArray< T, P, Q >, Chroma::EvenOddPrecDWLikeLinOpBaseArray< T, P, Q >, Chroma::DiffMdagMLinOpArray< T, P, Q >, Chroma::MdagMLinOpArray< T >, Chroma::DiffMdagLinOpArray< T, P, Q >, Chroma::MdagLinOpArray< T >, Chroma::UnprecOvlapContFrac5DPVLinOpArray, Chroma::UnprecOvlapContFrac5DNonHermOpArray, Chroma::UnprecOvlapContFrac5DLinOpArray, Chroma::UnprecOvExtLinOpArray, Chroma::UnprecOvDWLinOpArray, Chroma::UnprecNEFDWLinOpArray, Chroma::UnprecHTContFrac5DLinOpArray, Chroma::UnprecDWLinOpArray, Chroma::QDPWilsonDslashArray, Chroma::SSEWilsonDslashArray, Chroma::QDPWilsonDslashArrayOpt, Chroma::PABWilsonDslashArray, Chroma::lopsclArray< T, C >, Chroma::lghermArray< T >, Chroma::lg5RHermArray< T >, Chroma::EvenOddPrecOvlapContFrac5DPVLinOpArray, Chroma::EvenOddPrecOvlapContFrac5DLinOpBaseArray, Chroma::EvenOddPrecOvExtLinOpArray, Chroma::EvenOddPrecOvDWLinOpArray, Chroma::EvenOddPrecNEFDWLinOpArray, Chroma::EvenOddPrecGenNEFDWLinOpArray, Chroma::EvenOddPrecHtContFrac5DLinOpArray, and Chroma::EvenOddPrecDWLinOpArray.

Referenced by Chroma::EigSpecRitzCG(), Chroma::InvBorici_a(), and Chroma::InvGMRESR_CG_a().

◆ subset()

template<typename T >
virtual const Subset& Chroma::LinearOperatorArray< T >::subset ( ) const
pure virtual

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