C++ mpi module for stochmagnet_main Package
SM_LandauLifschitzLoader.h
1 #ifndef SM_LandauLifschitzLoader_H
2 #define SM_LandauLifschitzLoader_H
3 
4 //include the base class of the package
5 #include "SM_Loader.h"
6 
7 //beam headers
8 #include "SM_LandauLifschitzBeam.h"
9 #include "SM_LandauLifschitzSystem.h"
10 #include "SM_LandauLifschitzFunction.h"
11 #include "SM_NoiseRateFunction.h"
12 #include "SM_TimeStepper.h"
13 
14 
20 class SM_LandauLifschitzLoader : public SM_Loader { // class
21 
22 
23  // ASSOCIATION
24 
25 
26 
27  // ATTRIBUTES
28 
29 private:
30 
31 
32  // ASSOCIATIONS
33 
34 
35 
36  // METHODS
37 
38 
39 public:
40  // CONSTRUCTORS
44  }
45 
46 
47 
48 
49  // DESTRUCTORS
53  virtual ~SM_LandauLifschitzLoader(void) {
54  }
55 
56 
57 
58 
59 
60 public:
61 
62 
63  //MEMORY
64 
78  virtual tMemSize getMemorySize() const override {
79  return sizeof(*this)+getContentsMemorySize();
80  }
81 
82 
83 
84 public:
85 
86 
87 
88  // OTHERS
96 
114 
121 
129  static tBoolean LoadSystemRelaxationFromOptions(SM_LandauLifschitzSystem& system,const CORE_OptionsList& options);
138 
145  static tBoolean LoadTimeStepperFromOptions(SM_TimeStepper& stepper,
146  const CORE_OptionsList& options);
147 
148 
149 
150 
151 
152 
153 
154 
155 
156 
157 };
158 
159 #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 is a simulation of a beam of trajectories form a laudau-Lifschitz system.
Definition: SM_LandauLifschitzBeam.h:20
This class describes a landau lifschitz function of the form :
Definition: SM_LandauLifschitzFunction.h:30
this class loads classes of the package
Definition: SM_LandauLifschitzLoader.h:20
static tBoolean LoadLandauLifschitzSystemFromOptions(SM_LandauLifschitzSystem &system, const CORE_OptionsList &options)
load the landau lifschitz system from options
Definition: SM_LandauLifschitzLoader.cpp:27
static tBoolean LoadTimeStepperFromOptions(SM_TimeStepper &stepper, const CORE_OptionsList &options)
load the noise data of the system from options
Definition: SM_LandauLifschitzLoader.cpp:112
static tBoolean LoadSystemNoiseRateFunctionFromOptions(SM_LandauLifschitzSystem &system, const CORE_OptionsList &options)
load the noise data of the system from options
Definition: SM_LandauLifschitzLoader.cpp:97
virtual ~SM_LandauLifschitzLoader(void)
destroy a SM_LandauLifschitzLoader
Definition: SM_LandauLifschitzLoader.h:53
virtual tMemSize getMemorySize() const override
return the memory size of the class and the memory size of all its attributes/associations
Definition: SM_LandauLifschitzLoader.h:78
static tBoolean LoadLandauLifschitzFunctionFromOptions(SM_LandauLifschitzFunction &llF, const CORE_OptionsList &options)
load the landau lifschitz functions from options
Definition: SM_LandauLifschitzLoader.cpp:76
static tBoolean LoadLandauLifschitzBeamFromOptions(SM_LandauLifschitzBeam &beam, const CORE_OptionsList &options)
load the beam from options
Definition: SM_LandauLifschitzLoader.cpp:8
static tBoolean LoadSystemRelaxationFromOptions(SM_LandauLifschitzSystem &system, const CORE_OptionsList &options)
load the relaxation parameters of the system from options
Definition: SM_LandauLifschitzLoader.cpp:61
SM_LandauLifschitzLoader()
build a SM_LandauLifschitzLoader
Definition: SM_LandauLifschitzLoader.h:43
This class is a simulation of one trajectory class for Stoch Magnet package.
Definition: SM_LandauLifschitzSystem.h:59
this class loads classes of the package
Definition: SM_Loader.h:18
This class is describes a time stepper.
Definition: SM_TimeStepper.h:13