QUDA
v1.1.0
A library for QCD on GPUs
|
#include <dirac_quda.h>
Public Member Functions | |
DiracMobius (const DiracParam ¶m) | |
void | Dslash4 (ColorSpinorField &out, const ColorSpinorField &in, const QudaParity parity) const |
Apply the local MdagM operator: equivalent to applying zero Dirichlet boundary condition to MdagM on each rank. Depending on the number of stencil steps of the fermion type, this may require additional effort to include the terms that hop out of the boundary and then hop back. More... | |
void | Dslash4pre (ColorSpinorField &out, const ColorSpinorField &in, const QudaParity parity) const |
void | Dslash5 (ColorSpinorField &out, const ColorSpinorField &in, const QudaParity parity) const |
void | Dslash4Xpay (ColorSpinorField &out, const ColorSpinorField &in, const QudaParity parity, const ColorSpinorField &x, const double &k) const |
void | Dslash4preXpay (ColorSpinorField &out, const ColorSpinorField &in, const QudaParity parity, const ColorSpinorField &x, const double &k) const |
void | Dslash5Xpay (ColorSpinorField &out, const ColorSpinorField &in, const QudaParity parity, const ColorSpinorField &x, const double &k) const |
virtual void | M (ColorSpinorField &out, const ColorSpinorField &in) const |
Apply M for the dirac op. E.g. the Schur Complement operator. More... | |
virtual void | MdagM (ColorSpinorField &out, const ColorSpinorField &in) const |
Apply MdagM operator which may be optimized. More... | |
virtual void | prepare (ColorSpinorField *&src, ColorSpinorField *&sol, ColorSpinorField &x, ColorSpinorField &b, const QudaSolutionType) const |
virtual void | reconstruct (ColorSpinorField &x, const ColorSpinorField &b, const QudaSolutionType) const |
virtual QudaDiracType | getDiracType () const |
returns the Dirac type More... | |
Public Member Functions inherited from quda::DiracDomainWall | |
DiracDomainWall (const DiracParam ¶m) | |
DiracDomainWall (const DiracDomainWall &dirac) | |
virtual | ~DiracDomainWall () |
DiracDomainWall & | operator= (const DiracDomainWall &dirac) |
void | Dslash (ColorSpinorField &out, const ColorSpinorField &in, const QudaParity parity) const |
apply 'dslash' operator for the DiracOp. This may be e.g. AD More... | |
void | DslashXpay (ColorSpinorField &out, const ColorSpinorField &in, const QudaParity parity, const ColorSpinorField &x, const double &k) const |
Xpay version of Dslash. More... | |
Public Member Functions inherited from quda::DiracWilson | |
DiracWilson (const DiracParam ¶m) | |
DiracWilson (const DiracWilson &dirac) | |
DiracWilson (const DiracParam ¶m, const int nDims) | |
virtual | ~DiracWilson () |
DiracWilson & | operator= (const DiracWilson &dirac) |
virtual void | createCoarseOp (GaugeField &Y, GaugeField &X, const Transfer &T, double kappa, double mass=0., double mu=0., double mu_factor=0.) const |
Create the coarse Wilson operator. More... | |
Public Member Functions inherited from quda::Dirac | |
Dirac (const DiracParam ¶m) | |
Dirac (const Dirac &dirac) | |
virtual | ~Dirac () |
Dirac & | operator= (const Dirac &dirac) |
void | setCommDim (const int commDim_[QUDA_MAX_DIM]) const |
Enable / disable communications for the Dirac operator. More... | |
virtual bool | isCoarse () const |
Whether the Dirac object is the DiracCoarse. More... | |
virtual void | checkParitySpinor (const ColorSpinorField &, const ColorSpinorField &) const |
Check parity spinors are usable (check geometry ?) More... | |
virtual void | checkFullSpinor (const ColorSpinorField &, const ColorSpinorField &) const |
check full spinors are compatible (check geometry ?) More... | |
void | checkSpinorAlias (const ColorSpinorField &, const ColorSpinorField &) const |
check spinors do not alias More... | |
virtual bool | hasDslash () const |
Whether or not the operator has a single-parity Dslash. More... | |
virtual void | MdagMLocal (ColorSpinorField &out, const ColorSpinorField &in) const |
Apply the local MdagM operator: equivalent to applying zero Dirichlet boundary condition to MdagM on each rank. Depending on the number of stencil steps of the fermion type, this may require additional effort to include the terms that hop out of the boundary and then hop back. More... | |
void | Mdag (ColorSpinorField &out, const ColorSpinorField &in) const |
Apply Mdag (daggered operator of M. More... | |
void | MMdag (ColorSpinorField &out, const ColorSpinorField &in) const |
Apply Normal Operator. More... | |
virtual void | prepareSpecialMG (ColorSpinorField *&src, ColorSpinorField *&sol, ColorSpinorField &x, ColorSpinorField &b, const QudaSolutionType solType) const |
virtual void | reconstructSpecialMG (ColorSpinorField &x, const ColorSpinorField &b, const QudaSolutionType solType) const |
virtual bool | hasSpecialMG () const |
specifies whether or not there's a specialized prepare/reconstruct used before/after transfering to/from the coarse level in MG More... | |
void | setMass (double mass) |
double | Kappa () const |
accessor for Kappa (mass parameter) More... | |
virtual double | Mass () const |
accessor for Mass (in case of a factor of 2 for staggered) More... | |
virtual double | Mu () const |
accessor for twist parameter – overrride can return better value More... | |
virtual double | MuFactor () const |
accessor for mu factoo for MG/ – override can return a better value More... | |
unsigned long long | Flops () const |
returns and then zeroes flopcount More... | |
QudaMatPCType | getMatPCType () const |
returns preconditioning type More... | |
int | getStencilSteps () const |
I have no idea what this does. More... | |
void | Dagger (QudaDagType dag) const |
sets whether operator is daggered or not More... | |
void | flipDagger () const |
Flips value of daggered. More... | |
virtual bool | hermitian () const |
is operator hermitian More... | |
virtual void | updateFields (cudaGaugeField *gauge_in, cudaGaugeField *fat_gauge_in, cudaGaugeField *long_gauge_in, cudaCloverField *clover_in) |
Update the internal gauge, fat gauge, long gauge, clover field pointer as appropriate. These are pointers as opposed to references to support passing in nullptr . More... | |
QudaPrecision | HaloPrecision () const |
void | setHaloPrecision (QudaPrecision halo_precision_) const |
virtual void | prefetch (QudaFieldLocation mem_space, qudaStream_t stream=0) const |
If managed memory and prefetch is enabled, prefetch the gauge field and temporary spinors to the CPU or GPU as requested. Overloads may also grab a clover term. More... | |
Public Member Functions inherited from quda::Object | |
Object () | |
virtual | ~Object () |
Protected Attributes | |
Complex | b_5 [QUDA_MAX_DWF_LS] |
Complex | c_5 [QUDA_MAX_DWF_LS] |
bool | zMobius |
double | mobius_kappa_b |
double | mobius_kappa_c |
double | mobius_kappa |
Protected Attributes inherited from quda::DiracDomainWall | |
double | m5 |
double | kappa5 |
int | Ls |
Protected Attributes inherited from quda::Dirac | |
cudaGaugeField * | gauge |
double | kappa |
double | mass |
int | laplace3D |
QudaMatPCType | matpcType |
QudaDagType | dagger |
unsigned long long | flops |
ColorSpinorField * | tmp1 |
ColorSpinorField * | tmp2 |
QudaDiracType | type |
QudaPrecision | halo_precision |
int | commDim [QUDA_MAX_DIM] |
TimeProfile | profile |
Additional Inherited Members | |
Static Public Member Functions inherited from quda::Dirac | |
static Dirac * | create (const DiracParam ¶m) |
Creates a subclass from parameters. More... | |
Static Public Member Functions inherited from quda::Object | |
static void * | operator new (std::size_t size) |
static void | operator delete (void *p) |
static void * | operator new[] (std::size_t size) |
static void | operator delete[] (void *p) |
Protected Member Functions inherited from quda::DiracDomainWall | |
void | checkDWF (const ColorSpinorField &out, const ColorSpinorField &in) const |
Protected Member Functions inherited from quda::DiracWilson | |
void | initConstants () |
Protected Member Functions inherited from quda::Dirac | |
bool | newTmp (ColorSpinorField **, const ColorSpinorField &) const |
void | deleteTmp (ColorSpinorField **, const bool &reset) const |
Definition at line 815 of file dirac_quda.h.
quda::DiracMobius::DiracMobius | ( | const DiracParam & | param | ) |
Definition at line 7 of file dirac_mobius.cpp.
|
virtual |
Apply the local MdagM operator: equivalent to applying zero Dirichlet boundary condition to MdagM on each rank. Depending on the number of stencil steps of the fermion type, this may require additional effort to include the terms that hop out of the boundary and then hop back.
Reimplemented from quda::Dirac.
Definition at line 38 of file dirac_mobius.cpp.
void quda::DiracMobius::Dslash4pre | ( | ColorSpinorField & | out, |
const ColorSpinorField & | in, | ||
const QudaParity | parity | ||
) | const |
Definition at line 49 of file dirac_mobius.cpp.
void quda::DiracMobius::Dslash4preXpay | ( | ColorSpinorField & | out, |
const ColorSpinorField & | in, | ||
const QudaParity | parity, | ||
const ColorSpinorField & | x, | ||
const double & | k | ||
) | const |
Definition at line 91 of file dirac_mobius.cpp.
void quda::DiracMobius::Dslash4Xpay | ( | ColorSpinorField & | out, |
const ColorSpinorField & | in, | ||
const QudaParity | parity, | ||
const ColorSpinorField & | x, | ||
const double & | k | ||
) | const |
Definition at line 79 of file dirac_mobius.cpp.
void quda::DiracMobius::Dslash5 | ( | ColorSpinorField & | out, |
const ColorSpinorField & | in, | ||
const QudaParity | parity | ||
) | const |
Definition at line 64 of file dirac_mobius.cpp.
void quda::DiracMobius::Dslash5Xpay | ( | ColorSpinorField & | out, |
const ColorSpinorField & | in, | ||
const QudaParity | parity, | ||
const ColorSpinorField & | x, | ||
const double & | k | ||
) | const |
Definition at line 108 of file dirac_mobius.cpp.
|
inlinevirtual |
returns the Dirac type
Reimplemented from quda::DiracDomainWall.
Reimplemented in quda::DiracMobiusEofaPC, quda::DiracMobiusEofa, and quda::DiracMobiusPC.
Definition at line 857 of file dirac_quda.h.
|
virtual |
Apply M for the dirac op. E.g. the Schur Complement operator.
Reimplemented from quda::DiracDomainWall.
Reimplemented in quda::DiracMobiusEofaPC, quda::DiracMobiusEofa, and quda::DiracMobiusPC.
Definition at line 123 of file dirac_mobius.cpp.
|
virtual |
Apply MdagM operator which may be optimized.
Reimplemented from quda::DiracDomainWall.
Reimplemented in quda::DiracMobiusEofaPC, quda::DiracMobiusEofa, and quda::DiracMobiusPC.
Definition at line 158 of file dirac_mobius.cpp.
|
virtual |
Reimplemented from quda::DiracDomainWall.
Reimplemented in quda::DiracMobiusEofaPC, quda::DiracMobiusEofa, and quda::DiracMobiusPC.
Definition at line 170 of file dirac_mobius.cpp.
|
virtual |
Reimplemented from quda::DiracDomainWall.
Reimplemented in quda::DiracMobiusEofaPC, quda::DiracMobiusEofa, and quda::DiracMobiusPC.
Definition at line 181 of file dirac_mobius.cpp.
|
protected |
Definition at line 819 of file dirac_quda.h.
|
protected |
Definition at line 820 of file dirac_quda.h.
|
protected |
Definition at line 831 of file dirac_quda.h.
|
protected |
Definition at line 829 of file dirac_quda.h.
|
protected |
Definition at line 830 of file dirac_quda.h.
|
protected |
Whether we are using classical Mobius with constant real-valued b and c coefficients, or zMobius with complex-valued variable coefficients
Definition at line 827 of file dirac_quda.h.