OpenAtom  Version1.5a
orthoBuilder.h
1 #include "debug_flags.h"
2 #include "orthoConfig.h"
3 #include "paircalc/pcInstanceIDs.h"
4 #include "paircalc/pcMapConfig.h"
5 #include "load_balance/PeList.h"
6 
7 #ifndef ORTHO_BUILDER_H
8 #define ORTHO_BUILDER_H
9 /** @addtogroup Ortho
10  @{
11 */
12 
13 namespace cp {
14  namespace ortho {
15 
16 /// A class that orchestrates the mapping and creation of one ortho array and accompanying chares like OrthoHelper, CLA_Matrix etc.
17 class Builder
18 {
19  public:
20  /// A builder will always create the same ortho as per the supplied configs
21  Builder(const orthoConfig &_cfg): cfg(_cfg) {}
22  /// Construct an ortho world given the configs
23  CkArrayID build(cp::paircalc::InstanceIDs &asymmHandle, const startup::PCMapConfig mapCfg);
24 
25  private:
26  /// The configurations for the ortho that should be instantiated
28 };
29 
30  } // end namespace ortho
31 } // end namespace cp
32 /*@}*/
33 #endif // ORTHO_BUILDER_H
34 
CkArrayID build(cp::paircalc::InstanceIDs &asymmHandle, const startup::PCMapConfig mapCfg)
Construct an ortho world given the configs.
Definition: orthoBuilder.C:24
Builder(const orthoConfig &_cfg)
A builder will always create the same ortho as per the supplied configs.
Definition: orthoBuilder.h:21
A container for assorted mapping inputs to pass around easily.
Definition: pcMapConfig.h:15
Configuration settings for the ortho world.
Definition: orthoConfig.h:17
A class that orchestrates the mapping and creation of one ortho array and accompanying chares like Or...
Definition: orthoBuilder.h:17
orthoConfig cfg
The configurations for the ortho that should be instantiated.
Definition: orthoBuilder.h:27
Useful debugging flags.
A tiny structure to hold the relevant IDs/ proxies required to interact with a paircalc instance...
Definition: pcInstanceIDs.h:11
Author: Eric J Bohm Date Created: May 31, 2006.