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

Unpreconditioned projected DWF operator to 4D. More...

#include <unprec_dwf4d_linop_w.h>

Inheritance diagram for Chroma::UnprecDWF4DLinOp< T >:
Chroma::LinearOperator< T >

Public Member Functions

 UnprecDWF4DLinOp (LinearOperatorArray< T > *D_, LinearOperatorArray< T > *PV_, const SysSolverCGParams &invParam_)
 Initialize pointer with existing pointer. More...
 
 UnprecDWF4DLinOp (Handle< LinearOperatorArray< T > > D_, Handle< LinearOperatorArray< T > > PV_, const SysSolverCGParams &invParam_)
 Copy pointer (one more owner) More...
 
 ~UnprecDWF4DLinOp ()
 Destructor. More...
 
int size () const
 Length of internal 5D. More...
 
const Subset & subset () const
 Operator lives on the entire lattice. More...
 
void operator() (T &chi, const T &psi, enum PlusMinus isign) const
 Apply the operator onto a source std::vector. More...
 
void operator() (LatticeFermion &chi, const LatticeFermion &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
 

Protected Member Functions

 UnprecDWF4DLinOp ()
 Hide default constructor. More...
 

Private Attributes

Handle< LinearOperatorArray< T > > D
 
Handle< LinearOperatorArray< T > > PV
 
SysSolverCGParams invParam
 

Detailed Description

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

Unpreconditioned projected DWF operator to 4D.

Definition at line 21 of file unprec_dwf4d_linop_w.h.

Constructor & Destructor Documentation

◆ UnprecDWF4DLinOp() [1/3]

template<typename T >
Chroma::UnprecDWF4DLinOp< T >::UnprecDWF4DLinOp ( LinearOperatorArray< T > *  D_,
LinearOperatorArray< T > *  PV_,
const SysSolverCGParams invParam_ 
)
inline

Initialize pointer with existing pointer.

Requires that the pointer p is a return value of new

Definition at line 26 of file unprec_dwf4d_linop_w.h.

◆ UnprecDWF4DLinOp() [2/3]

template<typename T >
Chroma::UnprecDWF4DLinOp< T >::UnprecDWF4DLinOp ( Handle< LinearOperatorArray< T > >  D_,
Handle< LinearOperatorArray< T > >  PV_,
const SysSolverCGParams invParam_ 
)
inline

Copy pointer (one more owner)

Definition at line 32 of file unprec_dwf4d_linop_w.h.

◆ ~UnprecDWF4DLinOp()

template<typename T >
Chroma::UnprecDWF4DLinOp< T >::~UnprecDWF4DLinOp ( )
inline

Destructor.

Definition at line 38 of file unprec_dwf4d_linop_w.h.

◆ UnprecDWF4DLinOp() [3/3]

template<typename T >
Chroma::UnprecDWF4DLinOp< T >::UnprecDWF4DLinOp ( )
inlineprotected

Hide default constructor.

Definition at line 52 of file unprec_dwf4d_linop_w.h.

Member Function Documentation

◆ operator()() [1/2]

void Chroma::UnprecDWF4DLinOp< LatticeFermion >::operator() ( LatticeFermion &  chi,
const LatticeFermion &  psi,
enum PlusMinus  isign 
) const
virtual

◆ operator()() [2/2]

template<typename T >
void Chroma::UnprecDWF4DLinOp< T >::operator() ( T chi,
const T psi,
enum PlusMinus  isign 
) const
virtual

Apply the operator onto a source std::vector.

For this operator, the sign is ignored

Implements Chroma::LinearOperator< T >.

◆ size()

template<typename T >
int Chroma::UnprecDWF4DLinOp< T >::size ( void  ) const
inline

Length of internal 5D.

Definition at line 41 of file unprec_dwf4d_linop_w.h.

References Chroma::UnprecDWF4DLinOp< T >::D.

◆ subset()

template<typename T >
const Subset& Chroma::UnprecDWF4DLinOp< T >::subset ( void  ) const
inlinevirtual

Operator lives on the entire lattice.

Implements Chroma::LinearOperator< T >.

Definition at line 44 of file unprec_dwf4d_linop_w.h.

Member Data Documentation

◆ D

template<typename T >
Handle< LinearOperatorArray<T> > Chroma::UnprecDWF4DLinOp< T >::D
private

Definition at line 55 of file unprec_dwf4d_linop_w.h.

Referenced by Chroma::UnprecDWF4DLinOp< T >::size().

◆ invParam

template<typename T >
SysSolverCGParams Chroma::UnprecDWF4DLinOp< T >::invParam
private

Definition at line 57 of file unprec_dwf4d_linop_w.h.

◆ PV

template<typename T >
Handle< LinearOperatorArray<T> > Chroma::UnprecDWF4DLinOp< T >::PV
private

Definition at line 56 of file unprec_dwf4d_linop_w.h.


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