12 #include <fei_macros.hpp>
20 testData(
int localProc,
int numProcs)
26 numSharingProcsPerID(0),
39 fieldIDs[0] = 3; fieldIDs[1] = 9;
40 fieldSizes[0] = 1; fieldSizes[1] = 3;
41 idTypes[0] = 0; idTypes[1] = 5;
42 for(
int i=0; i<4; ++i) {
43 ids[i] = localProc*2 + i;
47 sharedIDs.push_back(ids[0]);
48 sharedIDs.push_back(ids[1]);
49 numSharingProcsPerID.push_back(1);
50 sharingProcs.push_back(localProc-1);
51 numSharingProcsPerID.push_back(1);
52 sharingProcs.push_back(localProc-1);
55 if (localProc < numProcs-1) {
56 sharedIDs.push_back(ids[2]);
57 sharedIDs.push_back(ids[3]);
58 numSharingProcsPerID.push_back(1);
59 sharingProcs.push_back(localProc+1);
60 numSharingProcsPerID.push_back(1);
61 sharingProcs.push_back(localProc+1);
69 std::vector<int> fieldIDs;
70 std::vector<int> fieldSizes;
71 std::vector<int> idTypes;
73 std::vector<int> sharedIDs;
74 std::vector<int> numSharingProcsPerID;
75 std::vector<int> sharingProcs;
78 #endif // _testData_h_