This class is an hysteresis cycle manager for running a cycle of a beam class for Stoch Microm package.
More...
|
|
| SM_BeamHysteresis (void) |
| | create
|
| |
|
virtual | ~SM_BeamHysteresis (void) |
| | destroy
|
| |
| virtual tMemSize | getMemorySize () const |
| | return the memory size of the class and the memory size of all its attributes/associations More...
|
| |
| virtual tMemSize | getContentsMemorySize () const |
| | return the memory size of the included associations More...
|
| |
| void | setAreCriticalPointsSaved (const tBoolean &flag) |
| | true to save magnetic moment dierctions at critical points More...
|
| |
| void | setBackupsNumber (const tInteger &nBackups) |
| | set the number of backups More...
|
| |
| void | setBackupStepsNumber (const tInteger &s) |
| | set the number of steps between 2 backups More...
|
| |
| void | setHextRange (const std::array< tReal, 7 > &range) |
| | set the hext range More...
|
| |
| void | setHysteresisFileName (const tString &hysteresisFile) |
| | set the hystersis file More...
|
| |
| tBoolean | open (SM_Beam &beam, SM_StochasticOutputComponent &stochasticOutput, const tInteger &outputId, tIndex &iCycleStep) |
| | init the cycle of beam run More...
|
| |
| void | nextCycleStep (const tIndex &iCycleStep, SM_Beam &beam, const tInteger &outputId, const SM_StochasticOutputComponent &output) |
| | next the cycle of beam run More...
|
| |
| tBoolean | isCycleFinished (const tIndex &iCycle, const SM_Beam &beam) |
| | return true if the cycle is finished More...
|
| |
|
virtual tString | toString () const override |
| | return the string representation of the class
|
| |
| tBoolean | close (const tIndex &iCycle, const SM_Beam &beam) |
| | return true if the cycle is close without error More...
|
| |
|
| SM_BeamCycle (void) |
| | create
|
| |
|
virtual | ~SM_BeamCycle (void) |
| | destroy
|
| |
| void | setIsStochasticOutputSavedAtEachStep (const tBoolean &b) |
| | set is the output is saved at each step More...
|
| |
| const tBoolean & | isStochasticOutputSavedAtEachStep () const |
| | get if the output is saved at each step More...
|
| |
| void | setIsSeedUpdatedPerCycleStep (const tBoolean &b) |
| | set if the seed is generated at each step of the cycle More...
|
| |
| const tBoolean & | isSeedUpdatedPerCycleStep () const |
| | return true if the seed is generated at each cycle step More...
|
| |
| void | setSeedPerCycleStep (const tULLInt &seed) |
| | set the seed per step of each step cycle More...
|
| |
|
const tULLInt & | getSeedPerCycleStep () const |
| | get the seed
|
| |
| void | setIsRestoring (const tBoolean &v) |
| | set to true if the cycle is restoring More...
|
| |
|
const tBoolean & | isRestoring () const |
| | return true if the cycle starts at last computed cycle index
|
| |
| tBoolean | open (SM_Beam &beam, SM_StochasticOutputComponent &stochasticOutput, const tInteger &outputId, tIndex &iCycleStep) |
| | init the cycle of beam run More...
|
| |
| void | nextCycleStep (const tIndex &iCycleStep, SM_Beam &beam, const SM_StochasticOutputComponent &output) |
| | next step of the cycle of beam run More...
|
| |
| void | nextCycleStep (const tIndex &iCycleStep, SM_Beam &beam, const tInteger &outputId, const SM_StochasticOutputComponent &output) |
| | next step of the cycle of beam run More...
|
| |
| tBoolean | isCycleFinished (const tIndex &iCycle, const SM_Beam &beam) |
| | return true if the cycle is finished More...
|
| |
| tBoolean | close (const tIndex &iCycle, const SM_Beam &beam) |
| | return true if the cycle is close without error More...
|
| |
| template<class T > |
| std::shared_ptr< T > | getSharedPointer () |
| | return the shared pointer for this More...
|
| |
| template<class T > |
| std::shared_ptr< const T > | getConstSharedPointer () const |
| | return a const shared pointer for this More...
|
| |
| template<class T > |
| tBoolean | isInstanceOf () const |
| | test if the clas T is an instance of this class More...
|
| |
| tString | getClassName () const |
| | return the name of the class More...
|
| |
| tString | getPointerString () const |
| | retrun the pointer of the class as a string More...
|
| |
| tString | getIdentityString () const |
| | retrun the string identification of the class More...
|
| |
|
| static CORE_UniquePointer< SelfClass > | New () |
| | create an unique pointer to a new instance of this More...
|
| |
| static tBoolean | LoadFromFile (const tString &fileName, std::array< tReal, SM_Constants::DIM > &direction, tReal &litude, tReal &dh, tInteger &nCycleSteps, tCInt &hysDirection, tRelativeInteger &hysStep, tReal &h, tInteger &nHysValues, std::valarray< tReal > &hs, std::valarray< tReal > &hys) |
| | read an hysteresis file More...
|
| |
| static tBoolean | EnableMemoryStack (const tBoolean &isMemoryChecked) |
| | enable the memory stack More...
|
| |
|
static void | EnableMemoryStack () |
| | enable the memory stack
|
| |
|
static void | DisableMemoryStack () |
| | disable the memory stack
|
| |
|
static tBoolean | IsMemoryStackEnabled () |
| | return trur if the memory stack is enabled
|
| |
| static tString | MemoryStackToString () |
| | get the memory stack in string More...
|
| |
| static tIndex | GetRegisteredClassesNumber () |
| | get the memory stack in string More...
|
| |
This class is an hysteresis cycle manager for running a cycle of a beam class for Stoch Microm package.
- Author
- Stephane Despreaux
- Version
- 2.0