1 #ifndef EMM_LandauLifschitzFunction_H 2 #define EMM_LandauLifschitzFunction_H 283 const tReal& betaSigma,
This class is a base class of E-MicromM core package.
Definition: EMM_Object.h:21
const tUIndex & getSize() const
return the size of the array for reading
Definition: CORE_Array.h:1018
const tReal & getAlphaParameter() const
set the alpha parameter
Definition: EMM_LandauLifschitzFunction.h:107
const tReal & getBetaParameter() const
get the beta parameter
Definition: EMM_LandauLifschitzFunction.h:113
tUSInt mLDW
Definition: EMM_LandauLifschitzFunction.h:49
virtual ~EMM_LandauLifschitzFunction(void)
destroy the class
Definition: EMM_LandauLifschitzFunction.cpp:29
virtual void computeGradFunction(const EMM_RealArray &sigma, const EMM_RealField &M, const EMM_RealField &H, const EMM_RealField &D, const EMM_RealField &GradH, EMM_RealField &GradF) const =0
compute the gradient landau-lifschitz function at the direction in M
EMM_LandauLifschitzFunction(void)
create the class
Definition: EMM_LandauLifschitzFunction.cpp:8
const EMM_RealArray & getBetasParameter() const
get the beta parameters for each cell. If the magbetization at saturation is not the same at each cel...
Definition: EMM_LandauLifschitzFunction.h:119
void setBetaParameter(const tReal &v)
set the beta parameter of the equation
Definition: EMM_LandauLifschitzFunction.h:84
#define tUSInt
Definition: types.h:28
#define tBoolean
Definition: types.h:139
void setBetaParameter(const tUIndex &i, const tReal &v)
set the beta parameter of the equation at index
Definition: EMM_LandauLifschitzFunction.h:94
void setSize(const tUIndex &n)
set the size
Definition: CORE_Array.h:292
virtual void computePartialGradMFunction(const EMM_RealArray &sigma, const EMM_RealField &M, const EMM_RealField &H, const EMM_RealField &D, EMM_RealField &GradF) const =0
compute the partial gradient with respect of M of the landau-lifschitz function at the direction in ...
tReal * mWork
Definition: EMM_LandauLifschitzFunction.h:50
EMM_RealArray mBetas
Definition: EMM_LandauLifschitzFunction.h:46
This class describes a landau lischitz function & utilitis:
Definition: EMM_LandauLifschitzFunction.h:30
EMM_RealArray & getBetasParameter()
get the beta parameters for each cell. If the magbetization at saturation is not the same at each cel...
Definition: EMM_LandauLifschitzFunction.h:125
void setAlphaParameter(const tReal &v)
set the alpha parameter of the equation
Definition: EMM_LandauLifschitzFunction.h:78
#define tUIndex
Definition: types.h:126
This class describes a real array.
Definition: EMM_RealArray.h:16
tReal mAlpha
Definition: EMM_LandauLifschitzFunction.h:43
#define tString
Definition: types.h:135
virtual tString toString() const
turn the class into a string
Definition: EMM_LandauLifschitzFunction.cpp:671
DEFINE_SPTR(EMM_LandauLifschitzFunction)
virtual void computeFunction(const EMM_RealArray &sigma, const EMM_RealField &M, const EMM_RealField &H, EMM_RealField &F) const =0
compute the landau-lifschitz function
This class describes a real field.
Definition: EMM_RealField.h:21
SP_OBJECT(EMM_LandauLifschitzFunction)
#define tReal
Definition: types.h:118