Management of mesh family compaction. More...
#include <arcane/mesh/MeshCompacter.h>
Public Member Functions | |
| IMesh * | mesh () const override |
| Mesh associated with this compacter. | |
| void | doAllActions () override |
| Executes all compaction actions successively. | |
| void | beginCompact () override |
| void | compactVariablesAndGroups () override |
| void | updateInternalReferences () override |
| void | endCompact () override |
| void | finalizeCompact () override |
| const ItemFamilyCompactInfos * | findCompactInfos (IItemFamily *family) const override |
| Compaction information for the family family. | |
| ePhase | phase () const override |
| The exchange phase in which we are located. | |
| bool | isSorted () const override |
| Indicates whether it wishes to sort the entities in addition to compacting them. | |
| ItemFamilyCollection | families () const override |
| Families whose entities are compacted. | |
| void | setSorted (bool v) override |
| Indicates whether entities should be sorted during compaction. | |
| void | _setCompactVariablesAndGroups (bool v) override |
| Public Member Functions inherited from Arcane::TraceAccessor | |
| TraceAccessor (ITraceMng *m) | |
| Constructs an accessor via the trace manager m. | |
| TraceAccessor (const TraceAccessor &rhs) | |
| Copy constructor. | |
| TraceAccessor & | operator= (const TraceAccessor &rhs) |
| Copy assignment operator. | |
| virtual | ~TraceAccessor () |
| Frees resources. | |
| ITraceMng * | traceMng () const |
| Trace manager. | |
| TraceMessage | info () const |
| Flow for an information message. | |
| TraceMessage | pinfo () const |
| Flow for a parallel information message. | |
| TraceMessage | info (char category) const |
| Flow for an information message of a given category. | |
| TraceMessage | pinfo (char category) const |
| Flow for a parallel information message of a given category. | |
| TraceMessage | info (bool v) const |
| Flow for an information message. | |
| TraceMessage | warning () const |
| Flow for a warning message. | |
| TraceMessage | pwarning () const |
| TraceMessage | error () const |
| Flow for an error message. | |
| TraceMessage | perror () const |
| TraceMessage | log () const |
| Flow for a log message. | |
| TraceMessage | plog () const |
| Flow for a log message. | |
| TraceMessage | logdate () const |
| Flow for a log message preceded by the date. | |
| TraceMessage | fatal () const |
| Flow for a fatal error message. | |
| TraceMessage | pfatal () const |
| Flow for a parallel fatal error message. | |
| TraceMessageDbg | debug (Trace::eDebugLevel=Trace::Medium) const |
| Flow for a debug message. | |
| Trace::eDebugLevel | configDbgLevel () const |
| Debug level of the configuration file. | |
| TraceMessage | info (Int32 verbose_level) const |
| Flow for an information message of a given level. | |
| TraceMessage | linfo () const |
| Flow for an information message with the local information level of this instance. | |
| TraceMessage | linfo (Int32 relative_level) const |
| Flow for an information message with the local information level of this instance. | |
| void | fatalMessage (const StandaloneTraceMessage &o) const |
| Public Member Functions inherited from Arcane::IMeshCompacter | |
| virtual | ~IMeshCompacter ()=default |
| Frees resources. | |
Private Types | |
| typedef std::map< IItemFamily *, ItemFamilyCompactInfos * > | ItemFamilyCompactInfosMap |
Private Member Functions | |
| MeshCompacter (IMesh *mesh, ITimeStats *stats) | |
| MeshCompacter (IItemFamily *family, ITimeStats *stats) | |
| void | build () |
| void | _checkPhase (ePhase wanted_phase) |
| void | _addFamily (IItemFamily *family) |
Private Attributes | |
| IMesh * | m_mesh |
| ItemFamilyCompactInfosMap | m_family_compact_infos_map |
| ITimeStats * | m_time_stats |
| ePhase | m_phase |
| bool | m_is_sorted |
| bool | m_is_compact_variables_and_groups |
| List< IItemFamily * > | m_item_families |
Friends | |
| class | MeshCompactMng |
Additional Inherited Members | |
| Public Types inherited from Arcane::IMeshCompacter | |
| enum class | ePhase { Init = 0 , BeginCompact , CompactVariableAndGroups , UpdateInternalReferences , EndCompact , Finalize , Ended } |
| Indicates the different phases of compaction. More... | |
| Protected Member Functions inherited from Arcane::TraceAccessor | |
| void | _setLocalVerboseLevel (Int32 v) |
| Int32 | _localVerboseLevel () const |
Management of mesh family compaction.
Instances of this class are created by calling MeshCompactMng::beginCompact().
Definition at line 53 of file MeshCompacter.h.
|
private |
Definition at line 61 of file MeshCompacter.h.
|
private |
Definition at line 32 of file MeshCompacter.cc.
|
private |
Definition at line 49 of file MeshCompacter.cc.
|
private |
Definition at line 64 of file MeshCompacter.cc.
|
private |
Definition at line 77 of file MeshCompacter.cc.
|
private |
Definition at line 98 of file MeshCompacter.cc.
|
overridevirtual |
Implements Arcane::IMeshCompacter.
Definition at line 268 of file MeshCompacter.cc.
|
overridevirtual |
Implements Arcane::IMeshCompacter.
Definition at line 109 of file MeshCompacter.cc.
|
private |
Definition at line 89 of file MeshCompacter.cc.
|
overridevirtual |
Implements Arcane::IMeshCompacter.
Definition at line 137 of file MeshCompacter.cc.
|
overridevirtual |
Executes all compaction actions successively.
Implements Arcane::IMeshCompacter.
Definition at line 245 of file MeshCompacter.cc.
|
overridevirtual |
Implements Arcane::IMeshCompacter.
Definition at line 180 of file MeshCompacter.cc.
|
overridevirtual |
Families whose entities are compacted.
Implements Arcane::IMeshCompacter.
Definition at line 278 of file MeshCompacter.cc.
|
overridevirtual |
Implements Arcane::IMeshCompacter.
Definition at line 202 of file MeshCompacter.cc.
|
overridevirtual |
Compaction information for the family family.
The returned pointer may be null if the specified family is not part of the compacted families.
Implements Arcane::IMeshCompacter.
Definition at line 224 of file MeshCompacter.cc.
|
inlineoverridevirtual |
Indicates whether it wishes to sort the entities in addition to compacting them.
Implements Arcane::IMeshCompacter.
Definition at line 84 of file MeshCompacter.h.
|
overridevirtual |
Mesh associated with this compacter.
Implements Arcane::IMeshCompacter.
Definition at line 236 of file MeshCompacter.cc.
|
inlineoverridevirtual |
The exchange phase in which we are located.
Implements Arcane::IMeshCompacter.
Definition at line 83 of file MeshCompacter.h.
|
overridevirtual |
Indicates whether entities should be sorted during compaction.
Implements Arcane::IMeshCompacter.
Definition at line 258 of file MeshCompacter.cc.
|
overridevirtual |
Implements Arcane::IMeshCompacter.
Definition at line 159 of file MeshCompacter.cc.
|
friend |
Definition at line 57 of file MeshCompacter.h.
|
private |
Definition at line 95 of file MeshCompacter.h.
|
private |
Definition at line 99 of file MeshCompacter.h.
|
private |
Definition at line 98 of file MeshCompacter.h.
|
private |
Definition at line 100 of file MeshCompacter.h.
|
private |
Definition at line 94 of file MeshCompacter.h.
|
private |
Definition at line 97 of file MeshCompacter.h.
|
private |
Definition at line 96 of file MeshCompacter.h.