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

Partial specialization of scaled M operator over arrays. More...

#include <lgherm_w.h>

Inheritance diagram for Chroma::lghermArray< T >:

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

Public Member Functions

 lghermArray (LinearOperatorArray< T > *p)
 Initialize pointer with existing pointer.
 lghermArray (Handle< LinearOperatorArray< T > > p)
 Copy pointer (one more owner).
 ~lghermArray ()
 Destructor.
int size () const
 Length of array index.
const Subset & subset () const
 Subset comes from underlying operator.
void operator() (multi1d< T > &chi, const multi1d< T > &psi, enum PlusMinus isign) const
 Apply the operator onto a source vector.

Private Attributes

Handle< LinearOperatorArray<
T > > 
A

Detailed Description

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

Partial specialization of scaled M operator over arrays.

This routine is specific to Wilson fermions!

Linear operator forming M^dag.M from an operator M

Definition at line 69 of file lgherm_w.h.


Constructor & Destructor Documentation

template<typename T>
Chroma::lghermArray< T >::lghermArray ( LinearOperatorArray< T > *  p  )  [inline]

Initialize pointer with existing pointer.

Requires that the pointer p is a return value of new

Definition at line 74 of file lgherm_w.h.

template<typename T>
Chroma::lghermArray< T >::lghermArray ( Handle< LinearOperatorArray< T > >  p  )  [inline]

Copy pointer (one more owner).

Definition at line 77 of file lgherm_w.h.

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

Destructor.

Definition at line 80 of file lgherm_w.h.


Member Function Documentation

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

Apply the operator onto a source vector.

For this operator, the sign is ignored

Implements Chroma::LinearOperatorArray< T >.

Definition at line 90 of file lgherm_w.h.

References Chroma::lghermArray< T >::A, Chroma::PLUS, and Chroma::lghermArray< T >::size().

template<typename T>
int Chroma::lghermArray< T >::size ( void   )  const [inline, virtual]

Length of array index.

Implements Chroma::LinearOperatorArray< T >.

Definition at line 83 of file lgherm_w.h.

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

Referenced by Chroma::lghermArray< T >::operator()().

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

Subset comes from underlying operator.

Implements Chroma::LinearOperatorArray< T >.

Definition at line 86 of file lgherm_w.h.

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


Member Data Documentation

template<typename T>
Handle< LinearOperatorArray<T> > Chroma::lghermArray< T >::A [private]

Definition at line 106 of file lgherm_w.h.

Referenced by Chroma::lghermArray< T >::operator()(), Chroma::lghermArray< T >::size(), and Chroma::lghermArray< 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