Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::mesh::MeshCompactMng Class Reference

Manager for compacting families of a mesh. More...

#include <arcane/mesh/MeshCompactMng.h>

Inheritance diagram for Arcane::mesh::MeshCompactMng:
Collaboration diagram for Arcane::mesh::MeshCompactMng:

Public Member Functions

 MeshCompactMng (IMesh *mesh)
IMeshmesh () const override
 Associated mesh.
IMeshCompacterbeginCompact () override
 Starts a compaction on all families of the mesh.
IMeshCompacterbeginCompact (IItemFamily *family) override
 Starts a compaction for the entity family family.
void endCompact () override
 Signals that the compaction is finished.
IMeshCompactercompacter () override
 Current active compacter.
Public Member Functions inherited from Arcane::TraceAccessor
 TraceAccessor (ITraceMng *m)
 Constructs an accessor via the trace manager m.
 TraceAccessor (const TraceAccessor &rhs)
 Copy constructor.
TraceAccessoroperator= (const TraceAccessor &rhs)
 Copy assignment operator.
virtual ~TraceAccessor ()
 Frees resources.
ITraceMngtraceMng () 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

Private Member Functions

MeshCompacter_setCompacter (MeshCompacter *c)

Private Attributes

IMeshm_mesh
IMeshCompacterm_compacter

Additional Inherited Members

Protected Member Functions inherited from Arcane::TraceAccessor
void _setLocalVerboseLevel (Int32 v)
Int32 _localVerboseLevel () const

Detailed Description

Manager for compacting families of a mesh.

Definition at line 37 of file MeshCompactMng.h.

Constructor & Destructor Documentation

◆ MeshCompactMng()

Arcane::mesh::MeshCompactMng::MeshCompactMng ( IMesh * mesh)

Definition at line 33 of file MeshCompactMng.cc.

◆ ~MeshCompactMng()

Arcane::mesh::MeshCompactMng::~MeshCompactMng ( )

Definition at line 44 of file MeshCompactMng.cc.

Member Function Documentation

◆ _setCompacter()

MeshCompacter * Arcane::mesh::MeshCompactMng::_setCompacter ( MeshCompacter * c)
private

Definition at line 97 of file MeshCompactMng.cc.

◆ beginCompact() [1/2]

IMeshCompacter * Arcane::mesh::MeshCompactMng::beginCompact ( )
overridevirtual

Starts a compaction on all families of the mesh.

Precondition
compacter()==nullptr.

Implements Arcane::IMeshCompactMng.

Definition at line 52 of file MeshCompactMng.cc.

References ARCANE_FATAL.

◆ beginCompact() [2/2]

IMeshCompacter * Arcane::mesh::MeshCompactMng::beginCompact ( IItemFamily * family)
overridevirtual

Starts a compaction for the entity family family.

Precondition
compacter()==nullptr.

Implements Arcane::IMeshCompactMng.

Definition at line 64 of file MeshCompactMng.cc.

References ARCANE_FATAL, Arcane::IItemFamily::parallelMng(), and Arcane::IParallelMng::timeStats().

Here is the call graph for this function:

◆ compacter()

IMeshCompacter * Arcane::mesh::MeshCompactMng::compacter ( )
inlineoverridevirtual

Current active compacter.

The compacter is non-null only if we are between a beginCompact() and an endCompact()

Implements Arcane::IMeshCompactMng.

Definition at line 52 of file MeshCompactMng.h.

◆ endCompact()

void Arcane::mesh::MeshCompactMng::endCompact ( )
overridevirtual

Signals that the compaction is finished.

This allows the deallocation of structures associated with the compaction.

Postcondition
exchanger()==nullptr.

Implements Arcane::IMeshCompactMng.

Definition at line 76 of file MeshCompactMng.cc.

References ARCANE_FATAL.

◆ mesh()

IMesh * Arcane::mesh::MeshCompactMng::mesh ( ) const
overridevirtual

Associated mesh.

Implements Arcane::IMeshCompactMng.

Definition at line 88 of file MeshCompactMng.cc.

Member Data Documentation

◆ m_compacter

IMeshCompacter* Arcane::mesh::MeshCompactMng::m_compacter
private

Definition at line 57 of file MeshCompactMng.h.

◆ m_mesh

IMesh* Arcane::mesh::MeshCompactMng::m_mesh
private

Definition at line 56 of file MeshCompactMng.h.


The documentation for this class was generated from the following files: