1 #ifndef _ORTHOSTARTUP_H
2 #define _ORTHOSTARTUP_H
4 #include "paircalcstartup.h"
11 orthoCfg.
isDynamics = (sim->cp_min_opt==1)?
false:
true;
12 orthoCfg.
isGenWave = (sim->gen_wave==1)?
true:
false;
14 orthoCfg.
grainSize = config.orthoGrainSize;
15 orthoCfg.instanceIndex = thisInstance.getPO();
17 orthoCfg.
uponToleranceFailure = CkCallback(CkIndex_GSpaceDriver::needUpdatedPsiV(), UgSpaceDriverProxy[thisInstance.getPO()]);
20 cfgSymmPC.gSpaceAID = UgSpacePlaneProxy[thisInstance.getPO()].ckGetArrayID();
21 cfgAsymmPC.gSpaceAID = UgSpacePlaneProxy[thisInstance.getPO()].ckGetArrayID();
22 cfgSymmPC.instanceIndex = thisInstance.getPO();
23 cfgAsymmPC.instanceIndex = thisInstance.getPO();
25 cfgSymmPC.uponSetupCompletion = CkCallback(CkIndex_InstanceController::doneInit(NULL),CkArrayIndex1D(thisInstance.getPO()),instControllerProxy.ckGetArrayID());
26 cfgAsymmPC.uponSetupCompletion = CkCallback(CkIndex_InstanceController::doneInit(NULL),CkArrayIndex1D(thisInstance.getPO()),instControllerProxy.ckGetArrayID());
29 CkCallback pcHandleCB(CkIndex_CP_State_GSpacePlane::acceptPairCalcAIDs(0), UgSpacePlaneProxy[thisInstance.getPO()]);
34 &GSImaptable[thisInstance.getPO()],
35 (config.torusMap == 1),
36 (config.fakeTorus == 1),
41 pcCreator.
build(pcHandleCB, pcMapCfg);
int grainSize
The block size for parallelization.
int numStates
The number of states in the simulation (the dimension of the input square matrix) ...
double maxTolerance
The tolerance threshold for the S->T iterations in Ortho at which to trigger a PsiV update...
A container for assorted mapping inputs to pass around easily.
Configuration settings for the ortho world.
bool isDynamics
Is this a minimization or dynamics run.
void build(CkCallback cb, const PCMapConfig &mapCfg)
CkCallback uponToleranceFailure
Callback to notify bubble owner (GSpace) that a tolerance update is needed.
Manages the creation of a complete paircalc bubble that includes two paircalc instances (symmetric an...
bool isGenWave
If, this is a minimization run, is it for generating the system wave functions?