|
C++ mpi module for stochmagnet_main Package
|
This class describes a materials defined by state attributes: More...
#include <SM_Material.h>


Public Member Functions | |
| SM_Material (void) | |
| create a materialclass | |
| virtual | ~SM_Material (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 | setCrystalStructure (CORE_UniquePointer< SM_CrystalStructure > cStructure) |
| set the crystal structure More... | |
| const SM_CrystalStructure & | getCrystalStructure () const |
| get the crystal structure More... | |
| SM_CrystalStructure & | getCrystalStructure () |
| get the crystal structure More... | |
| tBoolean | hasCrystalStructure () const |
| return true if the material has a crystal structure More... | |
| void | setName (const tString &name) |
| set the name of the material | |
| const tString & | getName () const |
| get the name of the material | |
| void | setAtomicSpinMoment (const tReal &mu_s) |
| set the atomic spin moment in unit of Bohr magneton \( \mu_B \) More... | |
| const tReal & | getAtomicSpinMoment () const |
| get the atomic spin moment in unit of Bohr magneton \( \mu_B \) More... | |
| const tReal & | getAtomicSpinMoment_SIU () const |
| get the atomic moment in international sytem unit : J.T^{-1} More... | |
| void | setAnisotropyType (const tFlag &crystalType) |
| set anisotropy type More... | |
| const tFlag & | getAnisotropyType () const |
| get anisotropy type More... | |
| void | setAnisotropyEnergyFactor (const tReal &k) |
| set the anisotropy energy More... | |
| const tReal & | getAnisotropyEnergyFactor () const |
| get the anisotropy energy More... | |
| void | setAnisotropyDirections (const std::array< tReal, SM_Constants::DIM *SM_Constants::DIM > &U) |
| set the anisotropy directions More... | |
| void | setAnisotropyDirections (const std::vector< tReal > &U) |
| set the anisotropy directions More... | |
| const std::valarray< tReal > & | getAnisotropyDirections () const |
| get the anisotropy directions More... | |
| void | setExchangeEnergyFactor (const tReal &J) |
| set the exchange energy More... | |
| const tReal & | getExchangeEnergyFactor () const |
| get the exchange energy More... | |
| void | setDMIEnergyFactor (const std::array< tReal, SM_Constants::DIM > &D) |
| set the DMI energy More... | |
| const std::array< tReal, SM_Constants::DIM > & | getDMIEnergyFactor () const |
| get the DMI energy More... | |
| void | setSpinWaveMFCorrection (const tReal &eps) |
| set the spin wave MF correction | |
| const tReal & | getSpinWaveMFCorrection () const |
| get the spin wave MF correction | |
| void | computeCharacteristicValues (const tBoolean &isAdimensionized) |
| compute the characteristic values More... | |
| const tReal & | getCharacteristicTime () const |
| get the characteristic time in s More... | |
| const tReal & | getCharacteristicEnergy () const |
| get the characteristic energy in J More... | |
| const tReal & | getCharacteristicField () const |
| get the characteristic field in T More... | |
| const tReal & | getAdimensionizedExchangeEnergyFactor () const |
| get the characteristic exchange energy factor More... | |
| const std::array< tReal, SM_Constants::DIM > & | getAdimensionizedDMIEnergyFactor () const |
| get the characteristic DMI energy factor More... | |
| const tReal & | getAdimensionizedAnisotropyEnergyFactor () const |
| get the characteristic anisotropy energy factor More... | |
| const tReal & | getAdimensionizedDipolarEnergyFactor () const |
| get the characteristic dipolar energy factor More... | |
| const tReal & | getAdimensionizedDerivativeEnergyFactor () const |
| get the characteristic dipolar energy factor More... | |
| virtual tString | toString () const override |
| turn the class into a string representation More... | |
Public Member Functions inherited from SM_Object | |
| SM_Object (void) | |
| create | |
| virtual | ~SM_Object (void) |
| destroy | |
Public Member Functions inherited from CORE_Object | |
| 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 Public Member Functions | |
| static CORE_UniquePointer< SM_Material > | New () |
| build a new instance of a Grid3D More... | |
Static Public Member Functions inherited from CORE_Object | |
| 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... | |
Additional Inherited Members | |
Protected Member Functions inherited from CORE_Object | |
| CORE_Object () | |
| build an instance of the object | |
| virtual | ~CORE_Object () |
| destroy the instance of object std | |
This class describes a materials defined by state attributes:
It compute the characteristics values depending on if normalization varibles is used or not:
With no normalisation :
The class is linked to a strcuture SM_CrystalStructure
The adimensionized values is computed by the method SM_Material::computeCharacteristicValues()
| void SM_Material::computeCharacteristicValues | ( | const tBoolean & | isAdimensionized | ) |
compute the characteristic values
| [in] | isAdimensionized | : to adimensionize variables |
|
inline |
get the characteristic anisotropy energy factor
|
inline |
get the characteristic dipolar energy factor
|
inline |
get the characteristic dipolar energy factor
|
inline |
get the characteristic DMI energy factor
|
inline |
get the characteristic exchange energy factor
|
inline |
get the anisotropy directions
|
inline |
get the anisotropy energy
|
inline |
get anisotropy type
|
inline |
get the atomic spin moment in unit of Bohr magneton \( \mu_B \)
|
inline |
get the atomic moment in international sytem unit : J.T^{-1}
|
inline |
get the characteristic energy in J
|
inline |
get the characteristic field in T
|
inline |
get the characteristic time in s
|
inlinevirtual |
return the memory size of the included associations
Reimplemented from CORE_Object.
|
inline |
get the crystal structure
|
inline |
get the crystal structure
|
inline |
get the DMI energy
|
inline |
get the exchange energy
|
inlinevirtual |
return the memory size of the class and the memory size of all its attributes/associations
Reimplemented from SM_Object.
|
inline |
return true if the material has a crystal structure
|
inlinestatic |
build a new instance of a Grid3D
|
inline |
set the anisotropy directions
| [in] | U | : directions of anisotropy |
|
inline |
set the anisotropy directions
| [in] | U | : directions of anisotropy |
|
inline |
set the anisotropy energy
| [in] | k | : value of the anisotropy constant energy |
|
inline |
set anisotropy type
| [in] | crystalType | : crystal type in {"uniaxial","planar","cubic"} |
|
inline |
set the atomic spin moment in unit of Bohr magneton \( \mu_B \)
| [in] | mu_s | : atomic spin moment value |
|
inline |
set the crystal structure
| [in] | cStructure | crystal structure |
|
inline |
set the DMI energy
| [in] | D | : value of the DMI constant energy |
|
inline |
set the exchange energy
| [in] | J | : value of the exchange constant energy |
|
overridevirtual |
turn the class into a string representation
Reimplemented from CORE_Object.