C++ mpi module for stochmagnet_main Package
SM_StochasticOutputLoader.h
1 #ifndef SM_StochasticOutputLoader_H
2 #define SM_StochasticOutputLoader_H
3 
4 //include the base class of the package
5 #include "SM_Loader.h"
6 
7 //stochastic output headers
8 
9 
10 #include "SM_StochasticDecreasingNoise.h"
11 #include "SM_StochasticEnergy.h"
12 #include "SM_StochasticTrajectory.h"
13 #include "SM_StochasticXDMF.h"
14 #include "SM_StochasticCurieTemperature.h"
15 #include "SM_StochasticJs.h"
16 #include "SM_StochasticBoltzmann.h"
17 #include "SM_StochasticOutputList.h"
18 #include "SM_StochasticHysteresis.h"
19 
25 class SM_StochasticOutputLoader : public SM_Loader { // class
26 
27 
28  // ASSOCIATION
29 
30 
31 
32  // ATTRIBUTES
33 
34 private:
35 
36 
37  // ASSOCIATIONS
38 
39 
40 
41  // METHODS
42 
43 
44 public:
45  // CONSTRUCTORS
49  }
50 
51 
52 
53 
54  // DESTRUCTORS
59  }
60 
61 
62 
63 
64 
65 public:
66 
67 
68  //MEMORY
69 
83  virtual tMemSize getMemorySize() const override {
84  return sizeof(*this)+getContentsMemorySize();
85  }
86 
87 
88 
89 public:
90 
91 
92 
93  // OTHERS
94 
99  static tBoolean LoadStochasticOutputFromOptions(SM_StochasticTrajectory& stochasticOutput,
100  const CORE_OptionsList& options);
101 
106  static tBoolean LoadStochasticOutputFromOptions(SM_StochasticEnergy& stochasticOutput,
107  const CORE_OptionsList& options);
108 
113  static tBoolean LoadStochasticOutputFromOptions(SM_StochasticDecreasingNoise& stochasticOutput,
114  const CORE_OptionsList& options);
115 
120  static tBoolean LoadStochasticOutputFromOptions(SM_StochasticXDMF& stochasticOutput,
121  const CORE_OptionsList& options);
122 
127  static tBoolean LoadStochasticOutputFromOptions(SM_StochasticCurieTemperature& stochasticOutput,
128  const CORE_OptionsList& options);
129 
134  static tBoolean LoadStochasticOutputFromOptions(SM_StochasticJs& stochasticOutput,
135  const CORE_OptionsList& options);
136 
141  static tBoolean LoadStochasticOutputFromOptions(SM_StochasticBoltzmann& stochasticOutput,
142  const CORE_OptionsList& options);
143 
148  static tBoolean LoadStochasticOutputFromOptions(SM_StochasticHysteresis& stochasticOutput,
149  const CORE_OptionsList& options);
150 
155  static tBoolean LoadStochasticOutputFromOptions(SM_StochasticOutputList& stochasticOutput,
156  const CORE_OptionsList& options);
157 
163  static tBoolean LoadStochasticOutputFromOptions(SM_StochasticOutputList& stochasticDataList,
164  const std::vector<tString>& SOutputList,
165  const CORE_OptionsList& options);
166 
167 
168 
169 
170 
171 
172 
173 
174 
175 
176 
177 };
178 
179 #endif
virtual tMemSize getContentsMemorySize() const
return nthe memory size of the included associations
Definition: CORE_Object.h:278
This class is an list of options.
Definition: CORE_OptionsList.h:36
this class loads classes of the package
Definition: SM_Loader.h:18
This class stores stochastic Boltzmann distribution for 1 spin.
Definition: SM_StochasticBoltzmann.h:31
This class stores stochastic Curie temperature esperance for a dimension D.
Definition: SM_StochasticCurieTemperature.h:34
This class stores stochastic L2 Convergence :
Definition: SM_StochasticDecreasingNoise.h:29
This class stores stochastic energy:
Definition: SM_StochasticEnergy.h:21
This class stores stochastic hysteresis values.
Definition: SM_StochasticHysteresis.h:30
This class stores stochastic Curie temperature esperance for a dimension D.
Definition: SM_StochasticJs.h:34
This class stores stochastic data list* For parallel only the firs stocchastic values of first output...
Definition: SM_StochasticOutputList.h:19
this class loads classes of the package
Definition: SM_StochasticOutputLoader.h:25
virtual ~SM_StochasticOutputLoader(void)
destroy a SM_StochasticOutputLoader
Definition: SM_StochasticOutputLoader.h:58
virtual tMemSize getMemorySize() const override
return the memory size of the class and the memory size of all its attributes/associations
Definition: SM_StochasticOutputLoader.h:83
static tBoolean LoadStochasticOutputFromOptions(SM_StochasticTrajectory &stochasticOutput, const CORE_OptionsList &options)
load the stochastic output from options
Definition: SM_StochasticOutputLoader.cpp:31
SM_StochasticOutputLoader()
build a SM_StochasticOutputLoader
Definition: SM_StochasticOutputLoader.h:48
This class stores stochastic trajectories for a list of points and a list of simulations for LL beam.
Definition: SM_StochasticTrajectory.h:28
This class stores stochastic 3D trajectory For each point of the network it stores at any time Mu(t,...
Definition: SM_StochasticXDMF.h:21