4 #include "gParticlePlane.decl.h"
7 #include "paircalc/ckPairCalculator.h"
8 #include "cpaimd.decl.h"
10 #ifndef CP_STATE_PARTICLE_PLANE_H
11 #define CP_STATE_PARTICLE_PLANE_H
65 CP_State_ParticlePlane(
int ,
int ,
int ,
int ,
int ,
int ,
int ,
int ,
int ,
int ,
int ,
int ,
int ,
int ,
int,
UberCollection );
88 void printEnl(CkReductionMsg *msg);
90 int ibead_ind,kpoint_ind, itemper_ind;
110 int registrationFlag;
114 complex *myForces, *gspace, *projPsiG;
116 double *dyp_re,*dyp_im;
124 int zsize, energy_count;
125 int sizeX, sizeY, sizeZ, gSpacePlanesPerChare;
126 int reductionPlaneNum;
127 complex *zmatrix_fx,*zmatrix_fy,*zmatrix_fz;
128 complex *zmatrixSum_fx,*zmatrixSum_fy,*zmatrixSum_fz;
129 CkSectionInfo enlCookie;
130 CProxySection_CP_State_ParticlePlane particlePlaneENLProxy;
131 CProxy_CP_State_RealParticlePlane realPP_proxy;
132 #ifdef _CP_GS_DEBUG_COMPARE_VKS_
140 #endif // CP_STATE_PARTICLE_PLANE_H
void pup(PUP::er &)
pup for migration /////////////////////////////////////////////////////////////////////////// ///////...
holds the UberIndex and the offset for proxies
2D chare array [nchareG][nstates] Handles flow of control within an instance, always same dimensional...
void FFTNLEesFwd()
FFT projPsi(gx,gy,gz) -> projPsi(gx,gy,z) ///////////////////////////////////////////////////////////...
void createNLEesFFTdata()
In gspace, create the projector, projPsi ////////////////////////////////////////////////////////////...
void computeZ(PPDummyMsg *m)
Entry Method.
void initKVectors()
InitKVectors creates local k vectors for this chare and mallocs some memory.
void reduceZ(int, int, complex *, complex *, complex *, complex *)
ReduceZ reduces Zmat over gspace for a particular state for N^3 method //////////////////////////////...
int istate_ind
My state index.
void computeNLEesForces()
Compute the Psi forces : If not done, start a new iteration /////////////////////////////////////////...
2D chare array [nchareG][nstates] Handles the electronic structure in Fourier space (referred to as G...
void FFTNLEesBck()
Complete the FFT : projPsif(gx,gy,z) -> projPsif(gx,gy,gz) //////////////////////////////////////////...
int calcReductionPlaneNum(int)
Spread the reduction plane numbers around to minimize map collisions for the N^3 method.
void ResumeFromSync()
Resume from Sync which is a general routine /////////////////////////////////////////////////////////...
void recvFromEesRPP(GSPPIFFTMsg *msg)
Receive the projector back modified to generate psi forces A message cannot come back until I have se...
void getForces(int, int, complex *)
Compute psi forces for the N^3 method ///////////////////////////////////////////////////////////////...
void startNLEes(int)
= The entry point to the Euler Exponential Spline non-local method.
void registrationDone(CkReductionMsg *msg)
= Make sure everyone is registered on the 1st time step
void setEnlCookie(EnlCookieMsg *m)
Section reduction cookie N^3 method /////////////////////////////////////////////////////////////////...
void sendToEesRPP()
send projPsi(gx,gy,z) to Rspace chare where FFT is completed ////////////////////////////////////////...
void lPrioStartNLEes(NLDummyMsg *m)
= The entry point to the Euler Exponential Spline non-local method.
void launchComputeZs()
Entry Method. GSpaceDriver calls this to trigger the launch of the computeZ()s to compute the Z matri...
~CP_State_ParticlePlane()
The destructor : Carefully about what it malloced and what is not ///////////////////////////////////...