1 #ifndef SMOMPI_StratonovichSystem_H
2 #define SMOMPI_StratonovichSystem_H
5 #include "SMOMPI_LandauLifschitzSystem.h"
44 inline static CORE_UniquePointer<SMOMPI_StratonovichSystem>
New() {
46 p->getLandauLifschitzFunction().setIsSNormalized(
true);
78 inline const tReal&
getK()
const {
93 mK=alpha*alpha*(1+lambda*lambda);
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:113
This class describes an MPI implementation of SM_LandauLifschitzSystem.
Definition: SMOMPI_LandauLifschitzSystem.h:18
virtual tMemSize getContentsMemorySize() const
return the memory size of the included associations
Definition: SMOMPI_LandauLifschitzSystem.h:76
void discretize() override
discretize the fields
Definition: SMOMPI_LandauLifschitzSystem.cpp:23
This class is a simulation of one trajectory class for Stoch Microm package based on Stratonovich sys...
Definition: SMOMPI_StratonovichSystem.h:14
virtual tBoolean computeMagneticMomentDirectionsAtNextTimeStep(const tReal &dt, const tReal &epsilon_t, const SM_RealField &deltaSt, SM_RealField &St) final
compute direction of magnetic moments at next time step
Definition: SMOMPI_StratonovichSystem.cpp:7
virtual void discretize() override
discretize the system It computes the Stratonovich constant depending on the parameters of the Landau...
Definition: SMOMPI_StratonovichSystem.h:88
SMOMPI_StratonovichSystem(void)
create a class
Definition: SMOMPI_StratonovichSystem.h:27
virtual ~SMOMPI_StratonovichSystem(void)
destroy the class
Definition: SMOMPI_StratonovichSystem.h:35
virtual tMemSize getMemorySize() const
return the memory size of the class and the memory size of all its attributes/associations
Definition: SMOMPI_StratonovichSystem.h:65
const tReal & getK() const
return the stratonovich constant
Definition: SMOMPI_StratonovichSystem.h:78
static CORE_UniquePointer< SMOMPI_StratonovichSystem > New()
build a new instance of a system
Definition: SMOMPI_StratonovichSystem.h:44
This class describes a landau lifschitz function of the form :
Definition: SM_LandauLifschitzFunction.h:30
const tReal & getLambda() const
get the lambda parameter
Definition: SM_LandauLifschitzFunction.h:201
const tReal & getAlpha() const
get the alpha parameter
Definition: SM_LandauLifschitzFunction.h:194
const SM_LandauLifschitzFunction & getLandauLifschitzFunction() const
get the Landau Lifschitz function return the Landau lifschitz function for reading
Definition: SM_LandauLifschitzSystem.h:423