CHROMA
Public Member Functions | Private Attributes | List of all members

Gamma(5) hermitian linear operator. More...

#include <lunprec_w.h>

Inheritance diagram for Chroma::Lunprec< T, P, Q >:
Chroma::LinearOperator< T >

Public Member Functions

 Lunprec (LinearOperator< T > *p)
 Initialize pointer with existing pointer. More...
 
 Lunprec (Handle< LinearOperator< T > > p)
 Copy pointer (one more owner) More...
 
 ~Lunprec ()
 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...
 
- 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

Handle< LinearOperator< T > > A
 

Detailed Description

template<typename T, typename P, typename Q>
class Chroma::Lunprec< T, P, Q >

Gamma(5) hermitian linear operator.

This routine is specific to Wilson fermions!

This operator scales its input operator

Definition at line 21 of file lunprec_w.h.

Constructor & Destructor Documentation

◆ Lunprec() [1/2]

template<typename T , typename P , typename Q >
Chroma::Lunprec< T, P, Q >::Lunprec ( LinearOperator< T > *  p)
inline

Initialize pointer with existing pointer.

Requires that the pointer p is a return value of new

Definition at line 26 of file lunprec_w.h.

◆ Lunprec() [2/2]

template<typename T , typename P , typename Q >
Chroma::Lunprec< T, P, Q >::Lunprec ( Handle< LinearOperator< T > >  p)
inline

Copy pointer (one more owner)

Definition at line 29 of file lunprec_w.h.

◆ ~Lunprec()

template<typename T , typename P , typename Q >
Chroma::Lunprec< T, P, Q >::~Lunprec ( )
inline

Destructor.

Definition at line 32 of file lunprec_w.h.

Member Function Documentation

◆ operator()()

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

Apply the operator onto a source std::vector.

For this operator, the sign is ignored

Implements Chroma::LinearOperator< T >.

Definition at line 39 of file lunprec_w.h.

References bc, Chroma::chi(), Chroma::isign, Chroma::psi, and Chroma::EvenOddPrecLinearOperator< T, P, Q >::unprecLinOp().

◆ subset()

template<typename T , typename P , typename Q >
const Subset& Chroma::Lunprec< T, P, Q >::subset ( void  ) const
inlinevirtual

Subset comes from underlying operator.

Implements Chroma::LinearOperator< T >.

Definition at line 35 of file lunprec_w.h.

References Chroma::Lunprec< T, P, Q >::A.

Member Data Documentation

◆ A

template<typename T , typename P , typename Q >
Handle< LinearOperator<T> > Chroma::Lunprec< T, P, Q >::A
private

Definition at line 60 of file lunprec_w.h.

Referenced by Chroma::Lunprec< T, P, Q >::subset().


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