C++ mpi module for stochmagnet_main Package
SMOMPI_Run.h
1 #ifndef SMOMPI_Run_H
2 #define SMOMPI_Run_H
3 
4 //inherits header
5 #include "MPI_Run.h"
6 
7 
15 class SMOMPI_Run : public MPI_Run {
16 
17  //attributes
18 private :
19 
20 
21 
22 public:
23  // CONSTRUCTORS
27 
28  // DESTRUCTORS
31  virtual ~SMOMPI_Run(void);
32 
33 
34 public :
35  // CREATE class
36 
37 
38  //SET & GET methods
39 
40 
41 
42 
43  //MEMOORY
44 
58  virtual tMemSize getMemorySize() const {
59  return sizeof(*this)+getContentsMemorySize();
60  }
61 
65  virtual void getManCommands(std::map<tString,tString>& commandsMan) const {
66  CORE_Run::getManCommands(commandsMan);
67  commandsMan["build-network"]="builds the network";
68  commandsMan["save-options"]="save the options";
69  }
70 
74  virtual void createClassFactories(const CORE_OptionsList& options) const override ;
75 
76  // MAIN Method
77 
78 
79 
85  virtual tBoolean makeRun(const tString& command,
86  const CORE_OptionsList& options) const override;
87 
92  virtual tBoolean makeTests(const CORE_OptionsList& options) const override;
93 
94 
95 
96 private:
97 
98 
99 
100 
101 };
102 
103 
104 #endif
This class is an list of options.
Definition: CORE_OptionsList.h:36
virtual void getManCommands(std::map< tString, tString > &commandsMan) const
return the man of commands
Definition: CORE_Run.h:293
virtual tMemSize getContentsMemorySize() const override
return the memory size in byte
Definition: CORE_Run.h:100
This class is a Run class for MPI package.
Definition: MPI_Run.h:24
This class is a MPI Runner class for StochMagnet package.
Definition: SMOMPI_Run.h:15
virtual void getManCommands(std::map< tString, tString > &commandsMan) const
return the man of commands
Definition: SMOMPI_Run.h:65
virtual tBoolean makeRun(const tString &command, const CORE_OptionsList &options) const override
make run command
virtual void createClassFactories(const CORE_OptionsList &options) const override
create the class factories from options
SMOMPI_Run()
create
virtual ~SMOMPI_Run(void)
destroy
virtual tMemSize getMemorySize() const
return the memory size of the class and the memory size of all its attributes/associations
Definition: SMOMPI_Run.h:58
virtual tBoolean makeTests(const CORE_OptionsList &options) const override
make run test