C++ main module for emicrom Package  1.0
EMM_Run.h
Go to the documentation of this file.
1 #ifndef EMM_Run_H
2 #define EMM_Run_H
3 
4 #include "CORE_Run.h"
5 
6 
7 
9 
27 class EMM_Run : public CORE_Run {
29 
30  //attributes
31 private :
32 
33 
34 protected:
35  // CONSTRUCTORS
38  EMM_Run(void);
39 
40  // DESTRUCTORS
43  virtual ~EMM_Run(void);
44 
45 public:
46 
47 
48 
49 public :
50 
51 
52 
53  // MAIN Method
54 
55 protected:
59  virtual tBoolean makeValidation(const map<tString,tString>&options) const;
60 
63  virtual tBoolean makeTests(const map<tString,tString>& options) const;
64 
69  virtual tBoolean makePerformance(const map<tString,tString>&options) const ;
77  virtual void readOptionsFromCommandLine(int argc,char *argv[],map<tString,tString>& options) const;
78 
79 public:
82  virtual tBoolean makeRun(const map<tString,tString>& options) const;
83 
84 
85 
86 public:
87 
93  SP::EMM_LandauLifschitzSystem loadSystemFromOptions(const map<tString,tString>& options) const;
94 
95 public:
99  virtual void initOptions(map<tString,tString>& options) const;
100 
104  virtual void initManOptions(map<tString,map<tString,tString> >& manParameters) const;
105 
106 protected:
113  static void updateIOThreadsNumber(const map<tString,tString>& options);
114 
115 private:
116 
119  tBoolean makeDiff(const map<tString,tString>& options,const tString& f1,const tString& f2,const tReal& eps) const;
120 
121 
122 };
123 
124 
125 #endif
DEFINE_SPTR(EMM_LandauLifschitzSystem)
This class is a Run class for Common package.
Definition: CORE_Run.h:38
virtual tBoolean makeRun(const map< tString, tString > &options) const
run the program
Definition: EMM_Run.cpp:403
virtual tBoolean makeValidation(const map< tString, tString > &options) const
compare the result with validated results
Definition: EMM_Run.cpp:268
EMM_Run(void)
create
Definition: EMM_Run.cpp:22
virtual tBoolean makeTests(const map< tString, tString > &options) const
run the tests
Definition: EMM_Run.cpp:376
This class is the runner class for the generic package of the core module of mricom Package...
Definition: EMM_Run.h:27
#define tBoolean
Definition: types.h:139
virtual void initManOptions(map< tString, map< tString, tString > > &manParameters) const
init the man of options
Definition: EMM_Run.cpp:50
tBoolean makeDiff(const map< tString, tString > &options, const tString &f1, const tString &f2, const tReal &eps) const
make the difference between 2 files
Definition: EMM_Run.cpp:294
This class describes a resolution of landau-lifschitz system of the Core Package for E-MicroM...
Definition: EMM_LandauLifschitzSystem.h:88
SP::EMM_LandauLifschitzSystem loadSystemFromOptions(const map< tString, tString > &options) const
load the E-MicroM problem from the options
Definition: EMM_Run.cpp:668
SP_OBJECT(EMM_Run)
virtual void initOptions(map< tString, tString > &options) const
init the options
Definition: EMM_Run.cpp:164
virtual ~EMM_Run(void)
destroy
Definition: EMM_Run.cpp:28
static void updateIOThreadsNumber(const map< tString, tString > &options)
update the threads number of the IO
Definition: EMM_Run.cpp:335
#define tString
Definition: types.h:135
virtual void readOptionsFromCommandLine(int argc, char *argv[], map< tString, tString > &options) const
read the options from the commanand line
Definition: EMM_Run.cpp:35
#define tReal
Definition: types.h:118
virtual tBoolean makePerformance(const map< tString, tString > &options) const
run the performance tests
Definition: EMM_Run.cpp:390