CHROMA
Public Member Functions | Private Member Functions | Private Attributes | List of all members

Propagator of a generic non-preconditioned fermion linear operator. More...

Inheritance diagram for Chroma::FermActQprop< T >:
Chroma::SystemSolver< T >

Public Member Functions

 FermActQprop (Handle< LinearOperator< T > > A_, Handle< SystemSolver< T > > invA_)
 Constructor. More...
 
 ~FermActQprop ()
 Destructor is automatic. More...
 
const Subset & subset () const
 Return the subset on which the operator acts. More...
 
SystemSolverResults_t operator() (T &psi, const T &chi) const
 Solver the linear system. More...
 
- Public Member Functions inherited from Chroma::SystemSolver< T >
virtual ~SystemSolver ()
 Virtual destructor to help with cleanup;. More...
 

Private Member Functions

 FermActQprop ()
 

Private Attributes

Handle< LinearOperator< T > > A
 
Handle< SystemSolver< T > > invA
 

Detailed Description

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

Propagator of a generic non-preconditioned fermion linear operator.

This routine is actually generic to all non-preconditioned (not red/black) fermions

Compute the lattice fermion for a generic non-red/black fermion using the source in "chi" - so, the source can be of any desired form. The result will appear in "psi", which on input contains an initial guess for the solution.

Definition at line 24 of file fermact_qprop.cc.

Constructor & Destructor Documentation

◆ FermActQprop() [1/2]

template<typename T >
Chroma::FermActQprop< T >::FermActQprop ( Handle< LinearOperator< T > >  A_,
Handle< SystemSolver< T > >  invA_ 
)
inline

Constructor.

Parameters
A_Linear operator ( Read )
invParam_inverter parameters ( Read )

Definition at line 32 of file fermact_qprop.cc.

◆ ~FermActQprop()

template<typename T >
Chroma::FermActQprop< T >::~FermActQprop ( )
inline

Destructor is automatic.

Definition at line 37 of file fermact_qprop.cc.

◆ FermActQprop() [2/2]

template<typename T >
Chroma::FermActQprop< T >::FermActQprop ( )
inlineprivate

Definition at line 70 of file fermact_qprop.cc.

Member Function Documentation

◆ operator()()

template<typename T >
SystemSolverResults_t Chroma::FermActQprop< T >::operator() ( T psi,
const T chi 
) const
inlinevirtual

Solver the linear system.

Parameters
psiquark propagator ( Modify )
chisource ( Read )
Returns
number of CG iterations

Implements Chroma::SystemSolver< T >.

Definition at line 48 of file fermact_qprop.cc.

References Chroma::chi(), Chroma::END_CODE(), Chroma::PLUS, Chroma::psi, Chroma::r, Chroma::SystemSolverResults_t::resid, and Chroma::START_CODE().

◆ subset()

template<typename T >
const Subset& Chroma::FermActQprop< T >::subset ( void  ) const
inlinevirtual

Return the subset on which the operator acts.

Implements Chroma::SystemSolver< T >.

Definition at line 40 of file fermact_qprop.cc.

Member Data Documentation

◆ A

template<typename T >
Handle< LinearOperator<T> > Chroma::FermActQprop< T >::A
private

Definition at line 72 of file fermact_qprop.cc.

◆ invA

template<typename T >
Handle< SystemSolver<T> > Chroma::FermActQprop< T >::invA
private

Definition at line 73 of file fermact_qprop.cc.


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