OpenAtom  Version1.5a
pcMapConfig.h
1 #include "load_balance/PeList.h"
3 #include "load_balance/IntMap.h"
4 
5 #ifndef PC_MAP_CONFIG_H
6 #define PC_MAP_CONFIG_H
7 /** @addtogroup PairCalculator
8  @{
9 */
10 
11 namespace cp {
12  namespace startup {
13 
14 /// A container for assorted mapping inputs to pass around easily
16 {
17 public:
18  int boxSize;
19  PeListFactory getPeList;
20  MapType2 *gSpaceMap;
21  bool isTorusMap;
22  bool isTorusFake;
23  inttriple mapOffset;
24  PCMapConfig(){ CkAbort("why are we here?");}
25  PCMapConfig(int _boxSize, PeListFactory _getPeList, MapType2 *_gSpaceMap, bool _isTorusMap, bool _isTorusFake, inttriple _mapOffset): boxSize(_boxSize), getPeList(_getPeList), gSpaceMap(_gSpaceMap), isTorusMap(_isTorusMap), isTorusFake(_isTorusFake), mapOffset(_mapOffset)
26  {}
27 };
28 
29  } // end namespace startup
30 } // end namespace cp
31 /*@}*/
32 #endif // PC_MAP_CONFIG_H
33 
A container for assorted mapping inputs to pass around easily.
Definition: pcMapConfig.h:15
Author: Eric J Bohm Date Created: June 4th, 2006.
Hacky solution to passing a PeList to GSpace(0,0) for use in paircalc mapping without actually having...
Definition: PeList.h:423
Author: Eric J Bohm Date Created: June 4th, 2006.
Author: Eric J Bohm Date Created: May 31, 2006.