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

Interface for the manager of incremental connectivities indexed on entities. More...

#include <arcane/mesh/IndexedIncrementalItemConnectivityMng.h>

Inheritance diagram for Arcane::mesh::IndexedIncrementalItemConnectivityMng:
Collaboration diagram for Arcane::mesh::IndexedIncrementalItemConnectivityMng:

Public Member Functions

 IndexedIncrementalItemConnectivityMng (ITraceMng *tm)
Ref< IIndexedIncrementalItemConnectivityfindOrCreateConnectivity (IItemFamily *source, IItemFamily *target, const String &name) override
 Searches for or creates a connectivity.
Ref< IIndexedIncrementalItemConnectivityfindConnectivity (const String &name) override
 Searches for or creates a connectivity.
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 Types

using ConnectivityMapType = std::map<String, Ref<IIndexedIncrementalItemConnectivity>>

Private Attributes

ConnectivityMapType m_connectivity_map

Additional Inherited Members

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

Detailed Description

Interface for the manager of incremental connectivities indexed on entities.

Definition at line 34 of file IndexedIncrementalItemConnectivityMng.h.

Member Typedef Documentation

◆ ConnectivityMapType

using Arcane::mesh::IndexedIncrementalItemConnectivityMng::ConnectivityMapType = std::map<String, Ref<IIndexedIncrementalItemConnectivity>>
private

Definition at line 50 of file IndexedIncrementalItemConnectivityMng.h.

Constructor & Destructor Documentation

◆ IndexedIncrementalItemConnectivityMng()

Arcane::mesh::IndexedIncrementalItemConnectivityMng::IndexedIncrementalItemConnectivityMng ( ITraceMng * tm)

Definition at line 57 of file IndexedIncrementalItemConnectivityMng.cc.

Member Function Documentation

◆ findConnectivity()

Ref< IIndexedIncrementalItemConnectivity > Arcane::mesh::IndexedIncrementalItemConnectivityMng::findConnectivity ( const String & name)
overridevirtual

Searches for or creates a connectivity.

Throws an exception if the connectivity with name name is not found. The instance remains the owner of the returned connectivity.

Implements Arcane::IIndexedIncrementalItemConnectivityMng.

Definition at line 102 of file IndexedIncrementalItemConnectivityMng.cc.

References ARCANE_FATAL.

◆ findOrCreateConnectivity()

Ref< IIndexedIncrementalItemConnectivity > Arcane::mesh::IndexedIncrementalItemConnectivityMng::findOrCreateConnectivity ( IItemFamily * source,
IItemFamily * target,
const String & name )
overridevirtual

Searches for or creates a connectivity.

Throws an exception if a connectivity with name name already exists but not with the same pair (source, target). The instance remains the owner of the returned connectivity.

Implements Arcane::IIndexedIncrementalItemConnectivityMng.

Definition at line 66 of file IndexedIncrementalItemConnectivityMng.cc.

References ARCANE_CHECK_POINTER, ARCANE_FATAL, Arcane::makeRef(), Arcane::IItemFamily::name(), Arcane::IIncrementalItemSourceConnectivity::sourceFamily(), and Arcane::IIncrementalItemConnectivity::targetFamily().

Here is the call graph for this function:

Member Data Documentation

◆ m_connectivity_map

ConnectivityMapType Arcane::mesh::IndexedIncrementalItemConnectivityMng::m_connectivity_map
private

Definition at line 52 of file IndexedIncrementalItemConnectivityMng.h.


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