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

Linear system solvers of arrays. More...

#include <syssolver.h>

Inheritance diagram for Chroma::SystemSolverArray< T >:
Chroma::FermAct5DQprop< T > Chroma::LinOpSystemSolverArray< T > Chroma::MdagMSystemSolverArray< T > Chroma::PrecFermAct5DQprop< T, P, Q > Chroma::LinOpSysSolverCGArray< T > Chroma::LinOpSysSolverEigCGArray< T > Chroma::MdagMSysSolverCGArray< T >

Public Member Functions

virtual ~SystemSolverArray ()
 Virtual destructor to help with cleanup;. More...
 
virtual int size () const =0
 Expected length of array index. More...
 
virtual SystemSolverResults_t operator() (multi1d< T > &psi, 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::SystemSolverArray< T >

Linear system solvers of arrays.

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

Definition at line 61 of file syssolver.h.

Constructor & Destructor Documentation

◆ ~SystemSolverArray()

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

Virtual destructor to help with cleanup;.

Definition at line 65 of file syssolver.h.

Member Function Documentation

◆ operator()()

template<typename T >
virtual SystemSolverResults_t Chroma::SystemSolverArray< T >::operator() ( multi1d< T > &  psi,
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 ???

Implemented in Chroma::FermAct5DQprop< T >, Chroma::PrecFermAct5DQprop< T, P, Q >, Chroma::MdagMSysSolverCGArray< T >, Chroma::LinOpSysSolverEigCGArray< T >, Chroma::LinOpSysSolverCGArray< T >, Chroma::MDWFQpropT, Chroma::PrecFermAct5DQprop< T, P, Q >, Chroma::CGDWFQpropT< SinglePrecSolver, DoublePrecSolver >, and Chroma::LinOpSysSolverMDWFArray.

◆ size()

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

◆ subset()

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

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