33 include
"uber/Uber.h";
51 entry
void acceptAtoms(
AtomMsg *);
52 entry
void contributeforces();
53 entry
void atomsDone();
54 entry
void atomsDone(CkReductionMsg *);
59 entry
AtomsCompute(
int natm,
int natm_nl,
int len_nhc,
int iextended_on,
60 int cp_min_opt,
int cp_wave_opt,
int isokin_opt,
double kT,
63 entry
void acceptAtoms(
AtomMsg *);
64 entry
void startRealSpaceForces();
65 entry
void acceptNewTemperature(
double temp);
66 entry
void recvContribute(CkReductionMsg *);
67 entry
void recvContributeForces(CkReductionMsg *);
68 entry
void atomsDone(CkReductionMsg *);
69 entry
void accept_PIMD_x(
double _x,
double _y,
double _z,
int atomI);
70 entry
void accept_PIMD_Fu(
double _fxu,
double _fyu,
double _fzu,
int atomI);
71 entry
void accept_PIMD_Fu_and_u(
double _fxu,
double _fyu,
double _fzu,
72 double _xu,
double _yu,
double _zu,
int atomI);
74 entry
void accept_PIMD_u(
double _ux,
double _uy,
double _uz,
int atomI);
82 include
"main/energy.h";
87 entry
void energyDone(CkReductionMsg *);
88 entry
void resumeFromTemper();
89 entry
void sendToTemper(CkReductionMsg *m);
102 entry
void accept_PIMD_x(
double x,
double y,
double z,
int index );
104 entry
void accept_PIMD_Fx_and_x(
AtomXYZMsg *msg);
105 entry
void accept_PIMD_u(
double xu,
double yu,
double zu,
int index);
118 entry
void collectStart(CkReductionMsg *m);
119 entry
void collectEnd(CkReductionMsg *m);
130 entry
void acceptENL(
double enl);
131 entry
void acceptEKE(
double eke);
137 module instanceController
142 entry
void acceptNewTemperature(
double t);
143 entry
void useNewTemperature(
double t);
144 entry
void printEnergyEexc(CkReductionMsg *msg);
145 entry
void printEnergyHart(CkReductionMsg *msg);
146 entry
void printFictEke(CkReductionMsg *msg);
147 entry
void allDoneCPForces(CkReductionMsg *m);
148 entry
void printEnergyEke(CkReductionMsg *m);
149 entry
void allDoneCPForcesAllKPoint(CkReductionMsg *m);
150 entry [nokeep]
void initCookie(ICCookieMsg *msg);
151 entry
void doneInit(CkReductionMsg *msg);
152 entry
void cleanExit(CkReductionMsg *m);
153 entry
void cleanExitAll(CkReductionMsg *m);
154 entry
void gspDoneNewTemp(CkReductionMsg *m);
155 entry
void atomsDoneNewTemp(CkReductionMsg *m);
156 entry
void fmagMinTest(CkReductionMsg *m);
160 module temperController
171 initnode
void initFFTLock(
void);
173 readonly
double Timer;
174 readonly
int nstates;
176 readonly
int nchareG;
177 readonly
int Ortho_UE_step2;
178 readonly
int Ortho_UE_step3;
179 readonly
int Ortho_UE_error;
180 readonly
bool Ortho_use_local_cb;
181 readonly
int done_init;
182 readonly
int TimeKeeperID;
184 readonly
int planes_per_pe;
186 readonly CProxy_TimeKeeper TimeKeeperProxy;
187 initnode registersumFastDouble(
void);
191 extern module gSpaceDriver;
192 extern module gParticlePlane;
193 extern module gStatePlane;
194 extern module ckPairCalculator;
197 extern module structureFactor;
198 extern module structureFactorCache;
202 extern module timeKeeper;
205 extern module instanceController;
206 extern module temperController;
209 readonly CPcharmParaInfo simReadOnly;
210 readonly CkVec < CkVec <int> > UplaneUsedByNLZ;
211 readonly CkHashtableT<intdual, int> GSmaptable;
212 readonly CkHashtableT<intdual, int> RSmaptable;
213 readonly CkHashtableT<intdual, int> RPPmaptable;
214 readonly CkHashtableT<intdual, int> RhoGSmaptable;
215 readonly CkHashtableT<intdual, int> RhoRSmaptable;
216 readonly CkHashtableT<intdual, int> RhoGHartmaptable;
217 readonly CkHashtableT<inttriple, int> RhoRHartmaptable;
218 readonly CkHashtableT<intdual, int> Orthomaptable;
219 readonly CkHashtableT<intdual, int> OrthoHelpermaptable;
220 readonly CkHashtableT<intdual, int> AsymScalcmaptable;
221 readonly CkHashtableT<intdual, int> SymScalcmaptable;
222 readonly CkVec <MapType1> AtomImaptable;
223 readonly CkVec <int> PIBImaptable;
224 readonly CkVec <MapType2> GSImaptable;
225 readonly CkVec <MapType2> RSImaptable;
226 readonly CkVec <MapType2> RPPImaptable;
227 readonly CkVec <MapType2> RhoGSImaptable;
228 readonly CkVec <MapType2> RhoRSImaptable;
229 readonly CkVec <MapType2> RhoGHartImaptable;
230 readonly CkVec <MapType3> RhoRHartImaptable;
235 readonly CProxy_PhysScratchCache pScratchProxy;
238 readonly CProxy_TemperController temperControllerProxy;
240 readonly CProxy_ENL_EKE_Collector ENLEKECollectorProxy;
242 readonly CkVec <CProxy_PIBeadAtoms> UPIBeadAtomsProxy;
244 readonly CkVec <CProxy_CP_State_GSpacePlane> UgSpacePlaneProxy;
245 readonly CkVec <CProxy_GSpaceDriver> UgSpaceDriverProxy;
246 readonly CkVec <CProxy_CP_State_ParticlePlane> UparticlePlaneProxy;
247 readonly CkVec <CProxy_CP_State_RealSpacePlane> UrealSpacePlaneProxy;
248 readonly CkVec <CProxy_CP_State_RealParticlePlane> UrealParticlePlaneProxy;
249 readonly CkVec <CProxy_CP_Rho_RealSpacePlane> UrhoRealProxy;
250 readonly CkVec <CProxy_CP_Rho_GSpacePlane> UrhoGProxy;
251 readonly CkVec <CProxy_CP_Rho_GHartExt> UrhoGHartExtProxy;
252 readonly CkVec <CProxy_CP_Rho_RHartExt> UrhoRHartExtProxy;
253 readonly CkVec <CProxy_AtomsCache> UatomsCacheProxy;
254 readonly CkVec <CProxy_AtomsCompute> UatomsComputeProxy;
255 readonly CkVec <CProxy_EnergyGroup> UegroupProxy;
256 readonly CkVec <CProxy_FFTcache> UfftCacheProxy;
257 readonly CkVec <CProxy_StructFactCache> UsfCacheProxy;
258 readonly CkVec <CProxy_StructureFactor> UsfCompProxy;
259 readonly CkVec <CProxy_eesCache> UeesCacheProxy;
261 readonly CkVec <CProxy_CP_LargeSP_RhoGSpacePlane> UlsRhoGProxy;
262 readonly CkVec <CProxy_CP_LargeSP_RhoRealSpacePlane> UlsRhoRealProxy;
264 readonly CkVec <UberCollection> UberAlles;
270 readonly ComlibInstanceHandle commGHartInstance;
271 readonly ComlibInstanceHandle commGInstance0;
272 readonly ComlibInstanceHandle commGInstance1;
273 readonly ComlibInstanceHandle commGInstance2;
274 readonly ComlibInstanceHandle commGInstance3;
275 readonly ComlibInstanceHandle commGByrdInstance;
276 readonly ComlibInstanceHandle commRealInstance;
277 readonly ComlibInstanceHandle commRealIGXInstance;
278 readonly ComlibInstanceHandle commRealIGYInstance;
279 readonly ComlibInstanceHandle commRealIGZInstance;
282 readonly ComlibInstanceHandle orthoInstance;
285 readonly ComlibInstanceHandle gAsymInstance;
286 readonly ComlibInstanceHandle gSymInstance;
289 readonly CkVec <ComlibInstanceHandle> mcastInstance;
290 readonly ComlibInstanceHandle mcastInstancePP;
291 readonly ComlibInstanceHandle mcastInstanceRPP;
292 readonly ComlibInstanceHandle mcastInstancemRPP;
295 readonly ComlibInstanceHandle mssInstance;
296 readonly ComlibInstanceHandle gssInstance;
299 readonly ComlibInstanceHandle gssPInstance;
300 readonly ComlibInstanceHandle mssPInstance;
303 readonly ComlibInstanceHandle commRHartGHartIns;
304 readonly ComlibInstanceHandle commGHartRHartIns0;
305 readonly ComlibInstanceHandle commGHartRHartIns1;
308 readonly MDINTEGRATE readonly_mdintegrate;
309 readonly MDATOMS readonly_mdatoms;
310 readonly MDINTER readonly_mdinter;
311 readonly MDINTRA readonly_mdintra;
312 readonly GENERAL_DATA readonly_general_data;
313 readonly CP readonly_cp;
336 entry
main(CkArgMsg *);
342 entry
void exitForDebugging();
343 entry
void acceptDensity(CkReductionMsg *m);
348 entry
void RHartReport();
349 entry
void isAtSync(
int);
350 entry
void acceptRhoGradVksRyToGy(
RhoGSFFTMsg *msg);
351 entry
void acceptRhoGradVksGxToRx(
RhoGSFFTMsg *msg);
357 entry
void startEextIter();
358 entry
void recvAtmForcFromRhoGHart(
RhoRHartMsg *msg);
359 entry
void registrationDone(CkReductionMsg *msg);
362 entry
void exitForDebugging();
371 entry
void isAtSync(
int);
372 entry [local]
void doRhoFFT();
373 entry
void exitForDebugging();
380 entry
void isAtSync(
int);
381 entry
void recvAtmSFFromRhoRHart(
RhoGHartMsg *msg);
382 entry [local]
void FFTEesBck();
383 entry
void registrationDone(CkReductionMsg *msg);
384 entry
void exitForDebugging();
385 entry
void acceptVks(
int size,
complex inVks[size]);
386 entry
void acceptAtmSFTot(
int size,
complex inSF[size]);
390 entry [nokeep]
void init();
391 entry
void acceptMDSg();
392 entry
void acceptLSPRhoR();
397 entry [nokeep]
void init();
398 entry
void acceptLSPRhoG();
399 entry
void acceptRhoR();
435 extern module pcMaps;
443 entry
FFTcache(
int ,
int ,
int ,
int ,
int ,
int ,
444 int ,
int ,
int ,
int ,
int ,
int ,
int ,
445 int nchareGState,
int nchareRState,
446 int nchareGNL,
int nchareRNL,
447 int nchareGRho,
int nchareRRho,
int nchareRRhoTot,
448 int nchareGEext,
int nchareREext,
int nchareREextTot,
449 int numGState[nchareGState],
450 int numRXState[nchareRState],
451 int numRYState[nchareRState],
452 int numRYStateLower[nchareRState],
453 int numGNL[nchareGNL],
454 int numRXNL[nchareRNL],
455 int numRYNL[nchareRNL],
456 int numRYNLLower[nchareRNL],
457 int numGRho[nchareGRho],
458 int numRXRho[nchareRRhoTot],
459 int numRYRho[nchareRRhoTot],
460 int numGEext[nchareGEext],
461 int numRXEext[nchareREextTot],
462 int numRYEext[nchareREextTot],
holds the UberIndex and the offset for proxies
group eesCache
A place to hold the computed ees planewise data on each proc.
group FFTcache
A place to hold the fftw plans or sizes for essl.
readonly CProxy_InstanceController instControllerProxy
The Large Sparse RhoR is where we interpolate dense RhoR onto the large grid for QMMM.
readonly CkGroupID mCastGrpId
Multicast manager group that handles many mcast/redns in the code. Grep for info. ...
The Large Sparse RhoG is where we interface with NAMD in QMMM for the large grid. ...
readonly bool fakeTorus
readonly defined in cpaimd.C
Class used for instantiation of real-space group objects.
module startupMessages
Module containing messages that used during application startup.
readonly Config config
addtogroup Uber
Group Container class : Only allowed chare data classes have data.
The class which creates the main chare.
Class used for instantiation of G-space group objects.
double Timer
readonly globals
provide procnum mapping for RhoR
provide procnum mapping for RhoG