CHROMA
Public Member Functions | List of all members
Chroma::MultiSystemSolverArray< T > Class Template Referenceabstract

Linear multi-system solvers of arrays. More...

#include <syssolver.h>

Inheritance diagram for Chroma::MultiSystemSolverArray< T >:
Chroma::LinOpMultiSystemSolverArray< T > Chroma::MdagMMultiSystemSolverArray< T > Chroma::MdagMMultiSysSolverCGArray< T >

Public Member Functions

virtual ~MultiSystemSolverArray ()
 Virtual destructor to help with cleanup;. More...
 
virtual int size () const =0
 Expected length of array index. More...
 
virtual SystemSolverResults_t operator() (multi1d< multi1d< T > > &psi, const multi1d< Real > &shifts, const multi1d< T > &chi) const =0
 Apply the operator onto a source std::vector. More...
 
virtual const Subset & subset () const =0
 Return the subset on which the operator acts. More...
 

Detailed Description

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

Linear multi-system solvers of arrays.

Solves multi-shift linear systems of equations. The solver may only live on a subset.

Definition at line 125 of file syssolver.h.

Constructor & Destructor Documentation

◆ ~MultiSystemSolverArray()

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

Virtual destructor to help with cleanup;.

Definition at line 129 of file syssolver.h.

Member Function Documentation

◆ operator()()

template<typename T >
virtual SystemSolverResults_t Chroma::MultiSystemSolverArray< T >::operator() ( multi1d< multi1d< T > > &  psi,
const multi1d< Real > &  shifts,
const multi1d< T > &  chi 
) const
pure virtual

Apply the operator onto a source std::vector.

Solves A*psi = chi or psi = A^(-1)*chi up to some accuracy. There is the interesting possibility of generalizing to support PLUS/MINUS

Should the accuracy be specified here ???

Should the shifts be here or in the constructor???

Implemented in Chroma::MdagMMultiSysSolverCGArray< T >.

◆ size()

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

Expected length of array index.

Implemented in Chroma::MdagMMultiSysSolverCGArray< T >.

◆ subset()

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

Return the subset on which the operator acts.

Implemented in Chroma::MdagMMultiSysSolverCGArray< T >.


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