C++ main module for stochmagnet Package  1.0
SM_PermanentZeemanOperator.h
Go to the documentation of this file.
1 #ifndef SM_PermanentZeemanOperator_H
2 #define SM_PermanentZeemanOperator_H
3 
4 //base classes
5 #include "SM_TemplatedOperator.h"
6 #include "SM_ZeemanOperator.h"
7 
16 
17  //attributes
18 private :
19 
20 
21  //association
22 
23 
24 
25 protected:
26  // CONSTRUCTORS
31 
32  }
33 
34  // DESTRUCTORS
38  }
39 
40 public :
41 
42  //Instance building
43  //=================
44 
45 
52  }
53 
54 
55  //MEMORY
56 
70  virtual tMemSize getMemorySize() const {
71  return sizeof(*this)+getContentsMemorySize();
72  }
73 
74 public:
75 
79  virtual void discretize(const SM_System& system) override;
80 
81 
82 
83 
84 };
85 
86 
87 #endif
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:94
This class is describes a Zeman operator with const external magnetism by time and particles.
Definition: SM_PermanentZeemanOperator.h:15
virtual ~SM_PermanentZeemanOperator(void)
destroy
Definition: SM_PermanentZeemanOperator.h:37
static CORE_UniquePointer< SM_PermanentZeemanOperator > New()
build a new instance of the operator
Definition: SM_PermanentZeemanOperator.h:49
virtual void discretize(const SM_System &system) override
discretize the operator : do nothing by default
Definition: SM_PermanentZeemanOperator.cpp:5
virtual tMemSize getMemorySize() const
return the memory size of the class and the memory size of all its attributes/associations
Definition: SM_PermanentZeemanOperator.h:70
SM_PermanentZeemanOperator(void)
create a network class
Definition: SM_PermanentZeemanOperator.h:29
This class is a simulation of one trajectory class for Stoch Microm package.
Definition: SM_System.h:51
This class is describes a Zeeman operator interface.
Definition: SM_ZeemanOperator.h:27
virtual tMemSize getContentsMemorySize() const
return nthe memory size of the included associations
Definition: SM_ZeemanOperator.h:109
void setZeemanTimeStepsNumber(const tIndex &n)
set zeeman time steps
Definition: SM_ZeemanOperator.h:125
typename std::unique_ptr< T, CORE_Object::Delete > CORE_UniquePointer
Definition: sp.h:8
#define tMemSize
Definition: types.h:166