Class for managing partitioning criteria. More...
#include <arcane/impl/internal/LoadBalanceMngInternal.h>
Classes | |
| struct | MemInfo |
| Cache system for accessing memory related to a cell. More... | |
Public Member Functions | |
| PartitionerMemoryInfo () | |
| Construction based on the IVariableMng. | |
| Integer | addEntity (const String &entity) |
| Adds an entity and assigns it a number. The same name is not duplicated. | |
| void | computeMemory (IVariableMng *varMng) |
| Real | getOverallMemory (const String &entity) const |
| Returns the total memory associated with an entity. | |
| Real | getOverallMemory (Integer offset) const |
| Real | getOverallMemory (const Cell &cell) |
| Real | getResidentMemory (const String &entity) const |
| Returns the "resident" (to be transferred) memory associated with an entity. | |
| Real | getResidentMemory (Integer offset) const |
| Real | getResidentMemory (const Cell &cell) |
| Integer | operator[] (const String &entity) const |
| Management of entities and their names. | |
| const String & | operator[] (unsigned int i) const |
Private Member Functions | |
| Integer | _findEntity (const String &entity) const |
| void | _computeMemCell (Cell cell) |
| template<typename ItemKind> | |
| Real | _computeMemContrib (ItemConnectedListViewTypeT< ItemKind > list) |
| Calculates the contribution of an entity to adjacent cells. | |
Private Attributes | |
| UniqueArray< String > | m_family_names |
| UniqueArray< Int32 > | m_overall_memory |
| UniqueArray< Int32 > | m_resident_memory |
| MemInfo | m_buffer |
Class for managing partitioning criteria.
It essentially serves to provide memory information associated with each entity. Allows obtaining the entity number from its name.
Definition at line 134 of file LoadBalanceMngInternal.h.
|
inlineexplicit |
Construction based on the IVariableMng.
Definition at line 139 of file LoadBalanceMngInternal.h.
References Arcane::IK_Cell, Arcane::IK_Edge, Arcane::IK_Face, Arcane::IK_Node, and Arcane::IK_Unknown.
|
inlineprivate |
Definition at line 268 of file LoadBalanceMngInternal.h.
|
inlineprivate |
Calculates the contribution of an entity to adjacent cells.
Definition at line 292 of file LoadBalanceMngInternal.h.
Definition at line 258 of file LoadBalanceMngInternal.h.
Adds an entity and assigns it a number. The same name is not duplicated.
Definition at line 150 of file LoadBalanceMngInternal.h.
|
inline |
Definition at line 163 of file LoadBalanceMngInternal.h.
Definition at line 221 of file LoadBalanceMngInternal.h.
Returns the total memory associated with an entity.
Definition at line 209 of file LoadBalanceMngInternal.h.
References getOverallMemory().
Referenced by getOverallMemory().
Definition at line 217 of file LoadBalanceMngInternal.h.
Definition at line 240 of file LoadBalanceMngInternal.h.
Returns the "resident" (to be transferred) memory associated with an entity.
Definition at line 228 of file LoadBalanceMngInternal.h.
References getResidentMemory().
Referenced by getResidentMemory().
Definition at line 236 of file LoadBalanceMngInternal.h.
Management of entities and their names.
Definition at line 247 of file LoadBalanceMngInternal.h.
|
inline |
Definition at line 251 of file LoadBalanceMngInternal.h.
|
private |
Definition at line 313 of file LoadBalanceMngInternal.h.
|
private |
Definition at line 302 of file LoadBalanceMngInternal.h.
|
private |
Definition at line 303 of file LoadBalanceMngInternal.h.
|
private |
Definition at line 304 of file LoadBalanceMngInternal.h.