CHROMA
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Inheritance diagram for Chroma::FermAct5DQprop< T >:
Chroma::SystemSolverArray< T >

Public Member Functions

 FermAct5DQprop (Handle< LinearOperatorArray< T > > A_, Handle< LinOpSystemSolverArray< T > > invA_)
 Constructor. More...
 
 ~FermAct5DQprop ()
 Destructor is automatic. More...
 
int size () const
 Expected length of array index. More...
 
const Subset & subset () const
 Return the subset on which the operator acts. More...
 
SystemSolverResults_t operator() (multi1d< T > &psi, const multi1d< T > &chi) const
 Solver the linear system. More...
 
- Public Member Functions inherited from Chroma::SystemSolverArray< T >
virtual ~SystemSolverArray ()
 Virtual destructor to help with cleanup;. More...
 

Private Member Functions

 FermAct5DQprop ()
 

Private Attributes

Handle< LinearOperatorArray< T > > A
 
Handle< LinOpSystemSolverArray< T > > invA
 

Detailed Description

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

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 22 of file fermact_qprop_array.cc.

Constructor & Destructor Documentation

◆ FermAct5DQprop() [1/2]

template<typename T >
Chroma::FermAct5DQprop< T >::FermAct5DQprop ( Handle< LinearOperatorArray< T > >  A_,
Handle< LinOpSystemSolverArray< T > >  invA_ 
)
inline

Constructor.

Parameters
A_Linear operator ( Read )
invParam_inverter parameters ( Read )

Definition at line 30 of file fermact_qprop_array.cc.

◆ ~FermAct5DQprop()

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

Destructor is automatic.

Definition at line 35 of file fermact_qprop_array.cc.

◆ FermAct5DQprop() [2/2]

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

Definition at line 74 of file fermact_qprop_array.cc.

Member Function Documentation

◆ operator()()

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

Solver the linear system.

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

Implements Chroma::SystemSolverArray< T >.

Definition at line 49 of file fermact_qprop_array.cc.

References Chroma::chi(), Chroma::END_CODE(), Chroma::PLUS, Chroma::psi, Chroma::QDP_error_exit(), Chroma::r, Chroma::SystemSolverResults_t::resid, Chroma::FermAct5DQprop< T >::size(), and Chroma::START_CODE().

◆ size()

template<typename T >
int Chroma::FermAct5DQprop< T >::size ( void  ) const
inlinevirtual

Expected length of array index.

Implements Chroma::SystemSolverArray< T >.

Definition at line 38 of file fermact_qprop_array.cc.

References Chroma::FermAct5DQprop< T >::A.

Referenced by Chroma::FermAct5DQprop< T >::operator()().

◆ subset()

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

Return the subset on which the operator acts.

Implements Chroma::SystemSolverArray< T >.

Definition at line 41 of file fermact_qprop_array.cc.

Member Data Documentation

◆ A

template<typename T >
Handle< LinearOperatorArray<T> > Chroma::FermAct5DQprop< T >::A
private

Definition at line 76 of file fermact_qprop_array.cc.

Referenced by Chroma::FermAct5DQprop< T >::size().

◆ invA

template<typename T >
Handle< LinOpSystemSolverArray<T> > Chroma::FermAct5DQprop< T >::invA
private

Definition at line 77 of file fermact_qprop_array.cc.


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