OpenAtom  Version1.5a
ortho.ci
1 module ortho
2 {
4  include "paircalc/pcFwdDeclarations.h";
5  include "orthog_ctrl/orthoConfig.h";
6  namespace cp {
7  namespace ortho {
8  class PCSectionManager;
9  }
10  }
11 
12  message orthoMtrigger;
13  message initCookieMsg;
14  class CkDataMsg; // Just a forward declaration
15  array [2D] Ortho{
16  entry void Ortho(int m, int n, CLA_Matrix_interface matA1,
22  CkArrayID step2Helper,
23  int timekeep, CkGroupID oMCastGID, CkGroupID oRedGID
24  );
25  entry Ortho();
26  entry void acceptSectionLambda(CkReductionMsg *msg);
27  entry void resume();
28  entry void resumeV(CkReductionMsg *msg);
29  entry void maxCheck(CkReductionMsg *msg);
30  entry void makeSections(const pc::pcConfig &cfgSymmPC, const pc::pcConfig &cfgAsymmPC, CkArrayID symAID, CkArrayID asymAID);
31  entry void start_calc(CkReductionMsg *msg);
32  entry void orthoCookieinit(initCookieMsg *msg);
33  entry void do_iteration();
34  entry [nokeep] void do_iteration(orthoMtrigger *msg);
35  entry void step_2();
36  entry void step_3();
37  entry void recvStep2(CkDataMsg *msg); //double result[size], int size);
38  entry void collect_results();
39  entry [nokeep] void collect_results(orthoMtrigger *msg);
40  entry void print_results();
41  entry void collect_error(CkReductionMsg *msg);
42  entry void ready();
43  entry void all_ready();
44  entry void sendOrthoTtoAsymm();
45  };
46 
47 
48 
49  message OrthoHelperMsg {
50  internalType A[];
51  internalType B[];
52  };
53 
54 
55 
56  array [2D] OrthoHelper {
57  entry void OrthoHelper(int m, int n, CLA_Matrix_interface matA2,CLA_Matrix_interface matB2, CLA_Matrix_interface matC2, CkCallback);
58  entry OrthoHelper();
59  entry void recvAB(OrthoHelperMsg *msg);
60  };
61 
62 
63 
64  include "load_balance/IntMap.h";
65  group OrthoMap : CkArrayMap {
66  entry OrthoMap(MapType2);
67  };
68 
69 
70 
71  group OrthoHelperMap : CkArrayMap {
72  entry OrthoHelperMap(MapType2);
73  };
74 };
For definition of CkDataMsg.
Definition: ortho.h:105
Centroid based ortho map (actual map creation in MapTable.C)
Definition: orthoMap.h:11
Configuration settings for the ortho world.
Definition: orthoConfig.h:17
Map group for placing OrthoHelper chares.
Definition: orthoMap.h:48
Dumb structure that holds all the configuration inputs required for paircalc instantiation, functioning and interaction.
Definition: pcConfig.h:23