QUDA  1.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
quda::CloverArg< Float, nSpin, nColor, dynamic_clover_ > Struct Template Reference

Parameteter structure for driving the clover and twist-clover application kernels. More...

Collaboration diagram for quda::CloverArg< Float, nSpin, nColor, dynamic_clover_ >:
Collaboration graph
[legend]

Public Types

typedef colorspinor_mapper< Float, nSpin, nColor >::type F
 
typedef clover_mapper< Float, length >::type C
 
typedef mapper< Float >::type RegType
 

Public Member Functions

 CloverArg (ColorSpinorField &out, const ColorSpinorField &in, const CloverField &clover, bool inverse, int parity, RegType kappa=0.0, RegType mu=0.0, RegType epsilon=0.0, bool dagger=false, QudaTwistGamma5Type twist=QUDA_TWIST_GAMMA5_INVALID)
 

Public Attributes

F out
 
const F in
 
const C clover
 
const C cloverInv
 
const int nParity
 
const int parity
 
bool inverse
 
bool doublet
 
const int volumeCB
 
RegType a
 
RegType b
 
RegType c
 
QudaTwistGamma5Type twist
 

Static Public Attributes

static constexpr int length = (nSpin / (nSpin/2)) * 2 * nColor * nColor * (nSpin/2) * (nSpin/2) / 2
 
static constexpr bool dynamic_clover = dynamic_clover_
 

Detailed Description

template<typename Float, int nSpin, int nColor, bool dynamic_clover_ = false>
struct quda::CloverArg< Float, nSpin, nColor, dynamic_clover_ >

Parameteter structure for driving the clover and twist-clover application kernels.

Template Parameters
FloatUnderlying storage precision
nSpinNumber of spin components
nColorNumber of colors
dynamic_cloverWhether we are inverting the clover field on the fly

Definition at line 471 of file dslash_quda.cu.

Member Typedef Documentation

◆ C

template<typename Float, int nSpin, int nColor, bool dynamic_clover_ = false>
typedef clover_mapper<Float,length>::type quda::CloverArg< Float, nSpin, nColor, dynamic_clover_ >::C

Definition at line 476 of file dslash_quda.cu.

◆ F

template<typename Float, int nSpin, int nColor, bool dynamic_clover_ = false>
typedef colorspinor_mapper<Float,nSpin,nColor>::type quda::CloverArg< Float, nSpin, nColor, dynamic_clover_ >::F

Definition at line 475 of file dslash_quda.cu.

◆ RegType

template<typename Float, int nSpin, int nColor, bool dynamic_clover_ = false>
typedef mapper<Float>::type quda::CloverArg< Float, nSpin, nColor, dynamic_clover_ >::RegType

Definition at line 477 of file dslash_quda.cu.

Constructor & Destructor Documentation

◆ CloverArg()

template<typename Float, int nSpin, int nColor, bool dynamic_clover_ = false>
quda::CloverArg< Float, nSpin, nColor, dynamic_clover_ >::CloverArg ( ColorSpinorField out,
const ColorSpinorField in,
const CloverField clover,
bool  inverse,
int  parity,
RegType  kappa = 0.0,
RegType  mu = 0.0,
RegType  epsilon = 0.0,
bool  dagger = false,
QudaTwistGamma5Type  twist = QUDA_TWIST_GAMMA5_INVALID 
)
inline

Definition at line 493 of file dslash_quda.cu.

References errorQuda, mu, QUDA_TWIST_GAMMA5_DIRECT, QUDA_TWIST_GAMMA5_INVERSE, QUDA_TWIST_SINGLET, and quda::ColorSpinorField::TwistFlavor().

Here is the call graph for this function:

Member Data Documentation

◆ a

template<typename Float, int nSpin, int nColor, bool dynamic_clover_ = false>
RegType quda::CloverArg< Float, nSpin, nColor, dynamic_clover_ >::a

Definition at line 488 of file dslash_quda.cu.

◆ b

template<typename Float, int nSpin, int nColor, bool dynamic_clover_ = false>
RegType quda::CloverArg< Float, nSpin, nColor, dynamic_clover_ >::b

Definition at line 489 of file dslash_quda.cu.

◆ c

template<typename Float, int nSpin, int nColor, bool dynamic_clover_ = false>
RegType quda::CloverArg< Float, nSpin, nColor, dynamic_clover_ >::c

Definition at line 490 of file dslash_quda.cu.

◆ clover

template<typename Float, int nSpin, int nColor, bool dynamic_clover_ = false>
const C quda::CloverArg< Float, nSpin, nColor, dynamic_clover_ >::clover

Definition at line 481 of file dslash_quda.cu.

Referenced by quda::computeClover().

◆ cloverInv

template<typename Float, int nSpin, int nColor, bool dynamic_clover_ = false>
const C quda::CloverArg< Float, nSpin, nColor, dynamic_clover_ >::cloverInv

Definition at line 482 of file dslash_quda.cu.

◆ doublet

template<typename Float, int nSpin, int nColor, bool dynamic_clover_ = false>
bool quda::CloverArg< Float, nSpin, nColor, dynamic_clover_ >::doublet

Definition at line 486 of file dslash_quda.cu.

◆ dynamic_clover

template<typename Float, int nSpin, int nColor, bool dynamic_clover_ = false>
constexpr bool quda::CloverArg< Float, nSpin, nColor, dynamic_clover_ >::dynamic_clover = dynamic_clover_
static

Definition at line 473 of file dslash_quda.cu.

◆ in

template<typename Float, int nSpin, int nColor, bool dynamic_clover_ = false>
const F quda::CloverArg< Float, nSpin, nColor, dynamic_clover_ >::in

Definition at line 480 of file dslash_quda.cu.

◆ inverse

template<typename Float, int nSpin, int nColor, bool dynamic_clover_ = false>
bool quda::CloverArg< Float, nSpin, nColor, dynamic_clover_ >::inverse

Definition at line 485 of file dslash_quda.cu.

◆ length

template<typename Float, int nSpin, int nColor, bool dynamic_clover_ = false>
constexpr int quda::CloverArg< Float, nSpin, nColor, dynamic_clover_ >::length = (nSpin / (nSpin/2)) * 2 * nColor * nColor * (nSpin/2) * (nSpin/2) / 2
static

Definition at line 472 of file dslash_quda.cu.

◆ nParity

template<typename Float, int nSpin, int nColor, bool dynamic_clover_ = false>
const int quda::CloverArg< Float, nSpin, nColor, dynamic_clover_ >::nParity

Definition at line 483 of file dslash_quda.cu.

◆ out

template<typename Float, int nSpin, int nColor, bool dynamic_clover_ = false>
F quda::CloverArg< Float, nSpin, nColor, dynamic_clover_ >::out

Definition at line 479 of file dslash_quda.cu.

◆ parity

template<typename Float, int nSpin, int nColor, bool dynamic_clover_ = false>
const int quda::CloverArg< Float, nSpin, nColor, dynamic_clover_ >::parity

Definition at line 484 of file dslash_quda.cu.

◆ twist

template<typename Float, int nSpin, int nColor, bool dynamic_clover_ = false>
QudaTwistGamma5Type quda::CloverArg< Float, nSpin, nColor, dynamic_clover_ >::twist

Definition at line 491 of file dslash_quda.cu.

◆ volumeCB

template<typename Float, int nSpin, int nColor, bool dynamic_clover_ = false>
const int quda::CloverArg< Float, nSpin, nColor, dynamic_clover_ >::volumeCB

Definition at line 487 of file dslash_quda.cu.


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