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

#include <clover_field.h>

+ Inheritance diagram for quda::CloverFieldParam:

Public Member Functions

void setPrecision (QudaPrecision precision, bool force_native=false)
 Helper function for setting the precision and corresponding field order for QUDA internal fields. More...
 
 CloverFieldParam ()
 
 CloverFieldParam (const CloverFieldParam &param)
 
 CloverFieldParam (const CloverField &field)
 
- Public Member Functions inherited from quda::LatticeFieldParam
QudaPrecision Precision () const
 
QudaPrecision GhostPrecision () const
 
 LatticeFieldParam ()
 Default constructor for LatticeFieldParam. More...
 
 LatticeFieldParam (int nDim, const int *x, int pad, QudaPrecision precision, QudaGhostExchange ghostExchange=QUDA_GHOST_EXCHANGE_PAD)
 Constructor for creating a LatticeFieldParam from a set of parameters. More...
 
 LatticeFieldParam (const QudaGaugeParam &param)
 Constructor for creating a LatticeFieldParam from a QudaGaugeParam. Used for wrapping around a CPU reference field. More...
 
 LatticeFieldParam (const LatticeField &field)
 Contructor for creating LatticeFieldParam from a LatticeField. More...
 

Public Attributes

bool direct
 
bool inverse
 
void * clover
 
void * norm
 
void * cloverInv
 
void * invNorm
 
double csw
 
double coeff
 C_sw clover coefficient. More...
 
bool twisted
 Overall clover coefficient. More...
 
double mu2
 
double rho
 
QudaCloverFieldOrder order
 
QudaFieldCreate create
 
QudaFieldLocation location
 
- Public Attributes inherited from quda::LatticeFieldParam
int nDim
 
int x [QUDA_MAX_DIM]
 
int pad
 
QudaSiteSubset siteSubset
 
QudaMemoryType mem_type
 
QudaGhostExchange ghostExchange
 
int r [QUDA_MAX_DIM]
 
double scale
 

Additional Inherited Members

- Protected Attributes inherited from quda::LatticeFieldParam
QudaPrecision precision
 
QudaPrecision ghost_precision
 

Detailed Description

Definition at line 35 of file clover_field.h.

Constructor & Destructor Documentation

◆ CloverFieldParam() [1/3]

quda::CloverFieldParam::CloverFieldParam ( )
inline

Definition at line 71 of file clover_field.h.

◆ CloverFieldParam() [2/3]

quda::CloverFieldParam::CloverFieldParam ( const CloverFieldParam param)
inline

Definition at line 86 of file clover_field.h.

◆ CloverFieldParam() [3/3]

quda::CloverFieldParam::CloverFieldParam ( const CloverField field)

Definition at line 15 of file clover_field.cpp.

Member Function Documentation

◆ setPrecision()

void quda::CloverFieldParam::setPrecision ( QudaPrecision  precision,
bool  force_native = false 
)
inline

Helper function for setting the precision and corresponding field order for QUDA internal fields.

Parameters
precisionThe precision to use
force_nativeWhether we should force the field order to be native

Definition at line 59 of file clover_field.h.

Member Data Documentation

◆ clover

void* quda::CloverFieldParam::clover

Definition at line 38 of file clover_field.h.

◆ cloverInv

void* quda::CloverFieldParam::cloverInv

Definition at line 40 of file clover_field.h.

◆ coeff

double quda::CloverFieldParam::coeff

C_sw clover coefficient.

Definition at line 43 of file clover_field.h.

◆ create

QudaFieldCreate quda::CloverFieldParam::create

Definition at line 49 of file clover_field.h.

◆ csw

double quda::CloverFieldParam::csw

Definition at line 42 of file clover_field.h.

◆ direct

bool quda::CloverFieldParam::direct

Definition at line 36 of file clover_field.h.

◆ inverse

bool quda::CloverFieldParam::inverse

Definition at line 37 of file clover_field.h.

◆ invNorm

void* quda::CloverFieldParam::invNorm

Definition at line 41 of file clover_field.h.

◆ location

QudaFieldLocation quda::CloverFieldParam::location

Definition at line 51 of file clover_field.h.

◆ mu2

double quda::CloverFieldParam::mu2

Definition at line 45 of file clover_field.h.

◆ norm

void* quda::CloverFieldParam::norm

Definition at line 39 of file clover_field.h.

◆ order

QudaCloverFieldOrder quda::CloverFieldParam::order

Definition at line 48 of file clover_field.h.

◆ rho

double quda::CloverFieldParam::rho

Definition at line 46 of file clover_field.h.

◆ twisted

bool quda::CloverFieldParam::twisted

Overall clover coefficient.

Definition at line 44 of file clover_field.h.


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