Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::MeshStats Class Reference
Inheritance diagram for Arcane::MeshStats:
Collaboration diagram for Arcane::MeshStats:

Public Member Functions

 MeshStats (ITraceMng *msg, IMesh *mesh, IParallelMng *pm)
void dumpStats () override
 Prints mesh information.
void dumpGraphStats () override
 Prints mesh graph information.
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
Public Member Functions inherited from Arcane::IMeshStats
virtual ~IMeshStats ()=default
 Releases resources.

Private Member Functions

template<typename T>
void _dumpStats ()
template<typename T>
void _computeElementsOnGroup (Int64ArrayView nb_type, Int64ArrayView nb_kind, Integer istat)
template<typename T>
void _statLabel (const String &name)
void _computeElementsOnGroup (Int64ArrayView nb_type, Int64ArrayView nb_kind, ItemGroup group, Integer istat)
void _printInfo (const String &name, Int64 nb_local, Int64 nb_local_min, Integer min_rank, Int64 nb_local_max, Integer max_rank, Int64 nb_global, Integer nb_rank)
void _computeNeighboorsComm ()
void _dumpLegacyConnectivityMemoryUsage ()
void _dumpIncrementalConnectivityMemoryUsage ()
void _dumpCommunicatingRanks ()
template<>
void _computeElementsOnGroup (ArrayView< Int64 > nb_type, Int64ArrayView nb_kind, Integer istat)
template<>
void _statLabel (const String &name)

Private Attributes

IMeshm_mesh = nullptr
IParallelMngm_parallel_mng = nullptr

Additional Inherited Members

Static Public Member Functions inherited from Arcane::IMeshStats
static IMeshStatscreate (ITraceMng *trace, IMesh *mesh, IParallelMng *pm)
 Creation of a default instance.
Protected Member Functions inherited from Arcane::TraceAccessor
void _setLocalVerboseLevel (Int32 v)
Int32 _localVerboseLevel () const

Detailed Description

Definition at line 38 of file MeshStats.h.

Constructor & Destructor Documentation

◆ MeshStats()

Arcane::MeshStats::MeshStats ( ITraceMng * msg,
IMesh * mesh,
IParallelMng * pm )

Definition at line 51 of file MeshStats.cc.

Member Function Documentation

◆ _computeElementsOnGroup() [1/2]

template<>
void Arcane::MeshStats::_computeElementsOnGroup ( ArrayView< Int64 > nb_type,
Int64ArrayView nb_kind,
Integer istat )
private

Definition at line 81 of file MeshStats.cc.

◆ _computeElementsOnGroup() [2/2]

void Arcane::MeshStats::_computeElementsOnGroup ( Int64ArrayView nb_type,
Int64ArrayView nb_kind,
ItemGroup group,
Integer istat )
private

Definition at line 321 of file MeshStats.cc.

◆ _computeNeighboorsComm()

void Arcane::MeshStats::_computeNeighboorsComm ( )
private

Definition at line 339 of file MeshStats.cc.

◆ _dumpCommunicatingRanks()

void Arcane::MeshStats::_dumpCommunicatingRanks ( )
private

Definition at line 364 of file MeshStats.cc.

◆ _dumpIncrementalConnectivityMemoryUsage()

void Arcane::MeshStats::_dumpIncrementalConnectivityMemoryUsage ( )
private

Definition at line 268 of file MeshStats.cc.

◆ _dumpLegacyConnectivityMemoryUsage()

void Arcane::MeshStats::_dumpLegacyConnectivityMemoryUsage ( )
private

Definition at line 240 of file MeshStats.cc.

◆ _dumpStats()

template<typename T>
void Arcane::MeshStats::_dumpStats ( )
private

Definition at line 103 of file MeshStats.cc.

◆ _printInfo()

void Arcane::MeshStats::_printInfo ( const String & name,
Int64 nb_local,
Int64 nb_local_min,
Integer min_rank,
Int64 nb_local_max,
Integer max_rank,
Int64 nb_global,
Integer nb_rank )
private

Definition at line 291 of file MeshStats.cc.

◆ _statLabel()

template<>
void Arcane::MeshStats::_statLabel ( const String & name)
private

Definition at line 93 of file MeshStats.cc.

◆ dumpGraphStats()

void Arcane::MeshStats::dumpGraphStats ( )
overridevirtual

Prints mesh graph information.

Implements Arcane::IMeshStats.

Definition at line 72 of file MeshStats.cc.

◆ dumpStats()

void Arcane::MeshStats::dumpStats ( )
overridevirtual

Prints mesh information.

Implements Arcane::IMeshStats.

Definition at line 62 of file MeshStats.cc.

Referenced by Arcane::mesh::DynamicMesh::_internalEndUpdateFinal(), Arcane::CartesianMeshCoarsening2::createCoarseCells(), Arcane::mesh::DynamicMesh::endAllocate(), Arcane::CartesianMeshCoarsening::removeRefinedCells(), and Arcane::mesh::DynamicMesh::updateGhostLayerFromParent().

Here is the caller graph for this function:

Member Data Documentation

◆ m_mesh

IMesh* Arcane::MeshStats::m_mesh = nullptr
private

Definition at line 54 of file MeshStats.h.

◆ m_parallel_mng

IParallelMng* Arcane::MeshStats::m_parallel_mng = nullptr
private

Definition at line 55 of file MeshStats.h.


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