1 #ifndef SM_SliceOperator_H
2 #define SM_SliceOperator_H
11 #include "SM_Network.h"
14 #include "SM_Material.h"
69 virtual CORE_UniquePointer<SM_SliceOperator>
NewInstance()
const=0;
176 const tIndex& startIndex,
177 const tIndex& endIndex,
179 const tBoolean& alpha,
197 const tIndex& timeIndex,
218 const tIndex& startIndex,
219 const tIndex& endIndex,
220 const tReal *S)
const=0;
virtual tMemSize getContentsMemorySize() const
return nthe memory size of the included associations
Definition: CORE_Object.h:278
tString getIdentityString() const
retrun the string identification of the class
Definition: CORE_Object.h:321
This class describes a materials defined by state attributes:
Definition: SM_Material.h:61
This class is describes a network composed by.
Definition: SM_Network.h:66
This class is a base class for Stoch Microm package.
Definition: SM_Object.h:36
This class is describes an operator operating on slice of particles of a network SM_Network.
Definition: SM_SliceOperator.h:32
virtual tString toString() const override
return string representaton of the operator
Definition: SM_SliceOperator.h:227
SM_SliceOperator(void)
create a network class
Definition: SM_SliceOperator.h:51
virtual tMemSize getMemorySize() const
return the memory size of the class and the memory size of all its attributes/associations
Definition: SM_SliceOperator.h:86
virtual void updateState(const tIndex &timeIndex, const SM_Network &network, const SM_Material &material, const SM_RealField &S)
update the stae of the operator at time index
Definition: SM_SliceOperator.h:154
virtual tReal computeSpinEnergy(const tIndex &i, const tIndex &timeIndex, const SM_Network &network, const SM_Material &material, const SM_RealField &S) const =0
compute the spin energy by virtual method
virtual ~SM_SliceOperator(void)
destroy
Definition: SM_SliceOperator.h:58
virtual void computeMagneticFieldSlice(const tIndex &timeIndex, const SM_Network &network, const SM_Material &material, const tIndex &startIndex, const tIndex &endIndex, const tReal *S, const tBoolean &alpha, const tIndex &nH, tReal *H) const =0
compute the magnetic field slice by virtual method for particles in indices [startIndex,...
const tString & getName() const
return the operator name
Definition: SM_SliceOperator.h:119
virtual void copy(const SM_SliceOperator &op)
copy
Definition: SM_SliceOperator.h:129
virtual void adimensionize(const tReal &cH)
adimensionize operator with characteric field value in J
Definition: SM_SliceOperator.h:135
void setName(const tString &name)
set the name
Definition: SM_SliceOperator.h:112
virtual void discretize(const SM_Network &network, const SM_Material &material)
discretize the operator on the network
Definition: SM_SliceOperator.h:142
virtual tReal computeEnergySlice(const tIndex &timeIndex, const SM_Network &network, const SM_Material &material, const tIndex &startIndex, const tIndex &endIndex, const tReal *S) const =0
compute the energy by virtual method
virtual CORE_UniquePointer< SM_SliceOperator > NewInstance() const =0
create a New instance of this
virtual tMemSize getContentsMemorySize() const
return nthe memory size of the included associations
Definition: SM_SliceOperator.h:97
This class is a one simulation of a beam for Stoch Magnet package.
Definition: SM_System.h:53