CHROMA
Public Member Functions | Private Attributes | List of all members
Chroma::TwistedShiftedLinOp< T, P, Q, EvenOddPrecLinearOperator > Class Template Reference

#include <shifted_linop_w.h>

Inheritance diagram for Chroma::TwistedShiftedLinOp< T, P, Q, EvenOddPrecLinearOperator >:
Chroma::DiffLinearOperator< T, P, Q > Chroma::LinearOperator< T >

Public Member Functions

 TwistedShiftedLinOp (const EvenOddPrecLinearOperator< 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 EvenOddPrecLinearOperator< T, P, Q > & base_op
 

Detailed Description

template<typename T, typename P, typename Q>
class Chroma::TwistedShiftedLinOp< T, P, Q, EvenOddPrecLinearOperator >

Definition at line 101 of file shifted_linop_w.h.

Constructor & Destructor Documentation

◆ TwistedShiftedLinOp()

template<typename T , typename P , typename Q >
Chroma::TwistedShiftedLinOp< T, P, Q, EvenOddPrecLinearOperator >::TwistedShiftedLinOp ( const EvenOddPrecLinearOperator< T, P, Q > &  base_op_,
const Real &  mu_ 
)
inline

Definition at line 104 of file shifted_linop_w.h.

Member Function Documentation

◆ deriv()

template<typename T , typename P , typename Q >
void Chroma::TwistedShiftedLinOp< T, P, Q, EvenOddPrecLinearOperator >::deriv ( P ds_u,
const T chi,
const T psi,
enum PlusMinus  isign 
) const
inlineoverridevirtual

Apply the derivative of the operator onto a source std::vector.

Default implementation

Reimplemented from Chroma::DiffLinearOperator< T, P, Q >.

Definition at line 124 of file shifted_linop_w.h.

References Chroma::isign.

◆ getFermBC()

template<typename T , typename P , typename Q >
const FermBC<T,P,Q>& Chroma::TwistedShiftedLinOp< T, P, Q, EvenOddPrecLinearOperator >::getFermBC ( ) const
inlineoverridevirtual

Return the fermion BC object for this linear operator.

Implements Chroma::DiffLinearOperator< T, P, Q >.

Definition at line 108 of file shifted_linop_w.h.

◆ operator()()

template<typename T , typename P , typename Q >
void Chroma::TwistedShiftedLinOp< T, P, Q, EvenOddPrecLinearOperator >::operator() ( T chi,
const T psi,
enum PlusMinus  isign 
) const
inlineoverridevirtual

Apply the operator onto a source std::vector.

Implements Chroma::LinearOperator< T >.

Definition at line 109 of file shifted_linop_w.h.

References Chroma::END_CODE(), Chroma::in, Chroma::isign, mu, Chroma::out, Chroma::PLUS, and Chroma::START_CODE().

◆ subset()

template<typename T , typename P , typename Q >
const Subset& Chroma::TwistedShiftedLinOp< T, P, Q, EvenOddPrecLinearOperator >::subset ( ) const
inlineoverridevirtual

Return the subset on which the operator acts.

Implements Chroma::LinearOperator< T >.

Definition at line 107 of file shifted_linop_w.h.

Member Data Documentation

◆ base_op

template<typename T , typename P , typename Q >
const EvenOddPrecLinearOperator<T,P,Q>& Chroma::TwistedShiftedLinOp< T, P, Q, EvenOddPrecLinearOperator >::base_op
private

Definition at line 132 of file shifted_linop_w.h.

◆ mu

template<typename T , typename P , typename Q >
const Real Chroma::TwistedShiftedLinOp< T, P, Q, EvenOddPrecLinearOperator >::mu
private

Definition at line 131 of file shifted_linop_w.h.


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