QUDA  v1.1.0
A library for QCD on GPUs
Public Member Functions | List of all members
quda::DiracM Class Reference

#include <dirac_quda.h>

+ Inheritance diagram for quda::DiracM:

Public Member Functions

 DiracM (const Dirac &d)
 
 DiracM (const Dirac *d)
 
void operator() (ColorSpinorField &out, const ColorSpinorField &in) const
 apply operator and potentially a shift More...
 
void operator() (ColorSpinorField &out, const ColorSpinorField &in, ColorSpinorField &tmp) const
 
void operator() (ColorSpinorField &out, const ColorSpinorField &in, ColorSpinorField &Tmp1, ColorSpinorField &Tmp2) const
 
int getStencilSteps () const
 
- Public Member Functions inherited from quda::DiracMatrix
 DiracMatrix (const Dirac &d)
 
 DiracMatrix (const Dirac *d)
 
 DiracMatrix (const DiracMatrix &mat)
 
 DiracMatrix (const DiracMatrix *mat)
 
virtual ~DiracMatrix ()
 
unsigned long long flops () const
 
QudaMatPCType getMatPCType () const
 
std::string Type () const
 
bool isWilsonType () const
 return if the operator is a Wilson-type 4-d operator More...
 
bool isStaggered () const
 return if the operator is a staggered operator More...
 
bool isDwf () const
 return if the operator is a domain wall operator, that is, 5-dimensional More...
 
bool isCoarse () const
 return if the operator is a coarse operator More...
 
virtual bool hermitian () const
 
const DiracExpose () const
 

Additional Inherited Members

- Public Attributes inherited from quda::DiracMatrix
double shift
 Shift term added onto operator (M/M^dag M/M M^dag + shift) More...
 
- Protected Attributes inherited from quda::DiracMatrix
const Diracdirac
 

Detailed Description

Definition at line 1970 of file dirac_quda.h.

Constructor & Destructor Documentation

◆ DiracM() [1/2]

quda::DiracM::DiracM ( const Dirac d)
inline

Definition at line 1974 of file dirac_quda.h.

◆ DiracM() [2/2]

quda::DiracM::DiracM ( const Dirac d)
inline

Definition at line 1975 of file dirac_quda.h.

Member Function Documentation

◆ getStencilSteps()

int quda::DiracM::getStencilSteps ( ) const
inlinevirtual

Implements quda::DiracMatrix.

Definition at line 2018 of file dirac_quda.h.

◆ operator()() [1/3]

void quda::DiracM::operator() ( ColorSpinorField out,
const ColorSpinorField in 
) const
inlinevirtual

apply operator and potentially a shift

Implements quda::DiracMatrix.

Definition at line 1980 of file dirac_quda.h.

◆ operator()() [2/3]

void quda::DiracM::operator() ( ColorSpinorField out,
const ColorSpinorField in,
ColorSpinorField tmp 
) const
inlinevirtual

If the Dirac Operator's tmp1 member is not set, this provides a tmp. The tmp is set as the DiracOperator's tmp before the matrix apply and after the matrix apply it is unset and the tmp1 is set to null.

If the operator has a tmp1 member set it will be used and the passed tmp will be untouched

Implements quda::DiracMatrix.

Definition at line 1995 of file dirac_quda.h.

◆ operator()() [3/3]

void quda::DiracM::operator() ( ColorSpinorField out,
const ColorSpinorField in,
ColorSpinorField Tmp1,
ColorSpinorField Tmp2 
) const
inlinevirtual

Implements quda::DiracMatrix.

Definition at line 2005 of file dirac_quda.h.


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