QUDA  v1.1.0
A library for QCD on GPUs
Public Member Functions | Public Attributes | Protected Attributes | List of all members
quda::DiracMatrix Class Referenceabstract

#include <dirac_quda.h>

+ Inheritance diagram for quda::DiracMatrix:

Public Member Functions

 DiracMatrix (const Dirac &d)
 
 DiracMatrix (const Dirac *d)
 
 DiracMatrix (const DiracMatrix &mat)
 
 DiracMatrix (const DiracMatrix *mat)
 
virtual ~DiracMatrix ()
 
virtual void operator() (ColorSpinorField &out, const ColorSpinorField &in) const =0
 
virtual void operator() (ColorSpinorField &out, const ColorSpinorField &in, ColorSpinorField &tmp) const =0
 
virtual void operator() (ColorSpinorField &out, const ColorSpinorField &in, ColorSpinorField &Tmp1, ColorSpinorField &Tmp2) const =0
 
unsigned long long flops () const
 
QudaMatPCType getMatPCType () const
 
virtual int getStencilSteps () const =0
 
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
 

Public Attributes

double shift
 Shift term added onto operator (M/M^dag M/M M^dag + shift) More...
 

Protected Attributes

const Diracdirac
 

Detailed Description

Definition at line 1892 of file dirac_quda.h.

Constructor & Destructor Documentation

◆ DiracMatrix() [1/4]

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

Definition at line 1898 of file dirac_quda.h.

◆ DiracMatrix() [2/4]

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

Definition at line 1899 of file dirac_quda.h.

◆ DiracMatrix() [3/4]

quda::DiracMatrix::DiracMatrix ( const DiracMatrix mat)
inline

Definition at line 1900 of file dirac_quda.h.

◆ DiracMatrix() [4/4]

quda::DiracMatrix::DiracMatrix ( const DiracMatrix mat)
inline

Definition at line 1901 of file dirac_quda.h.

◆ ~DiracMatrix()

virtual quda::DiracMatrix::~DiracMatrix ( )
inlinevirtual

Definition at line 1902 of file dirac_quda.h.

Member Function Documentation

◆ Expose()

const Dirac* quda::DiracMatrix::Expose ( ) const
inline

Definition at line 1964 of file dirac_quda.h.

◆ flops()

unsigned long long quda::DiracMatrix::flops ( ) const
inline

Definition at line 1909 of file dirac_quda.h.

◆ getMatPCType()

QudaMatPCType quda::DiracMatrix::getMatPCType ( ) const
inline

Definition at line 1911 of file dirac_quda.h.

◆ getStencilSteps()

virtual int quda::DiracMatrix::getStencilSteps ( ) const
pure virtual

◆ hermitian()

virtual bool quda::DiracMatrix::hermitian ( ) const
inlinevirtual

Reimplemented in quda::DiracG5M, quda::DiracMMdag, and quda::DiracMdagM.

Definition at line 1962 of file dirac_quda.h.

◆ isCoarse()

bool quda::DiracMatrix::isCoarse ( ) const
inline

return if the operator is a coarse operator

Definition at line 1960 of file dirac_quda.h.

◆ isDwf()

bool quda::DiracMatrix::isDwf ( ) const
inline

return if the operator is a domain wall operator, that is, 5-dimensional

Definition at line 1947 of file dirac_quda.h.

◆ isStaggered()

bool quda::DiracMatrix::isStaggered ( ) const
inline

return if the operator is a staggered operator

Definition at line 1935 of file dirac_quda.h.

◆ isWilsonType()

bool quda::DiracMatrix::isWilsonType ( ) const
inline

return if the operator is a Wilson-type 4-d operator

Definition at line 1920 of file dirac_quda.h.

◆ operator()() [1/3]

virtual void quda::DiracMatrix::operator() ( ColorSpinorField out,
const ColorSpinorField in 
) const
pure virtual

◆ operator()() [2/3]

virtual void quda::DiracMatrix::operator() ( ColorSpinorField out,
const ColorSpinorField in,
ColorSpinorField tmp 
) const
pure virtual

◆ operator()() [3/3]

virtual void quda::DiracMatrix::operator() ( ColorSpinorField out,
const ColorSpinorField in,
ColorSpinorField Tmp1,
ColorSpinorField Tmp2 
) const
pure virtual

◆ Type()

std::string quda::DiracMatrix::Type ( ) const
inline

Definition at line 1915 of file dirac_quda.h.

Member Data Documentation

◆ dirac

const Dirac* quda::DiracMatrix::dirac
protected

Definition at line 1895 of file dirac_quda.h.

◆ shift

double quda::DiracMatrix::shift

Shift term added onto operator (M/M^dag M/M M^dag + shift)

Definition at line 1967 of file dirac_quda.h.


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