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

Linear multi-system solvers with accumulation. More...

#include <syssolver.h>

Inheritance diagram for Chroma::MultiSystemSolverAccumulate< T >:
Chroma::MdagMMultiSystemSolverAccumulate< T > Chroma::MdagMMultiSysSolverCGAccumulate< T >

Public Member Functions

virtual ~MultiSystemSolverAccumulate ()
 Virtual destructor to help with cleanup;. More...
 
virtual SystemSolverResults_t operator() (T &psi, const Real &norm, const multi1d< Real > &residues, const multi1d< Real > &poles, const 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::MultiSystemSolverAccumulate< T >

Linear multi-system solvers with accumulation.

A tweak of solvers for multi-shift linear systems of equations. so that the results are accumulated a la:

s = A sum_sigma t_i X_i where x_i are the solutions. The solver may only live on a subset.

Definition at line 164 of file syssolver.h.

Constructor & Destructor Documentation

◆ ~MultiSystemSolverAccumulate()

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

Virtual destructor to help with cleanup;.

Definition at line 168 of file syssolver.h.

Member Function Documentation

◆ operator()()

template<typename T >
virtual SystemSolverResults_t Chroma::MultiSystemSolverAccumulate< T >::operator() ( T psi,
const Real &  norm,
const multi1d< Real > &  residues,
const multi1d< Real > &  poles,
const T chi 
) const
pure virtual

Apply the operator onto a source std::vector.

Implemented in Chroma::MdagMMultiSysSolverCGAccumulate< T >.

◆ subset()

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

Return the subset on which the operator acts.

Implemented in Chroma::MdagMMultiSysSolverCGAccumulate< T >.


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