1 #ifndef EMMH_Hysteresis_H 2 #define EMMH_Hysteresis_H 87 inline static SP::EMMH_Hysteresis
New() {
102 mIsBackupOldFilesRemoving=v;
110 mAreSystemLogsPrinted=v;
124 mFile->setFileName(fileName);
191 inline void setSystem(SP::EMM_LandauLifschitzSystem s) {
This class is a base class of E-MicromM core package.
Definition: EMM_Object.h:21
void setFlowSize(const tUSInt &n)
set the flow size
Definition: EMMH_Hysteresis.h:116
void setInitialMagnetizationField(const tString &initValue)
set the initial magnetization field
Definition: EMMH_Hysteresis.h:129
EMM_RealArray mHext
Definition: EMMH_Hysteresis.h:48
tBoolean run()
run the hysteresis process
Definition: EMMH_Hysteresis.cpp:88
void setAreSystemLogsPrinted(const tBoolean &v)
set to true to print the logs of magnetization time integration system
Definition: EMMH_Hysteresis.h:109
virtual ~EMMH_Hysteresis(void)
destroy
Definition: EMMH_Hysteresis.cpp:24
void setIsRestoring(const tBoolean &v)
set true if the hysteresis file has to be completed
Definition: EMMH_Hysteresis.h:156
EMM_RealArray mM
Definition: EMMH_Hysteresis.h:54
tBoolean mIsRestoring
Definition: EMMH_Hysteresis.h:45
#define tUInteger
Definition: types.h:91
void setHysteresisFile(const tString &fileName)
set the hysteresis file
Definition: EMMH_Hysteresis.h:122
tUInteger mOutputSteps
Definition: EMMH_Hysteresis.h:42
void setFinalExternalMagneticExcitationField(const tReal H[3])
set the final external magnetic field
Definition: EMMH_Hysteresis.h:172
tUInteger mHalfCyclesNumber
Definition: EMMH_Hysteresis.h:36
SP::EMM_LandauLifschitzSystem mSystem
Definition: EMMH_Hysteresis.h:69
void setStepsNumber(const tUInteger &n)
set the number of steps
Definition: EMMH_Hysteresis.h:136
#define tUSInt
Definition: types.h:28
#define tBoolean
Definition: types.h:139
DEFINE_SPTR(EMMH_Hysteresis)
void setSize(const tUIndex &n)
set the size
Definition: CORE_Array.h:292
void setOutputSteps(const tUInteger &n)
set the output step for file generator
Definition: EMMH_Hysteresis.h:149
tString toString() const
return the string associated to the integer
Definition: CORE_Integer.h:106
static SP::EMMH_HysteresisFile New()
create a run class
Definition: EMMH_HysteresisFile.h:65
tBoolean mAreSystemLogsPrinted
Definition: EMMH_Hysteresis.h:63
SP::EMMH_HysteresisFile mFile
Definition: EMMH_Hysteresis.h:66
tBoolean loadFromFieldFile(const tString &fileName)
load the array froma field file
Definition: EMM_RealArray.cpp:17
void setHalfCyclesNumber(const tUInteger &n)
set the number of half cycles
Definition: EMMH_Hysteresis.h:142
This class describes a resolution of landau-lifschitz system of the Core Package for E-MicroM...
Definition: EMM_LandauLifschitzSystem.h:88
void setExternalMagneticExcitationField(const tString &fn)
set the external field for all steps
Definition: EMMH_Hysteresis.h:183
tUSInt mFlowSize
Definition: EMMH_Hysteresis.h:57
tUInteger mStepsNumber
Definition: EMMH_Hysteresis.h:39
This class describes a real array.
Definition: EMM_RealArray.h:16
#define tString
Definition: types.h:135
void setInitialExternalMagneticExcitationField(const tReal H[3])
set the initial external magnetic field
Definition: EMMH_Hysteresis.h:162
tBoolean mIsBackupOldFilesRemoving
Definition: EMMH_Hysteresis.h:60
SP_OBJECT(EMMH_Hysteresis)
EMMH_Hysteresis(void)
create
Definition: EMMH_Hysteresis.cpp:10
Definition: EMMH_Hysteresis.h:29
tString mMInit
Definition: EMMH_Hysteresis.h:51
static SP::EMMH_Hysteresis New()
create a run class
Definition: EMMH_Hysteresis.h:87
void setSystem(SP::EMM_LandauLifschitzSystem s)
set the system associated to the hysteresis file
Definition: EMMH_Hysteresis.h:191
#define tReal
Definition: types.h:118
static tString getSuffix(const tUInteger &i, const tUInteger &iHCycle)
create the suffix of file at datat i in half cycle iHCycle
Definition: EMMH_Hysteresis.h:200
void setIsOldBackupFilesRemoved(const tBoolean &v)
set to true if the old backup files has to be removed
Definition: EMMH_Hysteresis.h:101
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:141