CHROMA
|
Scaled Linear Operator. More...
#include <lopscl.h>
Public Member Functions | |
approx_lopscl (LinearOperator< T > *p, const C &scale_fact_) | |
Initialize pointer with existing pointer. More... | |
approx_lopscl (Handle< LinearOperator< T > > p, const C &scale_fact_) | |
Copy pointer (one more owner) More... | |
~approx_lopscl () | |
Destructor. More... | |
const Subset & | subset () const |
Subset comes from underlying operator. More... | |
void | operator() (T &chi, const T &psi, enum PlusMinus isign) const |
Apply the operator onto a source std::vector. More... | |
void | operator() (T &chi, const T &psi, enum PlusMinus isign, Real epsilon) const |
Apply the operator onto a source std::vector. More... | |
Public Member Functions inherited from Chroma::LinearOperator< T > | |
virtual | ~LinearOperator () |
Virtual destructor to help with cleanup;. More... | |
virtual unsigned long | nFlops () const |
Private Attributes | |
Handle< LinearOperator< T > > | A |
const C | scale_fact |
Scaled Linear Operator.
This routine is specific to Wilson fermions!
This operator scales its input operator
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Apply the operator onto a source std::vector.
For this operator, the sign is ignored
Implements Chroma::LinearOperator< T >.
Definition at line 78 of file lopscl.h.
References Chroma::approx_lopscl< T, C >::A, Chroma::chi(), Chroma::isign, Chroma::psi, and Chroma::approx_lopscl< T, C >::scale_fact.
|
inlinevirtual |
Apply the operator onto a source std::vector.
For this operator, the sign is ignored
Reimplemented from Chroma::LinearOperator< T >.
Definition at line 87 of file lopscl.h.
References Chroma::approx_lopscl< T, C >::A, Chroma::chi(), Chroma::ExternalFieldEnv::epsilon(), Chroma::isign, Chroma::psi, and Chroma::approx_lopscl< T, C >::scale_fact.
|
inlinevirtual |
Subset comes from underlying operator.
Implements Chroma::LinearOperator< T >.
Definition at line 74 of file lopscl.h.
References Chroma::approx_lopscl< T, C >::A.
|
private |
Definition at line 95 of file lopscl.h.
Referenced by Chroma::approx_lopscl< T, C >::operator()(), and Chroma::approx_lopscl< T, C >::subset().
|
private |
Definition at line 96 of file lopscl.h.
Referenced by Chroma::approx_lopscl< T, C >::operator()().