C++ main module for emicrom Package  1.0
EMMG_LandauLifschitzFunction.h
Go to the documentation of this file.
1 #ifndef EMMG_LandauLifschitzFunction_H
2 #define EMMG_LandauLifschitzFunction_H
3 
5 
23 
25  // ATTRIBUTES
26 
27 public:
28 
29 
30 
31 
32 private:
33 
34 
35 
36 protected:
37  // METHODS
38 
39  // CONSTRUCTORS
40 
44 
45 
46  // DESTRUCTORS
47 
48 
51  virtual ~EMMG_LandauLifschitzFunction(void);
52 
53 public:
54 
58  inline static SP::EMMG_LandauLifschitzFunction New() {
59  SP::EMMG_LandauLifschitzFunction sp(new EMMG_LandauLifschitzFunction(),EMMG_LandauLifschitzFunction::Delete());
60  sp->setThis(sp);
61  return sp;
62  }
63 
64  // SET methods
65 
66 
67 
68  // GET methods
69  // ============
70 
71 
72 
73 
74 
75 
76 
77 public:
78 
79 
90  virtual void computeFunction(const EMM_RealArray& sigma,
91  const EMM_RealField& M,
92  const EMM_RealField& H,
93  EMM_RealField& F) const;
94 
95 
96 public:
110  virtual void computeGradFunction(const EMM_RealArray& sigma,
111  const EMM_RealField& M,
112  const EMM_RealField& H,
113  const EMM_RealField& D,
114  const EMM_RealField& GradH,
115  EMM_RealField& GradF) const;
128  virtual void computePartialGradMFunction(const EMM_RealArray& sigma,
129  const EMM_RealField& M,
130  const EMM_RealField& H,
131  const EMM_RealField& D,
132  EMM_RealField& GradF) const;
133 
134 
135 
136 
137 
138 
139 };
140 
141 #endif
virtual void computePartialGradMFunction(const EMM_RealArray &sigma, const EMM_RealField &M, const EMM_RealField &H, const EMM_RealField &D, EMM_RealField &GradF) const
compute the partial gradient with respect to M of the landau-lifschitz function at the direction in ...
Definition: EMMG_LandauLifschitzFunction.cpp:174
static SP::EMMG_LandauLifschitzFunction New()
create a shared pointer class of this
Definition: EMMG_LandauLifschitzFunction.h:58
virtual void computeFunction(const EMM_RealArray &sigma, const EMM_RealField &M, const EMM_RealField &H, EMM_RealField &F) const
compute the landau-lifschitz function
Definition: EMMG_LandauLifschitzFunction.cpp:21
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
compute the gradient landau-lifschitz function at the direction in M
Definition: EMMG_LandauLifschitzFunction.cpp:78
SP_OBJECT(EMMG_LandauLifschitzFunction)
EMMG_LandauLifschitzFunction(void)
create the class
Definition: EMMG_LandauLifschitzFunction.cpp:9
This class describes a landau lischitz function & utilitis:
Definition: EMM_LandauLifschitzFunction.h:30
This class describes a implementation of a landau lischitz function & utility:
Definition: EMMG_LandauLifschitzFunction.h:22
This class describes a real array.
Definition: EMM_RealArray.h:16
DEFINE_SPTR(EMMG_LandauLifschitzFunction)
This class describes a real field.
Definition: EMM_RealField.h:21
virtual ~EMMG_LandauLifschitzFunction(void)
destroy the class
Definition: EMMG_LandauLifschitzFunction.cpp:14
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:141