|
C++ mpi module for stochmagnet_main Package
|
This class describes a macro cells network for all core considered as master. More...
#include <SMOMPI_AllMasterMacroCellsNetwork.h>


Public Member Functions | |
| virtual CORE_UniquePointer< SM_MacroCellsNetwork > | 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... | |
| virtual void | computeMacroCells (const SM_Material &material, const SM_Network &network) override |
| compute the macro cells of the network More... | |
| virtual void | computeMacroCellsMassCenter (const SM_Material &material, const SM_Network &network) override |
| compute the macro cells of the network More... | |
| virtual tString | toString () const override |
| return string representaton of the operator | |
Public Member Functions inherited from SM_MacroCellsNetwork | |
| void | setMacroCellMargin (const tReal &w) |
| set margin More... | |
| const tReal & | getMacroCellMargin () const |
| get margin More... | |
| void | setMacroCellSize (const std::array< tReal, SM_Constants::DIM > &H) |
| set the macro cell size in angstrom More... | |
| void | setMacroCellSize (const std::vector< tReal > &H) |
| set the macro cell size in angstrom More... | |
| const std::array< tReal, SM_Constants::DIM > & | getMacroCellSize () const |
| get the macro cell size | |
| void | setMacroCellsNumber (const tInteger &n) |
| set the number of macro cells | |
| const tInteger & | getMacroCellsNumber () const |
| get the number of macro cells | |
| const SM_RealField & | getMacroCellsMassCenter () const |
| get the mass center of the macro cells for reading | |
| SM_RealField & | getMacroCellsMassCenter () |
| get the mass center of the macro cells for writing | |
| const std::valarray< tInteger > & | getMacroCellsList () const |
| get the index of macro cell containing each particle p | |
| std::valarray< tInteger > & | getMacroCellsList () |
| get the index of macro cell containing each particle p | |
| const std::valarray< tReal > & | getMacroCellsVolume () const |
| get volume of macro cells in Angstrom | |
| std::valarray< tReal > & | getMacroCellsVolume () |
| get volume of macro cells in Angstrom | |
| const tReal & | getMacroCellVolume (const tInteger &m) const |
| get volume of macro cell at index m in Angstrom More... | |
| const tInteger & | getMacroCellIndex (const tInteger &p) const |
| get the local index of the macro cell containing particle p 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< SelfClass > | New () |
| return a new unique instnace of class This 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... | |
Protected Member Functions | |
| SMOMPI_AllMasterMacroCellsNetwork (void) | |
| create a network class | |
| virtual | ~SMOMPI_AllMasterMacroCellsNetwork (void) |
| destroy | |
| virtual void | computeBoundingBoxMacroCells (const SM_Material &material, const SM_Network &network, const std::array< tReal, SM_Constants::DIM > &P, const std::array< tReal, SM_Constants::DIM > &Q) override |
| compute the macro cells of the network More... | |
Protected Member Functions inherited from SM_MacroCellsNetwork | |
| SM_MacroCellsNetwork (void) | |
| create a network class | |
| virtual | ~SM_MacroCellsNetwork (void) |
| destroy | |
Protected Member Functions inherited from CORE_Object | |
| CORE_Object () | |
| build an instance of the object | |
| virtual | ~CORE_Object () |
| destroy the instance of object std | |
Additional Inherited Members | |
Static Protected Member Functions inherited from SM_MacroCellsNetwork | |
| static tInteger | ComputeMacroCells (const SM_Material &material, const SM_Network &network, const std::array< tReal, SM_Constants::DIM > &P, const std::array< tReal, SM_Constants::DIM > &Q, const std::array< tReal, SM_Constants::DIM > ¯oCellSize, const tReal &margin, const tReal &epsVW, std::valarray< tReal > &MCsVolume, std::valarray< tInteger > ¯oCellsList) |
| compute the macro cells points and magnetization More... | |
| static void | EliminateEmptyMacroCells (const tReal &epsVM, std::valarray< tReal > &gMCVolume, std::valarray< tReal > &lMCVolume, std::valarray< tInteger > &gMCLocalIndices) |
| eliminate empty macro cells form lists More... | |
| static void | BuildParticlesListOrderedPerMacroCells (const SM_Network &network, const tInteger &nMacroCells, const std::valarray< tInteger > ¯oCellsPList, std::valarray< tInteger > &particlesMCList, std::valarray< tInteger > &particlesMCListOffset) |
| build the particles list for all not empty macro cells More... | |
| static void | ConvertIndices (const std::valarray< tInteger > &indicesConverter, std::valarray< tInteger > &indicesList) |
| convert indices More... | |
| static void | ConvertIndices (const std::valarray< tInteger > &indicesConverter, const tInteger &n, tInteger *iIndicesList) |
| convert indices More... | |
| static void | ComputeMacroCellX (const tInteger &nParticles, const tReal *iX, const tInteger *iMacroCellsList, SM_RealField &C, std::valarray< tInteger > &nMCParticles) |
| compute the sum of coordinantes of the particles in each macro cell More... | |
| static void | MeanX (const tInteger &n, const tInteger *iNs, tReal *iX) |
| compute the macro cells points and magnetization More... | |
This class describes a macro cells network for all core considered as master.
|
overrideprotectedvirtual |
compute the macro cells of the network
| [in] | material | :material data |
| [in] | network | : network of the macro cells |
| [in] | P | min point of the box to compute macro cells |
| [in] | Q | max point of the box to compute macro cells |
Reimplemented from SM_MacroCellsNetwork.
|
overridevirtual |
compute the macro cells of the network
| [in] | material | :material data |
| [in] | network | : network of the macro cells |
Reimplemented from SM_MacroCellsNetwork.
|
overridevirtual |
compute the macro cells of the network
| [in] | material | :material data |
| [in] | network | : network of the macro cells |
Reimplemented from SM_MacroCellsNetwork.
|
inlinevirtual |
return the memory size of the included associations
Reimplemented from SM_MacroCellsNetwork.
|
inlinevirtual |
return the memory size of the class and the memory size of all its attributes/associations
Reimplemented from SM_MacroCellsNetwork.
|
inlinestatic |
return a new unique instnace of class This
|
inlineoverridevirtual |
create a New instance of this
Implements SM_MacroCellsNetwork.