4 #include "gStatePlane.decl.h"
5 #include "pcCommManager.h"
9 #include "paircalc/ckPairCalculator.h"
10 #include "cpaimd.decl.h"
11 #include "utility/matrix2file.h"
13 using namespace cp::gspace;
15 #ifndef CP_STATE_GSPACE_PLANE_H
16 #define CP_STATE_GSPACE_PLANE_H
121 CP_State_GSpacePlane_SDAG_CODE
128 int ibead_ind,kpoint_ind, itemper_ind,ispin_ind;
142 int registrationFlag;
150 int finishedCpIntegrate;
169 void initGSpace(
int,
complex *,
int ,
complex *,
int,
int,
int,
int,
int,
int,
int);
173 void startNewIter ();
176 void screenOutputPsi(
int);
178 void makePCproxies();
179 void doneRedPsiIntegrate();
181 void combineForcesGetEke();
182 void integrateModForce();
183 void contributeFileOutput();
185 void writeOutputFile();
189 void unpackNewPsi(CkReductionMsg *msg);
193 void unpackNewPsiV(CkReductionMsg *msg);
196 void psiCgOvlap(CkReductionMsg *msg);
197 void unpackLambda(CkReductionMsg *msg);
204 void computeCgOverlap();
208 void computeEnergies(
int p,
double d);
209 void startFFT(CkReductionMsg *msg);
212 void doneRedPsiVIntegrate();
213 void screenPrintWallTimes();
214 void acceptNewTemperature(
double temp);
216 CkSectionInfo beadCookie;
218 FILE *temperScreenFile;
222 int backwardTimeKeep;
238 int AllLambdaExpected;
245 bool allAcceptedVPsi;
251 double fictEke_total;
252 double fmagPsi_total;
253 double fmagPsi_total_old;
254 double fmagPsi_total0;
265 int *tk_x,*tk_y,*tk_z;
268 CProxy_CP_State_RealSpacePlane real_proxy;
269 CProxySection_PairCalculator *lambdaproxy;
270 CProxySection_PairCalculator *lambdaproxyother;
271 CProxySection_PairCalculator *psiproxy;
272 CProxySection_PairCalculator *psiproxyother;
277 #ifdef _CP_GS_DEBUG_COMPARE_VKS_
281 #ifdef _CP_GS_DEBUG_COMPARE_PSI_
290 PersistentHandle *fftHandler;
291 void setupFFTPersistent();
295 #endif // CP_STATE_GSPACE_PLANE_H
void pup(PUP::er &)
pup for migration /////////////////////////////////////////////////////////////////////////// ///////...
holds the UberIndex and the offset for proxies
PCCommManager asymmPCmgr
Manages communication with the asymmetric paircalc array.
int istate_ind
My state index.
CProxy_Ortho myOrtho
A proxy for the my ortho chare array so I can interact with it.
2D chare array [nchareG][nstates] Handles the electronic structure in Fourier space (referred to as G...
Add type declarations for simulationConstants class (readonly vars) and once class for each type of o...
paircalc::CreationManager returns relevant chare array handles via this msg
int iplane_ind
My plane index.
Manages communication with a single paircalc array.
A (hopefully) tiny token that is unique to every data sender-receiver pair, and is shared by them dur...
PCCommManager symmPCmgr
Manages communication with the symmetric paircalc array.
Reply from data receiver to the data sender indicating completion of setup on the receiver side...
int numRDMAlinksSymm
The number of symmetric and asymmetric PCs that communicate with me.