Chroma::lgherm< T > Class Template Reference
[Fermion linear operators]

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

#include <lgherm_w.h>

Inheritance diagram for Chroma::lgherm< T >:

Chroma::LinearOperator< T > List of all members.

Public Member Functions

 lgherm (LinearOperator< T > *p)
 Initialize pointer with existing pointer.
 lgherm (Handle< LinearOperator< T > > p)
 Copy pointer (one more owner).
 ~lgherm ()
 Destructor.
const Subset & subset () const
 Subset comes from underlying operator.
void operator() (T &chi, const T &psi, enum PlusMinus isign) const
 Apply the operator onto a source vector.

Private Attributes

Handle< LinearOperator< T > > A

Detailed Description

template<typename T>
class Chroma::lgherm< T >

Gamma(5) hermitian linear operator.

This routine is specific to Wilson fermions!

This operator scales its input operator

Definition at line 22 of file lgherm_w.h.


Constructor & Destructor Documentation

template<typename T>
Chroma::lgherm< T >::lgherm ( LinearOperator< T > *  p  )  [inline]

Initialize pointer with existing pointer.

Requires that the pointer p is a return value of new

Definition at line 27 of file lgherm_w.h.

template<typename T>
Chroma::lgherm< T >::lgherm ( Handle< LinearOperator< T > >  p  )  [inline]

Copy pointer (one more owner).

Definition at line 30 of file lgherm_w.h.

template<typename T>
Chroma::lgherm< T >::~lgherm (  )  [inline]

Destructor.

Definition at line 33 of file lgherm_w.h.


Member Function Documentation

template<typename T>
void Chroma::lgherm< T >::operator() ( T chi,
const T psi,
enum PlusMinus  isign 
) const [inline, virtual]

Apply the operator onto a source vector.

For this operator, the sign is ignored

Implements Chroma::LinearOperator< T >.

Definition at line 40 of file lgherm_w.h.

References Chroma::lgherm< T >::A, Chroma::PLUS, and T.

template<typename T>
const Subset& Chroma::lgherm< T >::subset ( void   )  const [inline, virtual]

Subset comes from underlying operator.

Implements Chroma::LinearOperator< T >.

Definition at line 36 of file lgherm_w.h.

References Chroma::lgherm< T >::A.


Member Data Documentation

template<typename T>
Handle< LinearOperator<T> > Chroma::lgherm< T >::A [private]

Definition at line 55 of file lgherm_w.h.

Referenced by Chroma::lgherm< T >::operator()(), and Chroma::lgherm< T >::subset().


The documentation for this class was generated from the following file:
Generated on Sun Nov 22 04:40:10 2009 for CHROMA by  doxygen 1.4.7