1 #ifndef SM_LinearSliceOperator_H
2 #define SM_LinearSliceOperator_H
70 const tIndex& startIndex,
71 const tIndex& endIndex,
77 if ((S==
null) || (H==
null) || (nH==0))
return E;
80 tIndex s=endIndex-startIndex;
94 E+=functions_array::scalarProduct<tReal,SM_Constants::DIM>(iS,iH);
virtual tMemSize getContentsMemorySize() const
return nthe memory size of the included associations
Definition: CORE_Object.h:278
static constexpr tDimension DIM
space dimension
Definition: SM_Constants.h:80
This class is describes a linear operator interface in a slice of particles of a network.
Definition: SM_LinearSliceOperator.h:17
SM_LinearSliceOperator(void)
create a network class
Definition: SM_LinearSliceOperator.h:27
static tReal ComputeEnergy(const SM_Network &network, const SM_Material &material, const tIndex &startIndex, const tIndex &endIndex, const tReal *S, const tInteger &nH, const tReal *H)
compute the energy by virtual method
Definition: SM_LinearSliceOperator.h:68
virtual tMemSize getMemorySize() const
return the memory size of the class and the memory size of all its attributes/associations
Definition: SM_LinearSliceOperator.h:52
virtual ~SM_LinearSliceOperator(void)
destroy
Definition: SM_LinearSliceOperator.h:34
This class describes a materials defined by state attributes:
Definition: SM_Material.h:61
const tReal & getAtomicSpinMoment() const
get the atomic spin moment in unit of Bohr magneton
Definition: SM_Material.h:242
const tReal & getAdimensionizedDerivativeEnergyFactor() const
get the characteristic dipolar energy factor
Definition: SM_Material.h:401
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