HiRep 0.1
Loading...
Searching...
No Matches
global.h File Reference

Global parameters and arrays. More...

#include "check_options.h"
#include "core_utils.h"
#include "geometry.h"
#include <stddef.h>
#include "flags.h"
#include <hr_mpi.h>
#include "gpu.h"
#include "suN_types.h"
#include "spinor_field.h"
#include "IO/input_par.h"
Include dependency graph for global.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PI   M_PI
 
#define BLK_T_GPU   4
 
#define BLK_X_GPU   4
 
#define BLK_Y_GPU   4
 
#define BLK_Z_GPU   4
 
#define glat_default   glattice
 
#define STD_MEM_TYPE   (CPU_MEM | GPU_MEM)
 
#define BLOCK_SIZE   256
 
#define BLOCK_SIZE_LINEAR_ALGEBRA   256
 
#define BLOCK_SIZE_GLOBAL_SUM   512
 
#define BLOCK_SIZE_DIRAC   256
 
#define BLOCK_SIZE_CLOVER   256
 
#define BLOCK_SIZE_DIRAC_FLT   512
 
#define BLOCK_SIZE_SYNC   32
 
#define pu_gauge(ix, mu)
 
#define pu_scalar(ix)
 
#define pu_gauge_flt(ix, mu)
 
#define pu_gauge_f(ix, mu)
 
#define pu_gauge_f_flt(ix, mu)
 
#define ALLOCATE_REPR_GAUGE_FIELD
 

Variables

int T
 
int X
 
int Y
 
int Z
 
long int GLB_VOL3
 
long int GLB_VOLUME
 
long int VOL3
 
long int VOLUME
 
int NP_T
 
int NP_X
 
int NP_Y
 
int NP_Z
 
int MPI_BLK_T
 
int MPI_BLK_X
 
int MPI_BLK_Y
 
int MPI_BLK_Z
 
int GLB_T
 
int GLB_X
 
int GLB_Y
 
int GLB_Z
 
int T_BORDER
 
int X_BORDER
 
int Y_BORDER
 
int Z_BORDER
 
int T_EXT
 
int X_EXT
 
int Y_EXT
 
int Z_EXT
 
int PB_T
 
int PB_X
 
int PB_Y
 
int PB_Z
 
int WORLD_SIZE
 
int CART_SIZE
 
int N_REP
 
int MPI_WORLD_SIZE
 
int MPI_PID
 
MPI_Comm GLB_COMM
 
MPI_Comm cart_comm
 
int RID
 
int PID
 
int LID
 
int CID
 
int COORD [4]
 
int PSIGN
 
int * ipt
 
int * ipt_4d
 
int * iup
 
int * idn
 
char * imask
 
int zerocoord [4]
 
int * timeslices
 
int BLK_T
 
int BLK_X
 
int BLK_Y
 
int BLK_Z
 
geometry_descriptor glattice
 
geometry_descriptor glat_even
 
geometry_descriptor glat_odd
 
geometry_descriptor glat_even_red
 
geometry_descriptor glat_odd_red
 
geometry_descriptor glat_even_black
 
geometry_descriptor glat_odd_black
 
geometry_descriptor glat_red
 
geometry_descriptor glat_black
 
box_tgeometryBoxes
 
box_tgeometryBoxes_gpu
 
coord4icoord_gpu
 
coord4sb_icoord_gpu
 
cudaStream_t non_default_stream
 
cudaStream_t memory_streams [16]
 
kernel_field_input ** input
 
input_gpu gpu_var
 
int gpu_id
 
int * ipt_gpu
 
int * iup_gpu
 
int * idn_gpu
 
char * imask_gpu
 
unsigned int grid_size_max_gpu
 
int * timeslices_gpu
 
mem_t std_mem_t
 
mem_t alloc_mem_t
 
comm_t std_comm_t
 
suNg_fieldu_gauge
 
suNg_scalar_fieldu_scalar
 
suNg_field_fltu_gauge_flt
 
suNf_fieldu_gauge_f
 
suNg_fieldu_gauge_s
 
suNf_field_fltu_gauge_f_flt
 
clover_termcl_term
 
clover_forcecl_force
 
ldl_fieldcl_ldl
 
suNg_av_fieldsuN_momenta
 
suNg_scalar_fieldscalar_momenta
 
int gauge_field_active
 
input_glb glb_var
 
input_rlx rlx_var
 
input_logger logger_var
 
double * plaq_weight
 
double * rect_weight
 
double * plaq_weight_gpu
 
double * rect_weight_gpu
 
scalar_fieldff_sigma
 
scalar_fieldff_pi
 
scalar_fieldff_sigma_mom
 
scalar_fieldff_pi_mom
 
int four_fermion_active
 

Detailed Description

Global parameters and arrays.

Macro Definition Documentation

◆ pu_gauge

#define pu_gauge ( ix,
mu )
Value:
((u_gauge->ptr) + coord_to_index(ix, mu))
suNg * ptr
Definition spinor_field.h:98

◆ pu_gauge_f

#define pu_gauge_f ( ix,
mu )
Value:
((u_gauge_f->ptr) + coord_to_index(ix, mu))
suNf * ptr
Definition spinor_field.h:153

◆ pu_gauge_f_flt

#define pu_gauge_f_flt ( ix,
mu )
Value:
((u_gauge_f_flt->ptr) + coord_to_index(ix, mu))
suNf_flt * ptr
Definition spinor_field.h:171

◆ pu_gauge_flt

#define pu_gauge_flt ( ix,
mu )
Value:
((u_gauge_flt->ptr) + coord_to_index(ix, mu))
suNg_flt * ptr
Definition spinor_field.h:135

◆ pu_scalar

#define pu_scalar ( ix)
Value:
((u_scalar->ptr) + ix)
suNg_vector * ptr
Definition spinor_field.h:117