183 const tReal *mu)
const=0;
193 const tReal *H)
const {
197 const tReal *mu_i=mu;
tIndex getElementsNumber() const
return the number values of the container
Definition: CORE_Field.h:118
void setElementsNumber(const tInteger &n)
set the number of element of the container
Definition: CORE_Field.h:112
virtual tMemSize getContentsMemorySize() const
return nthe memory size of the included associations
Definition: CORE_Object.h:259
This class is describes a a network.
Definition: SM_Network.h:18
tDimension getDimension() const
return the dimension
Definition: SM_Network.h:133
tInteger getParticlesNumber() const
return the particles number
Definition: SM_Network.h:146
This class is a base class for Stoch Microm package.
Definition: SM_Object.h:19
This class is describes an operator.
Definition: SM_Operator.h:18
tString mName
Definition: SM_Operator.h:24
tReal computeEnergy(const tIndex &t, const SM_Network &network, const SM_RealField &mu) const
compute the energy at time t by virtual method
Definition: SM_Operator.h:169
void setName(const tString &name)
set the name
Definition: SM_Operator.h:95
virtual tReal computeEnergy(const SM_Network &network, const tReal *mu, const tReal *H) const
compute the energy
Definition: SM_Operator.h:191
virtual void discretize(const SM_System &system)
discretize the operator : do nothing by default
Definition: SM_Operator.h:118
virtual tMemSize getMemorySize() const
return the memory size of the class and the memory size of all its attributes/associations
Definition: SM_Operator.h:69
void computeMagneticField(const tIndex &t, const SM_Network &network, const SM_RealField &Mu, SM_RealField &B) const
compute the magnetic field at time t by virtual method
Definition: SM_Operator.h:152
virtual tMemSize getContentsMemorySize() const
return nthe memory size of the included associations
Definition: SM_Operator.h:80
virtual void copy(const SM_Operator &op)
copy
Definition: SM_Operator.h:112
virtual CORE_UniquePointer< SM_Operator > NewInstance() const =0
create a New instance of this @retrun an unique pointer to the instance
virtual tReal computeEnergy(const tIndex &t, const SM_Network &network, const tReal *mu) const =0
compute the energy at time t by virtual method
const tString & getName() const
return the operator name
Definition: SM_Operator.h:102
virtual void computeMagneticFieldAndEnergy(const tIndex &t, const SM_Network &network, const tReal *mu, tReal *B, tReal &E) const =0
compute the magnetic field by virtual method
virtual void computeMagneticField(const tIndex &t, const SM_Network &network, const tReal *mu, tReal *B) const =0
compute the magnetic field by virtual method
SM_Operator(void)
create a network class
Definition: SM_Operator.h:34
virtual ~SM_Operator(void)
destroy
Definition: SM_Operator.h:41
This class is a simulation of one trajectory class for Stoch Microm package.
Definition: SM_System.h:51
typename std::unique_ptr< T, CORE_Object::Delete > CORE_UniquePointer
Definition: sp.h:8
#define tIndex
Definition: types.h:157
#define tString
Definition: types.h:147
#define tMemSize
Definition: types.h:166
#define tReal
Definition: types.h:137