QUDA
v1.1.0
A library for QCD on GPUs
|
#include <lattice_field.h>
Public Member Functions | |
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 ¶m) | |
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 | |
int | nDim |
int | x [QUDA_MAX_DIM] |
int | pad |
QudaSiteSubset | siteSubset |
QudaMemoryType | mem_type |
QudaGhostExchange | ghostExchange |
int | r [QUDA_MAX_DIM] |
double | scale |
Protected Attributes | |
QudaPrecision | precision |
QudaPrecision | ghost_precision |
Definition at line 48 of file lattice_field.h.
|
inline |
Default constructor for LatticeFieldParam.
Definition at line 88 of file lattice_field.h.
|
inline |
Constructor for creating a LatticeFieldParam from a set of parameters.
[in] | nDim | Number of field dimensions |
[in] | x | Array of dimension lengths |
[in] | pad | Field padding |
[in] | precision | Field Precision |
[in] | ghostExchange | Type of ghost exchange |
Definition at line 107 of file lattice_field.h.
|
inline |
Constructor for creating a LatticeFieldParam from a QudaGaugeParam. Used for wrapping around a CPU reference field.
[in] | param | Contains the metadata for filling out the LatticeFieldParam |
Definition at line 126 of file lattice_field.h.
quda::LatticeFieldParam::LatticeFieldParam | ( | const LatticeField & | field | ) |
Contructor for creating LatticeFieldParam from a LatticeField.
Definition at line 49 of file lattice_field.cpp.
|
inline |
Ghost precision
Definition at line 62 of file lattice_field.h.
|
inline |
Field precision
Definition at line 59 of file lattice_field.h.
|
protected |
Ghost precision
Definition at line 55 of file lattice_field.h.
QudaGhostExchange quda::LatticeFieldParam::ghostExchange |
The type of ghost exchange to be done with this field
Definition at line 77 of file lattice_field.h.
QudaMemoryType quda::LatticeFieldParam::mem_type |
Definition at line 74 of file lattice_field.h.
int quda::LatticeFieldParam::nDim |
Number of field dimensions
Definition at line 65 of file lattice_field.h.
int quda::LatticeFieldParam::pad |
Definition at line 70 of file lattice_field.h.
|
protected |
Field precision
Definition at line 52 of file lattice_field.h.
int quda::LatticeFieldParam::r[QUDA_MAX_DIM] |
The extended field radius (if applicable)
Definition at line 80 of file lattice_field.h.
double quda::LatticeFieldParam::scale |
For fixed-point fields that need a global scaling factor
Definition at line 83 of file lattice_field.h.
QudaSiteSubset quda::LatticeFieldParam::siteSubset |
Definition at line 72 of file lattice_field.h.
int quda::LatticeFieldParam::x[QUDA_MAX_DIM] |
Array storing the length of dimension
Definition at line 68 of file lattice_field.h.