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

#include <gauge_field.h>

+ Inheritance diagram for quda::GaugeFieldParam:

Public Member Functions

 GaugeFieldParam (void *const h_gauge=NULL)
 
 GaugeFieldParam (const GaugeField &u)
 
 GaugeFieldParam (const int *x, const QudaPrecision precision, const QudaReconstructType reconstruct, const int pad, const QudaFieldGeometry geometry, const QudaGhostExchange ghostExchange=QUDA_GHOST_EXCHANGE_PAD)
 
 GaugeFieldParam (void *h_gauge, const QudaGaugeParam &param, QudaLinkType link_type_=QUDA_INVALID_LINKS)
 
void setPrecision (QudaPrecision precision, bool force_native=false)
 Helper function for setting the precision and corresponding field order for QUDA internal fields. More...
 
- 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

QudaFieldLocation location
 
int nColor
 
int nFace
 
QudaReconstructType reconstruct
 
QudaGaugeFieldOrder order
 
QudaGaugeFixed fixed
 
QudaLinkType link_type
 
QudaTboundary t_boundary
 
double anisotropy
 
double tadpole
 
void * gauge
 
QudaFieldCreate create
 
QudaFieldGeometry geometry
 
bool compute_fat_link_max
 
QudaStaggeredPhase staggeredPhaseType
 
bool staggeredPhaseApplied
 
double i_mu
 
size_t site_offset
 
size_t site_size
 
- 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 44 of file gauge_field.h.

Constructor & Destructor Documentation

◆ GaugeFieldParam() [1/4]

quda::GaugeFieldParam::GaugeFieldParam ( void *const  h_gauge = NULL)
inline

Definition at line 85 of file gauge_field.h.

◆ GaugeFieldParam() [2/4]

quda::GaugeFieldParam::GaugeFieldParam ( const GaugeField u)

Definition at line 7 of file gauge_field.cpp.

◆ GaugeFieldParam() [3/4]

quda::GaugeFieldParam::GaugeFieldParam ( const int *  x,
const QudaPrecision  precision,
const QudaReconstructType  reconstruct,
const int  pad,
const QudaFieldGeometry  geometry,
const QudaGhostExchange  ghostExchange = QUDA_GHOST_EXCHANGE_PAD 
)
inline

Definition at line 111 of file gauge_field.h.

◆ GaugeFieldParam() [4/4]

quda::GaugeFieldParam::GaugeFieldParam ( void *  h_gauge,
const QudaGaugeParam param,
QudaLinkType  link_type_ = QUDA_INVALID_LINKS 
)
inline

Definition at line 136 of file gauge_field.h.

Member Function Documentation

◆ setPrecision()

void quda::GaugeFieldParam::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

Definition at line 173 of file gauge_field.h.

Member Data Documentation

◆ anisotropy

double quda::GaugeFieldParam::anisotropy

Definition at line 56 of file gauge_field.h.

◆ compute_fat_link_max

bool quda::GaugeFieldParam::compute_fat_link_max

Definition at line 67 of file gauge_field.h.

◆ create

QudaFieldCreate quda::GaugeFieldParam::create

Definition at line 60 of file gauge_field.h.

◆ fixed

QudaGaugeFixed quda::GaugeFieldParam::fixed

Definition at line 52 of file gauge_field.h.

◆ gauge

void* quda::GaugeFieldParam::gauge

Definition at line 58 of file gauge_field.h.

◆ geometry

QudaFieldGeometry quda::GaugeFieldParam::geometry

Definition at line 62 of file gauge_field.h.

◆ i_mu

double quda::GaugeFieldParam::i_mu

Imaginary chemical potential

Definition at line 76 of file gauge_field.h.

◆ link_type

QudaLinkType quda::GaugeFieldParam::link_type

Definition at line 53 of file gauge_field.h.

◆ location

QudaFieldLocation quda::GaugeFieldParam::location

Definition at line 46 of file gauge_field.h.

◆ nColor

int quda::GaugeFieldParam::nColor

Definition at line 47 of file gauge_field.h.

◆ nFace

int quda::GaugeFieldParam::nFace

Definition at line 48 of file gauge_field.h.

◆ order

QudaGaugeFieldOrder quda::GaugeFieldParam::order

Definition at line 51 of file gauge_field.h.

◆ reconstruct

QudaReconstructType quda::GaugeFieldParam::reconstruct

Definition at line 50 of file gauge_field.h.

◆ site_offset

size_t quda::GaugeFieldParam::site_offset

Offset into MILC site struct to the desired matrix field (only if gauge_order=MILC_SITE_GAUGE_ORDER)

Definition at line 79 of file gauge_field.h.

◆ site_size

size_t quda::GaugeFieldParam::site_size

Size of MILC site struct (only if gauge_order=MILC_SITE_GAUGE_ORDER)

Definition at line 82 of file gauge_field.h.

◆ staggeredPhaseApplied

bool quda::GaugeFieldParam::staggeredPhaseApplied

Whether the staggered phase factor has been applied

Definition at line 73 of file gauge_field.h.

◆ staggeredPhaseType

QudaStaggeredPhase quda::GaugeFieldParam::staggeredPhaseType

The staggered phase convention to use

Definition at line 70 of file gauge_field.h.

◆ t_boundary

QudaTboundary quda::GaugeFieldParam::t_boundary

Definition at line 54 of file gauge_field.h.

◆ tadpole

double quda::GaugeFieldParam::tadpole

Definition at line 57 of file gauge_field.h.


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