QUDA  v1.1.0
A library for QCD on GPUs
Classes | Namespaces | Macros | Functions
gauge_field.h File Reference
#include <quda_internal.h>
#include <quda.h>
#include <lattice_field.h>
#include <comm_key.h>

Go to the source code of this file.

Classes

struct  quda::GaugeFieldParam
 
class  quda::GaugeField
 
class  quda::cudaGaugeField
 
class  quda::cpuGaugeField
 

Namespaces

 quda
 
 quda::gauge
 

Macros

#define checkReconstruct(...)   Reconstruct_(__func__, __FILE__, __LINE__, __VA_ARGS__)
 

Functions

bool quda::gauge::isNative (QudaGaugeFieldOrder order, QudaPrecision precision, QudaReconstructType reconstruct)
 
std::ostream & quda::operator<< (std::ostream &output, const GaugeFieldParam &param)
 
double quda::norm1 (const GaugeField &u)
 This is a debugging function, where we cast a gauge field into a spinor field so we can compute its L1 norm. More...
 
double quda::norm2 (const GaugeField &u)
 This is a debugging function, where we cast a gauge field into a spinor field so we can compute its L2 norm. More...
 
void quda::ax (const double &a, GaugeField &u)
 Scale the gauge field by the scalar a. More...
 
void quda::copyGenericGauge (GaugeField &out, const GaugeField &in, QudaFieldLocation location, void *Out=0, void *In=0, void **ghostOut=0, void **ghostIn=0, int type=0)
 
void quda::copyFieldOffset (GaugeField &out, const GaugeField &in, CommKey offset, QudaPCType pc_type)
 This function is used for copying from a source gauge field to a destination gauge field with an offset. More...
 
void quda::copyExtendedGauge (GaugeField &out, const GaugeField &in, QudaFieldLocation location, void *Out=0, void *In=0)
 
cudaGaugeField * quda::createExtendedGauge (cudaGaugeField &in, const int *R, TimeProfile &profile, bool redundant_comms=false, QudaReconstructType recon=QUDA_RECONSTRUCT_INVALID)
 
cpuGaugeField * quda::createExtendedGauge (void **gauge, QudaGaugeParam &gauge_param, const int *R)
 
void quda::extractGaugeGhost (const GaugeField &u, void **ghost, bool extract=true, int offset=0)
 
void quda::extractExtendedGaugeGhost (const GaugeField &u, int dim, const int *R, void **ghost, bool extract)
 
void quda::applyGaugePhase (GaugeField &u)
 
uint64_t quda::Checksum (const GaugeField &u, bool mini=false)
 
QudaReconstructType quda::Reconstruct_ (const char *func, const char *file, int line, const GaugeField &a, const GaugeField &b)
 Helper function for determining if the reconstruct of the fields is the same. More...
 
template<typename... Args>
QudaReconstructType quda::Reconstruct_ (const char *func, const char *file, int line, const GaugeField &a, const GaugeField &b, const Args &... args)
 Helper function for determining if the reconstruct of the fields is the same. More...
 

Macro Definition Documentation

◆ checkReconstruct

#define checkReconstruct (   ...)    Reconstruct_(__func__, __FILE__, __LINE__, __VA_ARGS__)

Definition at line 876 of file gauge_field.h.