This class describes an MPI implementation of the demagnetized field for one master core.
More...
|
| virtual CORE_UniquePointer< SM_MacroCellsDemagnetizedField > | newInstance () const override |
| | create a New instance of this More...
|
| |
| 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...
|
| |
|
const SM_RealField & | getBoundingBoxMacroCellsDemagnetizedField () const |
| | get the magnetization field on all not empty macro cells of the bounding box of macro cells
|
| |
|
SM_RealField & | getBoundingBoxMacroCellsDemagnetizedField () |
| | get the magnetization field on all not empty macro cells of the bounding box of macro cells
|
| |
| virtual void | discretize (const SM_Material &material, const SM_MacroCellsNetwork &network) final |
| | discretize the field More...
|
| |
| virtual void | computeMatrix (const SM_Material &material, const SM_MacroCellsNetwork &network) override |
| | compute the matrix More...
|
| |
| virtual void | computeField (const SM_MacroCellsNetwork &network, const SM_MacroCellsMagnetizationField &M) override |
| | compute the demagnetized field on macro cells network More...
|
| |
| void | setStorage (const tFlag &f) |
| | set storage type More...
|
| |
|
const tFlag & | getStorage () const |
| | yet storage type in {NO_STORAGE,PACKED_STORAGE}
|
| |
|
const SM_RealField & | getField () const |
| | get the demagnetized field on macro cells
|
| |
|
SM_RealField & | getField () |
| | get the demagnetized field on macro cells
|
| |
|
tBoolean | hasMatrix () const |
| | return true if the matrix exists
|
| |
|
void | setMatrix (CORE_UniquePointer< SM_PackedBlockMatrix< tReal, SM_Constants::DIM >> matrix) |
| | set matrix
|
| |
|
SM_PackedBlockMatrix< tReal, SM_Constants::DIM > & | getMatrix () |
| | get matrix
|
| |
|
const SM_PackedBlockMatrix< tReal, SM_Constants::DIM > & | getMatrix () const |
| | get matrix
|
| |
| const tReal & | getLambdaH () const |
| | get lambda H More...
|
| |
| const tReal & | getLambdaHs () const |
| | get self lambda Hs More...
|
| |
| void | computeSeparatedFieldSlice (const tReal &lambdaH, const tReal &lambdaHs, const tReal *P, const tReal *eP, const tReal *M_P, const tInteger &nMacroCells, const tReal *X, tReal *H) const |
| | compute Hdem[X]=F_{P,M}(X) More...
|
| |
|
virtual tString | toString () const override |
| | return string representaton of the operator
|
| |
|
| SM_Object (void) |
| | create
|
| |
|
virtual | ~SM_Object (void) |
| | destroy
|
| |
| 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...
|
| |
|
|
| SMOMPI_OneMasterMacroCellsDemagnetizedField (void) |
| | create a network class
|
| |
|
virtual | ~SMOMPI_OneMasterMacroCellsDemagnetizedField (void) |
| | destroy
|
| |
|
| SM_MacroCellsDemagnetizedField (void) |
| | create a network class
|
| |
|
virtual | ~SM_MacroCellsDemagnetizedField (void) |
| | destroy
|
| |
| void | computeBlocksSymmetricMatrix (const tReal &lambdaH, const tReal &lambdaHs, const tReal *vMCsVolume, const tReal *vMCsX, const tInteger &start, const tInteger &end, tReal *supBlocksValues, tReal *diagBlocksValues) const |
| | compute the column blocks matrix (i,j) j in [start,end] and j in [0,i] More...
|
| |
| void | computeBlocksGeneralMatrix (const tReal &lambdaH, const tReal &lambdaHs, const tReal *vMCsVolumes, const tInteger &nX, const tReal *vX, const tInteger &nP, const tReal *vP, tReal *supBlocksValues) const |
| | compute the column blocks matrix (i,j) j in [start,end] and j in [0,i] More...
|
| |
| void | computeFieldSlice (const tReal &lambdaH, const tReal &lambdaHs, const tReal *P, const tReal *eP, const tReal *M_P, const tInteger &nMacroCells, const tReal *X, const tReal *M_X, const tReal *iMCsVolume, tReal *H) const |
| | compute Hdem[X]=F_{P,M}(X) More...
|
| |
|
| CORE_Object () |
| | build an instance of the object
|
| |
|
virtual | ~CORE_Object () |
| | destroy the instance of object std
|
| |
|
|
static constexpr tFlag | PACKED_STORAGE =1 |
| | the storage if in a packed matrix
|
| |
|
static constexpr tFlag | NO_STORAGE =0 |
| | no storage
|
| |
| static void | BuildPackedBlockMatrix (tReal lambdaH, const tReal &lambdaHs, const tReal &Wi, tInteger i, tInteger j, const tReal *Xi, const tReal *Xj, tReal *vBij, tReal &rij, std::array< tReal, SM_Constants::DIM > &U) |
| | build the symmetric block element of the superior matrix in a packed storage More...
|
| |
| static void | BuildPackedSupBlockMatrix (tReal lambdaH, tInteger i, tInteger j, const tReal *Xi, const tReal *Xj, tReal *vBij, tReal &rij, std::array< tReal, SM_Constants::DIM > &U) |
| | build the symmetric block element of the superior matrix in a packed storage More...
|
| |
| static void | BuildDiagonalBlockMatrix (const tReal &V, const tReal &lambdaHs, tReal &diag) |
| | build the diagonal block element of the matrix More...
|
| |
| static void | BuildPackedDiagonalBlockMatrix (const tReal &V, const tReal &lambdaHs, tReal *iDiag) |
| | build the diagonal block element of the matrix More...
|
| |
This class describes an MPI implementation of the demagnetized field for one master core.
- Author
- Stephane Despreaux
- Version
- 2.0