CHROMA
|
Unpreconditioned projected DWF operator to 4D. More...
#include <unprec_dwf4d_linop_w.h>
Public Member Functions | |
UnprecDWF4DLinOp (LinearOperatorArray< T > *D_, LinearOperatorArray< T > *PV_, const SysSolverCGParams &invParam_) | |
Initialize pointer with existing pointer. More... | |
UnprecDWF4DLinOp (Handle< LinearOperatorArray< T > > D_, Handle< LinearOperatorArray< T > > PV_, const SysSolverCGParams &invParam_) | |
Copy pointer (one more owner) More... | |
~UnprecDWF4DLinOp () | |
Destructor. More... | |
int | size () const |
Length of internal 5D. More... | |
const Subset & | subset () const |
Operator lives on the entire lattice. More... | |
void | operator() (T &chi, const T &psi, enum PlusMinus isign) const |
Apply the operator onto a source std::vector. More... | |
void | operator() (LatticeFermion &chi, const LatticeFermion &psi, enum PlusMinus isign) const |
Apply the operator onto a source std::vector. More... | |
![]() | |
virtual | ~LinearOperator () |
Virtual destructor to help with cleanup;. More... | |
virtual void | operator() (T &chi, const T &psi, enum PlusMinus isign, Real epsilon) const |
Apply the operator onto a source std::vector to some precision. More... | |
virtual unsigned long | nFlops () const |
Protected Member Functions | |
UnprecDWF4DLinOp () | |
Hide default constructor. More... | |
Private Attributes | |
Handle< LinearOperatorArray< T > > | D |
Handle< LinearOperatorArray< T > > | PV |
SysSolverCGParams | invParam |
Unpreconditioned projected DWF operator to 4D.
Definition at line 21 of file unprec_dwf4d_linop_w.h.
|
inline |
Initialize pointer with existing pointer.
Requires that the pointer p is a return value of new
Definition at line 26 of file unprec_dwf4d_linop_w.h.
|
inline |
Copy pointer (one more owner)
Definition at line 32 of file unprec_dwf4d_linop_w.h.
|
inline |
Destructor.
Definition at line 38 of file unprec_dwf4d_linop_w.h.
|
inlineprotected |
Hide default constructor.
Definition at line 52 of file unprec_dwf4d_linop_w.h.
|
virtual |
Apply the operator onto a source std::vector.
Implements Chroma::LinearOperator< T >.
Definition at line 18 of file unprec_dwf4d_linop_w.cc.
References chi, Chroma::DwfFld(), END_CODE, Chroma::InvCG2(), Chroma::isign, Chroma::MINUS, N5, Chroma::SystemSolverResults_t::n_count, Chroma::PLUS, psi, Chroma::QDP_error_exit(), START_CODE, and Chroma::zero.
|
virtual |
Apply the operator onto a source std::vector.
For this operator, the sign is ignored
Implements Chroma::LinearOperator< T >.
|
inline |
Length of internal 5D.
Definition at line 41 of file unprec_dwf4d_linop_w.h.
References Chroma::UnprecDWF4DLinOp< T >::D.
|
inlinevirtual |
Operator lives on the entire lattice.
Implements Chroma::LinearOperator< T >.
Definition at line 44 of file unprec_dwf4d_linop_w.h.
|
private |
Definition at line 55 of file unprec_dwf4d_linop_w.h.
Referenced by Chroma::UnprecDWF4DLinOp< T >::size().
|
private |
Definition at line 57 of file unprec_dwf4d_linop_w.h.
|
private |
Definition at line 56 of file unprec_dwf4d_linop_w.h.