1 #ifndef SM_AnisotropyOperator_HPP
2 #define SM_AnisotropyOperator_HPP
8 const tIndex& startIndex,
9 const tIndex& endIndex,
11 const tBoolean& alpha,
18 tIndex s=endIndex-startIndex;
54 std::array<tReal,SM_Constants::DIM> gradPhi;
55 const tReal *iGradPhi=gradPhi.data();
74 computePhiDerivatives(U,eU,iS,eSk,phi,gradPhi,W,W3);
77 iGradPhi=gradPhi.data();
78 while (iGradPhi!=eGradPhi) {
96 const tIndex& startIndex,
97 const tIndex& endIndex,
98 const tReal *S)
const {
133 computePhi(U,eU,iS,eSk,Ei,W);
virtual void computeMagneticFieldSlice(const tIndex &stepIndex, 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
compute the anisotropy magnetic field by virtual method
Definition: SM_AnisotropyOperator.hpp:5
virtual tReal computeEnergySlice(const tIndex &timeIndex, const SM_Network &network, const SM_Material &material, const tIndex &startIndex, const tIndex &endIndex, const tReal *S) const
compute the energy at time t by virtual method for all particles in [startIndex,endIndex[
Definition: SM_AnisotropyOperator.hpp:93
static constexpr tDimension DIM
space dimension
Definition: SM_Constants.h:80
This class describes a materials defined by state attributes:
Definition: SM_Material.h:61
const std::valarray< tReal > & getAnisotropyDirections() const
get the anisotropy directions
Definition: SM_Material.h:303
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
const tReal & getAdimensionizedAnisotropyEnergyFactor() const
get the characteristic anisotropy energy factor
Definition: SM_Material.h:389
This class is describes a network composed by.
Definition: SM_Network.h:66