CHROMA
|
#include <lopishift.h>
Public Member Functions | |
lopishift (LinearOperator< T > *p, const C &s) | |
Initialized from pointer. More... | |
lopishift (Handle< LinearOperator< T > > p, const C &s) | |
~lopishift () | |
const Subset & | subset () const |
Subset comes from underlying operator. More... | |
virtual unsigned long | nFlops () const |
void | operator() (T &chi, const T &psi, enum PlusMinus isign) 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 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... | |
Private Attributes | |
Handle< LinearOperator< T > > | M |
const C & | shift_fact |
Definition at line 13 of file lopishift.h.
|
inline |
Initialized from pointer.
Definition at line 18 of file lopishift.h.
|
inline |
Definition at line 20 of file lopishift.h.
|
inline |
Definition at line 22 of file lopishift.h.
|
inlinevirtual |
Return the number of flops performed by operator() Base linop returns 0 and this can be overridden
Reimplemented from Chroma::LinearOperator< T >.
Definition at line 27 of file lopishift.h.
References Chroma::lopishift< T, C >::M.
|
inlinevirtual |
Apply the operator onto a source std::vector.
For this operator, the sign is ignored
Implements Chroma::LinearOperator< T >.
Definition at line 33 of file lopishift.h.
References Chroma::chi(), Chroma::isign, Chroma::lopishift< T, C >::M, Chroma::PLUS, Chroma::psi, Chroma::lopishift< T, C >::shift_fact, and Chroma::tmp.
|
inlinevirtual |
Subset comes from underlying operator.
Implements Chroma::LinearOperator< T >.
Definition at line 25 of file lopishift.h.
References Chroma::lopishift< T, C >::M.
|
private |
Definition at line 48 of file lopishift.h.
Referenced by Chroma::lopishift< T, C >::nFlops(), Chroma::lopishift< T, C >::operator()(), and Chroma::lopishift< T, C >::subset().
|
private |
Definition at line 49 of file lopishift.h.
Referenced by Chroma::lopishift< T, C >::operator()().