QUDA  v1.1.0
A library for QCD on GPUs
Macros | Functions
misc.h File Reference
#include <quda.h>

Go to the source code of this file.

Macros

#define XUP   0
 
#define YUP   1
 
#define ZUP   2
 
#define TUP   3
 
#define TDOWN   4
 
#define ZDOWN   5
 
#define YDOWN   6
 
#define XDOWN   7
 
#define OPP_DIR(dir)   (7 - (dir))
 
#define GOES_FORWARDS(dir)   (dir <= 3)
 
#define GOES_BACKWARDS(dir)   (dir > 3)
 

Functions

const char * get_quda_ver_str ()
 
const char * get_recon_str (QudaReconstructType recon)
 
const char * get_prec_str (QudaPrecision prec)
 
const char * get_gauge_order_str (QudaGaugeFieldOrder order)
 
const char * get_test_type (int t)
 
const char * get_staggered_test_type (int t)
 
const char * get_unitarization_str (bool svd_only)
 
const char * get_mass_normalization_str (QudaMassNormalization)
 
const char * get_verbosity_str (QudaVerbosity)
 
const char * get_matpc_str (QudaMatPCType)
 
const char * get_solution_str (QudaSolutionType)
 
const char * get_solve_str (QudaSolveType)
 
const char * get_dslash_str (QudaDslashType type)
 
const char * get_flavor_str (QudaTwistFlavorType type)
 
const char * get_solver_str (QudaInverterType type)
 
const char * get_eig_spectrum_str (QudaEigSpectrumType type)
 
const char * get_eig_type_str (QudaEigType type)
 
const char * get_ritz_location_str (QudaFieldLocation type)
 
const char * get_memory_type_str (QudaMemoryType type)
 
const char * get_contract_str (QudaContractType type)
 

Macro Definition Documentation

◆ GOES_BACKWARDS

#define GOES_BACKWARDS (   dir)    (dir > 3)

Definition at line 35 of file misc.h.

◆ GOES_FORWARDS

#define GOES_FORWARDS (   dir)    (dir <= 3)

Definition at line 34 of file misc.h.

◆ OPP_DIR

#define OPP_DIR (   dir)    (7 - (dir))

Definition at line 33 of file misc.h.

◆ TDOWN

#define TDOWN   4

Definition at line 29 of file misc.h.

◆ TUP

#define TUP   3

Definition at line 28 of file misc.h.

◆ XDOWN

#define XDOWN   7

Definition at line 32 of file misc.h.

◆ XUP

#define XUP   0

Definition at line 25 of file misc.h.

◆ YDOWN

#define YDOWN   6

Definition at line 31 of file misc.h.

◆ YUP

#define YUP   1

Definition at line 26 of file misc.h.

◆ ZDOWN

#define ZDOWN   5

Definition at line 30 of file misc.h.

◆ ZUP

#define ZUP   2

Definition at line 27 of file misc.h.

Function Documentation

◆ get_contract_str()

const char* get_contract_str ( QudaContractType  type)

Definition at line 141 of file misc.cpp.

◆ get_dslash_str()

const char* get_dslash_str ( QudaDslashType  type)

Definition at line 118 of file misc.cpp.

◆ get_eig_spectrum_str()

const char* get_eig_spectrum_str ( QudaEigSpectrumType  type)

Definition at line 154 of file misc.cpp.

◆ get_eig_type_str()

const char* get_eig_type_str ( QudaEigType  type)

Definition at line 171 of file misc.cpp.

◆ get_flavor_str()

const char* get_flavor_str ( QudaTwistFlavorType  type)

Definition at line 248 of file misc.cpp.

◆ get_gauge_order_str()

const char* get_gauge_order_str ( QudaGaugeFieldOrder  order)

Definition at line 54 of file misc.cpp.

◆ get_mass_normalization_str()

const char* get_mass_normalization_str ( QudaMassNormalization  type)

Definition at line 186 of file misc.cpp.

◆ get_matpc_str()

const char* get_matpc_str ( QudaMatPCType  type)

Definition at line 200 of file misc.cpp.

◆ get_memory_type_str()

const char* get_memory_type_str ( QudaMemoryType  type)

Definition at line 325 of file misc.cpp.

◆ get_prec_str()

const char* get_prec_str ( QudaPrecision  prec)

Definition at line 26 of file misc.cpp.

◆ get_quda_ver_str()

const char* get_quda_ver_str ( )

Definition at line 302 of file misc.cpp.

◆ get_recon_str()

const char* get_recon_str ( QudaReconstructType  recon)

Definition at line 68 of file misc.cpp.

◆ get_ritz_location_str()

const char* get_ritz_location_str ( QudaFieldLocation  type)

Definition at line 312 of file misc.cpp.

◆ get_solution_str()

const char* get_solution_str ( QudaSolutionType  type)

Definition at line 215 of file misc.cpp.

◆ get_solve_str()

const char* get_solve_str ( QudaSolveType  type)

Definition at line 231 of file misc.cpp.

◆ get_solver_str()

const char* get_solver_str ( QudaInverterType  type)

Definition at line 263 of file misc.cpp.

◆ get_staggered_test_type()

const char* get_staggered_test_type ( int  t)

Definition at line 101 of file misc.cpp.

◆ get_test_type()

const char* get_test_type ( int  t)

Definition at line 84 of file misc.cpp.

◆ get_unitarization_str()

const char* get_unitarization_str ( bool  svd_only)

Definition at line 41 of file misc.cpp.

◆ get_verbosity_str()

const char* get_verbosity_str ( QudaVerbosity  type)

Definition at line 11 of file misc.cpp.