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

AVP's DWF Solver interface. More...

#include <syssolver_linop_mdwf_array.h>

Inheritance diagram for Chroma::LinOpSysSolverMDWFArray:
Chroma::LinOpSystemSolverArray< LatticeFermion > Chroma::SystemSolverArray< LatticeFermion >

Public Types

typedef LatticeFermion T
 
typedef multi1d< LatticeColorMatrix > P
 
typedef multi1d< LatticeColorMatrix > Q
 

Public Member Functions

 LinOpSysSolverMDWFArray (Handle< LinearOperatorArray< T > > A_, Handle< FermState< T, P, Q > > fs_, const SysSolverMDWFParams &invParam_)
 
 ~LinOpSysSolverMDWFArray ()
 
int size () const
 Expected length of array index. More...
 
const Subset & subset () const
 Return the subset on which the operator acts. More...
 
- Public Member Functions inherited from Chroma::SystemSolverArray< LatticeFermion >
virtual ~SystemSolverArray ()
 Virtual destructor to help with cleanup;. More...
 

Private Attributes

Handle< LinearOperatorArray< T > > A
 
SysSolverMDWFParams invParam
 
multi1d< LatticeColorMatrix > u
 
multi1d< double > b5_in
 
multi1d< double > c5_in
 
QOP_MDWF_State * state
 
QOP_MDWF_Parameters * params
 
SystemSolverResults_t operator() (multi1d< LatticeFermion > &psi, const multi1d< LatticeFermion > &chi) const
 Solver the linear system. More...
 
void init (Handle< FermState< T, P, Q > > fermstate)
 
void fini (void)
 

Detailed Description

AVP's DWF Solver interface.

Definition at line 38 of file syssolver_linop_mdwf_array.h.

Member Typedef Documentation

◆ P

typedef multi1d<LatticeColorMatrix> Chroma::LinOpSysSolverMDWFArray::P

Definition at line 42 of file syssolver_linop_mdwf_array.h.

◆ Q

typedef multi1d<LatticeColorMatrix> Chroma::LinOpSysSolverMDWFArray::Q

Definition at line 43 of file syssolver_linop_mdwf_array.h.

◆ T

typedef LatticeFermion Chroma::LinOpSysSolverMDWFArray::T

Definition at line 41 of file syssolver_linop_mdwf_array.h.

Constructor & Destructor Documentation

◆ LinOpSysSolverMDWFArray()

Chroma::LinOpSysSolverMDWFArray::LinOpSysSolverMDWFArray ( Handle< LinearOperatorArray< T > >  A_,
Handle< FermState< T, P, Q > >  fs_,
const SysSolverMDWFParams invParam_ 
)
inline

Definition at line 46 of file syssolver_linop_mdwf_array.h.

References Chroma::MesonSpec2PtEnv::init(), and s.

◆ ~LinOpSysSolverMDWFArray()

Chroma::LinOpSysSolverMDWFArray::~LinOpSysSolverMDWFArray ( )
inline

Definition at line 68 of file syssolver_linop_mdwf_array.h.

References Chroma::state.

Member Function Documentation

◆ fini()

void Chroma::LinOpSysSolverMDWFArray::fini ( void  )
private

Definition at line 563 of file syssolver_linop_mdwf_array.cc.

References END_CODE, params, START_CODE, and Chroma::state.

◆ init()

void Chroma::LinOpSysSolverMDWFArray::init ( Handle< FermState< T, P, Q > >  fermstate)
private

Definition at line 466 of file syssolver_linop_mdwf_array.cc.

References a5, END_CODE, mu, Nd, params, START_CODE, Chroma::state, and Chroma::u.

◆ operator()()

SystemSolverResults_t Chroma::LinOpSysSolverMDWFArray::operator() ( multi1d< LatticeFermion > &  psi,
const multi1d< LatticeFermion > &  chi 
) const
virtual

Solver the linear system.

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

Implements Chroma::SystemSolverArray< LatticeFermion >.

Definition at line 230 of file syssolver_linop_mdwf_array.cc.

References chi, END_CODE, Chroma::AVPSolverFunctions::gaugeReader(), Chroma::SystemSolverResults_t::n_count, params, Chroma::PLUS, psi, r(), Chroma::SystemSolverResults_t::resid, START_CODE, Chroma::state, and Chroma::u.

◆ size()

int Chroma::LinOpSysSolverMDWFArray::size ( void  ) const
inlinevirtual

Expected length of array index.

Implements Chroma::SystemSolverArray< LatticeFermion >.

Definition at line 84 of file syssolver_linop_mdwf_array.h.

◆ subset()

const Subset& Chroma::LinOpSysSolverMDWFArray::subset ( void  ) const
inlinevirtual

Return the subset on which the operator acts.

Implements Chroma::SystemSolverArray< LatticeFermion >.

Definition at line 85 of file syssolver_linop_mdwf_array.h.

Member Data Documentation

◆ A

Handle<LinearOperatorArray<T> > Chroma::LinOpSysSolverMDWFArray::A
private

Definition at line 90 of file syssolver_linop_mdwf_array.h.

◆ b5_in

multi1d<double> Chroma::LinOpSysSolverMDWFArray::b5_in
private

Definition at line 93 of file syssolver_linop_mdwf_array.h.

◆ c5_in

multi1d<double> Chroma::LinOpSysSolverMDWFArray::c5_in
private

Definition at line 94 of file syssolver_linop_mdwf_array.h.

◆ invParam

SysSolverMDWFParams Chroma::LinOpSysSolverMDWFArray::invParam
private

Definition at line 91 of file syssolver_linop_mdwf_array.h.

◆ params

QOP_MDWF_Parameters* Chroma::LinOpSysSolverMDWFArray::params
private

Definition at line 98 of file syssolver_linop_mdwf_array.h.

◆ state

QOP_MDWF_State* Chroma::LinOpSysSolverMDWFArray::state
private

Definition at line 97 of file syssolver_linop_mdwf_array.h.

◆ u

multi1d<LatticeColorMatrix> Chroma::LinOpSysSolverMDWFArray::u
private

Definition at line 92 of file syssolver_linop_mdwf_array.h.


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