CHROMA
|
#include <shifted_linop_w.h>
Public Member Functions | |
TwistedShiftedLinOp (const SymEvenOddPrecLogDetLinearOperator< T, P, Q > &base_op_, const Real &mu_) | |
const Subset & | subset () const override |
Return the subset on which the operator acts. More... | |
const FermBC< T, P, Q > & | getFermBC () const override |
Return the fermion BC object for this linear operator. More... | |
void | operator() (T &out, const T &in, enum PlusMinus isign) const override |
Apply the operator onto a source std::vector. More... | |
void | deriv (P &ds_u, const T &Y, const T &X, enum PlusMinus isign) const override |
Apply the derivative of the operator onto a source std::vector. More... | |
Public Member Functions inherited from Chroma::DiffLinearOperator< T, P, Q > | |
virtual | ~DiffLinearOperator () |
Virtual destructor to help with cleanup;. More... | |
virtual void | deriv (P &ds_u, const T &chi, const T &psi, enum PlusMinus isign, const Real &epsilon) const |
Apply the derivative of the operator onto a source std::vector to some precision. More... | |
virtual void | derivMultipole (P &ds_u, const multi1d< T > &chi, const multi1d< T > &psi, enum PlusMinus isign) const |
Return the force for multiple poles. 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... | |
virtual unsigned long | nFlops () const |
Private Attributes | |
const Real | mu |
const SymEvenOddPrecLogDetLinearOperator< T, P, Q > & | base_op |
Definition at line 27 of file shifted_linop_w.h.
|
inline |
Definition at line 29 of file shifted_linop_w.h.
|
inlineoverridevirtual |
Apply the derivative of the operator onto a source std::vector.
Default implementation
Reimplemented from Chroma::DiffLinearOperator< T, P, Q >.
Definition at line 56 of file shifted_linop_w.h.
References Chroma::END_CODE(), Chroma::i, Chroma::isign, mu, Nd, Chroma::PLUS, Chroma::START_CODE(), and Chroma::zero.
|
inlineoverridevirtual |
Return the fermion BC object for this linear operator.
Implements Chroma::DiffLinearOperator< T, P, Q >.
Definition at line 34 of file shifted_linop_w.h.
|
inlineoverridevirtual |
Apply the operator onto a source std::vector.
Implements Chroma::LinearOperator< T >.
Definition at line 36 of file shifted_linop_w.h.
References Chroma::END_CODE(), Chroma::in, Chroma::isign, mu, Chroma::out, Chroma::PLUS, Chroma::START_CODE(), and Chroma::tmp.
|
inlineoverridevirtual |
Return the subset on which the operator acts.
Implements Chroma::LinearOperator< T >.
Definition at line 32 of file shifted_linop_w.h.
|
private |
Definition at line 91 of file shifted_linop_w.h.
|
private |
Definition at line 89 of file shifted_linop_w.h.