82 mCharacteristicTime=t;
111 if (n>1) mDt=mEndTime/(n-1);
170 return (system.get()!=
null);
178 inline SPC::EMM_LandauLifschitzSystem
getSystem()
const {
179 SPC::EMM_LandauLifschitzSystem sys=mSystem.lock();
186 SP::EMM_LandauLifschitzSystem sys=mSystem.lock();
tReal mCharacteristicTime
Definition: EMM_Stepper.h:34
This class is a base class of E-MicromM core package.
Definition: EMM_Object.h:21
void setTargetTime(const tReal &t)
set the end time with respect of the characteristic time real time = t * getCharacteristicTime() ...
Definition: EMM_Stepper.h:88
void setDtFactor(const tReal &f)
set the dt factor
Definition: EMM_Stepper.h:104
tUInteger mTimeStepsNumber
Definition: EMM_Stepper.h:36
const tReal & getCharacteristicTime() const
get the characteristic time
Definition: EMM_Stepper.h:136
#define tUInteger
Definition: types.h:91
void resetSystem()
reset the reverse system relation
Definition: EMM_Stepper.cpp:38
void setDt(const tReal &dt)
set the time step
Definition: EMM_Stepper.h:97
const tReal & getDt() const
get the time step
Definition: EMM_Stepper.h:149
virtual ~EMM_Stepper(void)
destroy
Definition: EMM_Stepper.cpp:14
virtual tBoolean computeNewTimeStep(tReal &dt, tUInteger &nEvaluations)=0
compute the new time step
virtual tString toString() const
turn the regular time into a string
Definition: EMM_Stepper.cpp:49
#define tBoolean
Definition: types.h:139
WP::EMM_LandauLifschitzSystem mSystem
Definition: EMM_Stepper.h:42
SP::EMM_LandauLifschitzSystem getSystem()
get system for writing
Definition: EMM_Stepper.h:185
#define null
Definition: types.h:144
tReal mEndTime
Definition: EMM_Stepper.h:32
tReal & getDt()
get the time step
Definition: EMM_Stepper.h:156
virtual tBoolean isSystemCompatible(SPC::EMM_LandauLifschitzSystem system) const
return true if the system is compatible
Definition: EMM_Stepper.h:169
void setCharacteristicTime(const tReal &t)
set the characteristic time the real time will be t. mTc in seconds
Definition: EMM_Stepper.h:81
This class describes a time descriptor.
Definition: EMM_Stepper.h:18
EMM_Stepper(void)
create
Definition: EMM_Stepper.cpp:5
DEFINE_SPTR(EMM_LandauLifschitzSystem)
tBoolean setSystem(SP::EMM_LandauLifschitzSystem system)
set the reverse system relation
Definition: EMM_Stepper.cpp:18
This class describes a resolution of landau-lifschitz system of the Core Package for E-MicroM...
Definition: EMM_LandauLifschitzSystem.h:88
tReal mDtFactor
Definition: EMM_Stepper.h:29
const tUInteger & getTimeStepsNumber() const
get the time steps number
Definition: EMM_Stepper.h:142
#define tString
Definition: types.h:135
SPC::EMM_LandauLifschitzSystem getSystem() const
get system for reading
Definition: EMM_Stepper.h:178
const tReal & getDtFactor() const
get the dt factor
Definition: EMM_Stepper.h:124
tReal mDt
Definition: EMM_Stepper.h:39
#define tReal
Definition: types.h:118
void setTimeStepsNumber(const tUInteger &n)
set the time steps number
Definition: EMM_Stepper.h:109
const tReal & getTargetTime() const
get the end time
Definition: EMM_Stepper.h:130