Abstract class for managing connectivities. More...
#include <arcane/mesh/IncrementalItemConnectivity.h>
Public Member Functions | |
| AbstractIncrementalItemConnectivity (IItemFamily *source_family, IItemFamily *target_family, const String &connectivity_name) | |
| String | name () const final |
| Name of the connectivity. | |
| ConstArrayView< IItemFamily * > | families () const override |
| List of families (sourceFamily() + targetFamily()). | |
| IItemFamily * | sourceFamily () const override |
| Source family. | |
| IItemFamily * | targetFamily () const override |
| Target family. | |
| Ref< IIncrementalItemSourceConnectivity > | toSourceReference () override |
| Returns a reference to the instance. | |
| Ref< IIncrementalItemTargetConnectivity > | toTargetReference () override |
| Returns a reference to the instance. | |
| 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::ReferenceCounterImpl | |
| void | addReference () |
| void | removeReference () |
| void | _internalAddReference () |
| bool | _internalRemoveReference () |
| Public Member Functions inherited from Arcane::IIncrementalItemConnectivity | |
| virtual void | addConnectedItem (ItemLocalId source_item, ItemLocalId target_local_id)=0 |
| Adds the entity with localId() target_local_id to the connectivity of source_item. | |
| virtual void | setConnectedItems (ItemLocalId source_item, Int32ConstArrayView target_local_ids) |
| Allocates and positions entities connected to source_item. | |
| virtual void | removeConnectedItem (ItemLocalId source_item, ItemLocalId target_local_id)=0 |
| Removes the entity with localId() target_local_id from the connectivity of source_item. | |
| virtual void | removeConnectedItems (ItemLocalId source_item)=0 |
| Removes all entities connected to source_item. | |
| virtual void | replaceConnectedItem (ItemLocalId source_item, Integer index, ItemLocalId target_local_id)=0 |
| Replaces the entity at index index of source_item with the entity with localId() target_local_id. | |
| virtual void | replaceConnectedItems (ItemLocalId source_item, Int32ConstArrayView target_local_ids)=0 |
| Replaces the entities of source_item with the entities with localId() target_local_ids. | |
| virtual bool | hasConnectedItem (ItemLocalId source_item, ItemLocalId target_local_id) const =0 |
| Tests the existence of a connectivity between source_item and the entity with localId() target_local_id. | |
| virtual Int32 | maxNbConnectedItem () const =0 |
| Maximum number of entities connected to a source entity. | |
| virtual Integer | preAllocatedSize () const =0 |
| Number of entities pre-allocated for the connectivity of each entity. | |
| virtual void | setPreAllocatedSize (Integer value)=0 |
| Sets the number of entities to pre-allocate for the connectivity of each entity. | |
| virtual void | dumpStats (std::ostream &out) const =0 |
| Dumps statistics on usage and memory used to the stream out. | |
| virtual IIncrementalItemConnectivityInternal * | _internalApi ()=0 |
| Internal Arcane API. | |
| Public Member Functions inherited from Arcane::IItemConnectivityAccessor | |
| virtual Integer | nbConnectedItem (ItemLocalId lid) const =0 |
| Number of entities connected to the source entity with local ID lid. | |
| virtual Int32 | connectedItemLocalId (ItemLocalId lid, Integer index) const =0 |
| localId() of the index-th entity connected to the source entity with local ID lid | |
| Public Member Functions inherited from Arcane::IIncrementalItemSourceConnectivity | |
| virtual void | notifySourceFamilyLocalIdChanged (Int32ConstArrayView new_to_old_ids)=0 |
| Notifies the connectivity that the source family has been compacted. | |
| virtual void | notifySourceItemAdded (ItemLocalId item)=0 |
| Notifies the connectivity that an entity has been added to the source family. | |
| virtual void | reserveMemoryForNbSourceItems (Int32 n, bool pre_alloc_connectivity) |
| Reserves memory for n source entities. | |
| virtual void | notifyReadFromDump ()=0 |
| Notifies the connectivity that a read has been performed from a dump. | |
| Public Member Functions inherited from Arcane::IIncrementalItemTargetConnectivity | |
| virtual void | notifyTargetFamilyLocalIdChanged (Int32ConstArrayView old_to_new_ids)=0 |
| Notifies the connectivity that the target family has been compacted. | |
Protected Member Functions | |
| ConstArrayView< IItemFamily * > | _families () const |
| IItemFamily * | _sourceFamily () const |
| IItemFamily * | _targetFamily () const |
| Protected Member Functions inherited from Arcane::TraceAccessor | |
| void | _setLocalVerboseLevel (Int32 v) |
| Int32 | _localVerboseLevel () const |
| Protected Member Functions inherited from Arcane::IItemConnectivityAccessor | |
| virtual void | _initializeStorage (ConnectivityItemVector *civ)=0 |
| Implements the initialization of civ for this connectivity. | |
| virtual ItemVectorView | _connectedItems (ItemLocalId item, ConnectivityItemVector &con_items) const =0 |
| Fills con_items with the entities connected to item. | |
Private Member Functions | |
| ARCCORE_DEFINE_REFERENCE_COUNTED_INCLASS_METHODS () | |
Private Attributes | |
| IItemFamily * | m_source_family |
| IItemFamily * | m_target_family |
| SharedArray< IItemFamily * > | m_families |
| String | m_name |
Abstract class for managing connectivities.
This class manages common information for all types of connectivity such as its name, source and target families, ...
Definition at line 53 of file IncrementalItemConnectivity.h.
| Arcane::mesh::AbstractIncrementalItemConnectivity::AbstractIncrementalItemConnectivity | ( | IItemFamily * | source_family, |
| IItemFamily * | target_family, | ||
| const String & | connectivity_name ) |
Definition at line 63 of file IncrementalItemConnectivity.cc.
|
inlineprotected |
Definition at line 81 of file IncrementalItemConnectivity.h.
|
inlineprotected |
Definition at line 82 of file IncrementalItemConnectivity.h.
|
inlineprotected |
Definition at line 83 of file IncrementalItemConnectivity.h.
|
inlineoverridevirtual |
List of families (sourceFamily() + targetFamily()).
Implements Arcane::IIncrementalItemConnectivity.
Definition at line 72 of file IncrementalItemConnectivity.h.
|
inlinefinalvirtual |
Name of the connectivity.
Implements Arcane::IIncrementalItemConnectivity.
Definition at line 68 of file IncrementalItemConnectivity.h.
Referenced by Arcane::mesh::IncrementalItemConnectivity::compactConnectivityList(), Arcane::mesh::IncrementalItemConnectivity::dumpStats(), Arcane::mesh::OneItemIncrementalItemConnectivity::dumpStats(), Arcane::mesh::IncrementalItemConnectivity::notifyReadFromDump(), Arcane::mesh::IncrementalItemConnectivityBase::setItemConnectivityList(), and Arcane::mesh::IncrementalItemConnectivity::setPreAllocatedSize().
|
inlineoverridevirtual |
Source family.
Implements Arcane::IIncrementalItemSourceConnectivity.
Definition at line 73 of file IncrementalItemConnectivity.h.
|
inlineoverridevirtual |
Target family.
Implements Arcane::IIncrementalItemConnectivity.
Definition at line 74 of file IncrementalItemConnectivity.h.
|
overridevirtual |
Returns a reference to the instance.
Implements Arcane::IIncrementalItemSourceConnectivity.
Definition at line 83 of file IncrementalItemConnectivity.cc.
References Arccore::makeRef().
|
overridevirtual |
Returns a reference to the instance.
Implements Arcane::IIncrementalItemTargetConnectivity.
Definition at line 92 of file IncrementalItemConnectivity.cc.
References Arccore::makeRef().
|
private |
Definition at line 89 of file IncrementalItemConnectivity.h.
|
private |
Definition at line 90 of file IncrementalItemConnectivity.h.
|
private |
Definition at line 87 of file IncrementalItemConnectivity.h.
|
private |
Definition at line 88 of file IncrementalItemConnectivity.h.