JDFTx  1.7.0
LoopMacros.h File Reference

Macros

#define THREAD_rLoop(code)
 One thread of a loop over real space (see applyFunc_r_sub for example) More...
 
#define COMPUTE_rIndices
 The GPU equivalent of THREAD_rLoop. More...
 
#define THREAD_fullGspaceLoop(code)
 One thread of a loop over G-space (see L_sub in PHLO.cpp for example) More...
 
#define COMPUTE_fullGindices
 
#define THREAD_halfGspaceLoop(code)
 One thread of a loop over symmetry-reduced G-space (see applyFuncGsq_sub in Operators.h for example) More...
 
#define COMPUTE_halfGindices
 
#define IS_NYQUIST   ( (!(2*iG[0]-S[0])) | (!(2*iG[1]-S[1])) | (!(2*iG[2]-S[2])) )