-
Notifications
You must be signed in to change notification settings - Fork 0
/
barnes.ci
84 lines (66 loc) · 1.94 KB
/
barnes.ci
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
mainmodule barnes {
readonly CProxy_TreePiece treePieceProxy;
readonly CProxy_DataManager dataManagerProxy;
readonly CProxy_Main mainProxy;
readonly Parameters globalParams;
initproc void registerReducers();
class Parameters;
class MultipoleMoments;
message SplitterMsg {
int splitBins[];
};
message ParticleMsg {
Particle part[];
};
message RangeMsg {
Key keys[];
};
message RequestMsg;
message ParticleReplyMsg {
ExternalParticle data[];
};
message NodeReplyMsg {
Node<ForceData> data[];
};
message MomentsMsg;
message RescheduleMsg;
include "Descriptor.h";
mainchare Main {
entry Main(CkArgMsg *m);
entry [threaded] void commence();
entry void niceExit();
entry void quiescence();
entry void quiescenceExit();
};
array[1D] TreePiece {
entry TreePiece();
entry void receiveParticles(ParticleMsg *msg);
entry void receiveParticles();
entry void requestMoments(Key k, int replyTo);
entry void startTraversal();
entry void doLocalGravity(RescheduleMsg *);
entry void doRemoteGravity(RescheduleMsg *);
entry void requestParticles(RequestMsg *msg);
entry void requestNode(RequestMsg *msg);
entry void quiescence();
};
group DataManager {
entry DataManager();
entry void loadParticles(CkCallback &cb);
entry void decompose(BoundingBox &universe);
entry void receiveHistogram(CkReductionMsg *msg);
entry void receiveSplitters(SplitterMsg *msg);
entry void sendParticles(RangeMsg *msg);
entry void receiveMoments(MomentsMsg *msg);
entry void recvParticles(ParticleReplyMsg *msg);
entry void recvNode(NodeReplyMsg *msg);
entry void advance(CkReductionMsg *msg);
#ifdef STATISTICS
entry void traversalsDone(CmiUInt8 pnInter, CmiUInt8 ppInter, CmiUInt8 openCrit);
#else
entry void traversalsDone();
#endif
entry void recvUnivBoundingBox(CkReductionMsg *msg);
entry void quiescence();
};
};