C++ mpi module for stochmagnet_main Package
SM_TemperatureNoiseRate.h
1 #ifndef SM_TemperatureNoiseRate_H
2 #define SM_TemperatureNoiseRate_H
3 
4 #include "SM_Object.h"
5 
7 
26 class SM_TemperatureNoiseRate : public virtual SM_Object {
27 
28  // ATTRIBUTES
29 
30 public:
31 
32 
33 
34 private:
36  typedef SM_Object SuperClass;
37 
38 
39 public:
40  // METHODS
41 
42  // CONSTRUCTORS
43 
47 
48 
49  // DESTRUCTORS
50 public:
51 
54  virtual ~SM_TemperatureNoiseRate(void);
55 
56 public:
57  //MEMORY
58 
72  virtual tMemSize getMemorySize() const {
73  return sizeof(*this)+getContentsMemorySize();
74  }
75 
84  virtual tMemSize getContentsMemorySize() const {
85  tMemSize mem=SuperClass::getContentsMemorySize();
86  return mem;
87  }
88 
92  inline static CORE_UniquePointer<Self> New() {
93  return CORE_UniquePointer<Self>(new Self(),
95  }
96 
97  //SET & GET Methods
98  //=================
99 
100 
101 
102 
103 
109  static tReal ComputeTemperatureNoiseRate(const tReal& T,const SM_LandauLifschitzSystem& system);
110 
111 
112 
113 };
114 
115 #endif
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:113
virtual tMemSize getContentsMemorySize() const
return nthe memory size of the included associations
Definition: CORE_Object.h:278
This class is a simulation of one trajectory class for Stoch Magnet package.
Definition: SM_LandauLifschitzSystem.h:59
This class is a base class for Stoch Microm package.
Definition: SM_Object.h:36
This class computes the relation between noire rate and temperature.
Definition: SM_TemperatureNoiseRate.h:26
static CORE_UniquePointer< Self > New()
build a new instance of a stochastic data
Definition: SM_TemperatureNoiseRate.h:92
virtual tMemSize getMemorySize() const
return the memory size of the class and the memory size of all its attributes/associations
Definition: SM_TemperatureNoiseRate.h:72
SM_TemperatureNoiseRate(void)
create
Definition: SM_TemperatureNoiseRate.cpp:6
static tReal ComputeTemperatureNoiseRate(const tReal &T, const SM_LandauLifschitzSystem &system)
compte the noise rate of the system corresponding to temperature
Definition: SM_TemperatureNoiseRate.cpp:15
virtual tMemSize getContentsMemorySize() const
return the memory size of the included associations
Definition: SM_TemperatureNoiseRate.h:84
virtual ~SM_TemperatureNoiseRate(void)
destroy
Definition: SM_TemperatureNoiseRate.cpp:11