Charades
setup.h
Go to the documentation of this file.
1 
5 #ifndef _CHARM_SETUP_H
6 #define _CHARM_SETUP_H
7 
8 #include "setup.decl.h"
9 
10 #include "event.h"
11 #include "lp.h"
12 #include "mpi-interoperate.h" // This has to be included here
13 
15 void tw_init(int argc, char** argv);
17 void tw_create_simulation(LPFactory* factory, LPMapper* mapper);
19 void tw_create_simulation(LPFactory* factory);
21 void tw_run();
23 void tw_end();
24 
25 void charm_init(int argc, char** argv);
26 void charm_exit();
27 void charm_run();
28 
29 #endif
void tw_create_simulation(LPFactory *factory, LPMapper *mapper)
Creates simulation components based on desired mapping.
Definition: setup.C:20
Base class which defines the mapper interface used during simulation setup.
Definition: mapper.h:7
void tw_run()
Intializes LPs then runs simulation to completion.
Definition: setup.C:84
void tw_end()
Cleans up simulation resources and exits.
Definition: setup.C:90
Base class which defines the factory interface used during simulation setup.
Definition: factory.h:7
void tw_init(int argc, char **argv)
Parses commandline arguments and initializes the simulator.
Definition: setup.C:9
Declarations for classes/variables/methods related to LPs.