class holding a new connectivity but also filling the legacy one Both custom and legacy connectivities of ItemConnectivitySelector are built. More...
#include <arcane/mesh/NewWithLegacyConnectivity.h>
Public Types | |
| typedef ItemConnectivitySelectorT< LegacyType, CustomType > | Base |
Public Member Functions | |
| NewWithLegacyConnectivity (ItemFamily *source_family, IItemFamily *target_family, const String &name) | |
| String | name () const override |
| Name of the connectivity. | |
| bool | isEmpty () const |
| ConstArrayView< IItemFamily * > | families () const override |
| List of families (sourceFamily() + targetFamily()). | |
| IItemFamily * | sourceFamily () const override |
| Source family. | |
| IItemFamily * | targetFamily () const override |
| Target family. | |
| void | addConnectedItem (ItemLocalId source_item, ItemLocalId target_local_id) override |
| Adds the entity with localId() target_local_id to the connectivity of source_item. | |
| void | removeConnectedItem (ItemLocalId source_item, ItemLocalId target_local_id) override |
| Removes the entity with localId() target_local_id from the connectivity of source_item. | |
| void | removeConnectedItems (ItemLocalId source_item) override |
| Removes all entities connected to source_item. | |
| void | replaceConnectedItem (ItemLocalId source_item, Integer index, ItemLocalId target_local_id) override |
| Replaces the entity at index index of source_item with the entity with localId() target_local_id. | |
| void | replaceConnectedItems (ItemLocalId source_item, Int32ConstArrayView target_local_ids) override |
| Replaces the entities of source_item with the entities with localId() target_local_ids. | |
| bool | hasConnectedItem (ItemLocalId source_item, ItemLocalId target_local_id) const override |
| Tests the existence of a connectivity between source_item and the entity with localId() target_local_id. | |
| void | notifySourceFamilyLocalIdChanged (Int32ConstArrayView new_to_old_ids) override |
| Notifies the connectivity that the source family has been compacted. | |
| void | notifyTargetFamilyLocalIdChanged (Int32ConstArrayView old_to_new_ids) override |
| Notifies the connectivity that the target family has been compacted. | |
| void | notifySourceItemAdded (ItemLocalId item) override |
| Notifies the connectivity that an entity has been added to the source family. | |
| void | notifyReadFromDump () override |
| Notifies the connectivity that a read from a dump has been performed. | |
| Integer | preAllocatedSize () const override |
| Number of pre-allocated entities for the connectivity of each entity. | |
| void | setPreAllocatedSize (Integer value) override |
| Sets the number of entities to pre-allocate for the connectivity of each entity. | |
| void | dumpStats (std::ostream &out) const override |
| Dumps statistics on usage and memory used to the stream out. | |
| Integer | nbConnectedItem (ItemLocalId lid) const override |
| Number of entities connected to the source entity with local number lid. | |
| Int32 | connectedItemLocalId (ItemLocalId lid, Integer index) const override |
| localId() of the index-th entity connected to the source entity with local number lid | |
| Int32 | maxNbConnectedItem () const override |
| Maximum number of entities connected to a source entity. | |
| Ref< IIncrementalItemSourceConnectivity > | toSourceReference () override |
| Returns a reference to the instance. | |
| Ref< IIncrementalItemTargetConnectivity > | toTargetReference () override |
| Returns a reference to the instance. | |
| IIncrementalItemConnectivityInternal * | _internalApi () override |
| Internal Arcane API. | |
| Public Member Functions inherited from Arcane::mesh::ItemConnectivitySelectorT< LegacyType, IncrementalItemConnectivity > | |
| ItemConnectivitySelectorT (ItemFamily *source_family, IItemFamily *target_family, const String &connectivity_name) | |
| IIncrementalItemConnectivity * | customConnectivity () const override |
| void | checkValidConnectivityList () const override |
| void | compactConnectivities () override |
| void | addConnectedItem (ItemLocalId item_lid, ItemLocalId sub_item_lid) |
| void | removeConnectedItem (ItemLocalId item_lid, ItemLocalId sub_item_lid) |
| void | removeConnectedItems (ItemLocalId item_lid) |
| void | replaceItems (ItemLocalId item_lid, Int32ConstArrayView sub_item_lids) |
| void | replaceItem (ItemLocalId item_lid, Integer index, ItemLocalId sub_item_lid) |
| bool | hasConnectedItem (ItemLocalId source_item, ItemLocalId target_local_id) const |
| IncrementalItemConnectivity * | trueCustomConnectivity () const |
| void | build () |
| Public Member Functions inherited from Arcane::mesh::ItemConnectivitySelector | |
| ItemConnectivitySelector (ItemFamily *source_family, IItemFamily *target_family, const String &connectivity_name, Integer connectivity_index) | |
| virtual IIncrementalItemConnectivity * | legacyConnectivity () const |
| virtual void | updateItemConnectivityList (Int32ConstArrayView) const |
| void | setPreAllocatedSize (Integer size) |
| Integer | preAllocatedSize () const |
| Int32 | itemConnectivityIndex () const |
| 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 | setConnectedItems (ItemLocalId source_item, Int32ConstArrayView target_local_ids) |
| Allocates and positions entities connected to source_item. | |
| Public Member Functions inherited from Arcane::IIncrementalItemSourceConnectivity | |
| virtual void | reserveMemoryForNbSourceItems (Int32 n, bool pre_alloc_connectivity) |
| Reserves memory for n source entities. | |
Protected Member Functions | |
| void | _initializeStorage (ConnectivityItemVector *civ) override |
| Implements the initialization of civ for this connectivity. | |
| ItemVectorView | _connectedItems (ItemLocalId item, ConnectivityItemVector &con_items) const override |
| Fills con_items with the entities connected to item. | |
| Protected Member Functions inherited from Arcane::mesh::ItemConnectivitySelectorT< LegacyType, IncrementalItemConnectivity > | |
| void | _createCustomConnectivity (const String &name) override |
| void | _buildCustomConnectivity () override |
| Protected Member Functions inherited from Arcane::TraceAccessor | |
| void | _setLocalVerboseLevel (Int32 v) |
| Int32 | _localVerboseLevel () const |
Private Member Functions | |
| ARCCORE_DEFINE_REFERENCE_COUNTED_INCLASS_METHODS () | |
Friends | |
| class | ConnectivityItemVector |
Additional Inherited Members | |
| Protected Attributes inherited from Arcane::mesh::ItemConnectivitySelector | |
| ItemFamily * | m_source_family |
| IItemFamily * | m_target_family |
| String | m_connectivity_name |
| Integer | m_pre_allocated_size |
| Int32 | m_item_connectivity_index |
| ItemInternalConnectivityList * | m_item_connectivity_list |
| bool | m_is_built |
class holding a new connectivity but also filling the legacy one Both custom and legacy connectivities of ItemConnectivitySelector are built.
Definition at line 47 of file NewWithLegacyConnectivity.h.
| typedef ItemConnectivitySelectorT<LegacyType, CustomType> Arcane::mesh::NewWithLegacyConnectivity< SourceFamily, TargetFamily, LegacyType, CustomType >::Base |
Definition at line 67 of file NewWithLegacyConnectivity.h.
|
inline |
Definition at line 60 of file NewWithLegacyConnectivity.h.
|
inlineoverrideprotectedvirtual |
Fills con_items with the entities connected to item.
Implements Arcane::IItemConnectivityAccessor.
Definition at line 156 of file NewWithLegacyConnectivity.h.
|
inlineoverrideprotectedvirtual |
Implements the initialization of civ for this connectivity.
Implements Arcane::IItemConnectivityAccessor.
Definition at line 153 of file NewWithLegacyConnectivity.h.
|
inlineoverridevirtual |
Implements Arcane::IIncrementalItemConnectivity.
Definition at line 145 of file NewWithLegacyConnectivity.h.
|
inlineoverridevirtual |
Adds the entity with localId() target_local_id to the connectivity of source_item.
Implements Arcane::IIncrementalItemConnectivity.
Definition at line 86 of file NewWithLegacyConnectivity.h.
|
inlineoverridevirtual |
localId() of the index-th entity connected to the source entity with local number lid
Implements Arcane::IItemConnectivityAccessor.
Definition at line 132 of file NewWithLegacyConnectivity.h.
|
inlineoverridevirtual |
Dumps statistics on usage and memory used to the stream out.
Implements Arcane::IIncrementalItemConnectivity.
Definition at line 126 of file NewWithLegacyConnectivity.h.
|
inlineoverridevirtual |
List of families (sourceFamily() + targetFamily()).
Implements Arcane::IIncrementalItemConnectivity.
Definition at line 77 of file NewWithLegacyConnectivity.h.
|
inlineoverridevirtual |
Tests the existence of a connectivity between source_item and the entity with localId() target_local_id.
Implements Arcane::IIncrementalItemConnectivity.
Definition at line 103 of file NewWithLegacyConnectivity.h.
|
inline |
Definition at line 71 of file NewWithLegacyConnectivity.h.
|
inlineoverridevirtual |
Maximum number of entities connected to a source entity.
Implements Arcane::IIncrementalItemConnectivity.
Definition at line 135 of file NewWithLegacyConnectivity.h.
|
inlineoverridevirtual |
Name of the connectivity.
Implements Arcane::IIncrementalItemConnectivity.
Definition at line 69 of file NewWithLegacyConnectivity.h.
|
inlineoverridevirtual |
Number of entities connected to the source entity with local number lid.
Implements Arcane::IItemConnectivityAccessor.
Definition at line 129 of file NewWithLegacyConnectivity.h.
|
inlineoverridevirtual |
Notifies the connectivity that a read from a dump has been performed.
Implements Arcane::IIncrementalItemSourceConnectivity.
Definition at line 117 of file NewWithLegacyConnectivity.h.
|
inlineoverridevirtual |
Notifies the connectivity that the source family has been compacted.
Implements Arcane::IIncrementalItemSourceConnectivity.
Definition at line 107 of file NewWithLegacyConnectivity.h.
|
inlineoverridevirtual |
Notifies the connectivity that an entity has been added to the source family.
Implements Arcane::IIncrementalItemSourceConnectivity.
Definition at line 114 of file NewWithLegacyConnectivity.h.
|
inlineoverridevirtual |
Notifies the connectivity that the target family has been compacted.
Implements Arcane::IIncrementalItemTargetConnectivity.
Definition at line 111 of file NewWithLegacyConnectivity.h.
|
inlineoverridevirtual |
Number of pre-allocated entities for the connectivity of each entity.
Implements Arcane::IIncrementalItemConnectivity.
Definition at line 120 of file NewWithLegacyConnectivity.h.
|
inlineoverridevirtual |
Removes the entity with localId() target_local_id from the connectivity of source_item.
Implements Arcane::IIncrementalItemConnectivity.
Definition at line 89 of file NewWithLegacyConnectivity.h.
|
inlineoverridevirtual |
Removes all entities connected to source_item.
Implements Arcane::IIncrementalItemConnectivity.
Definition at line 92 of file NewWithLegacyConnectivity.h.
|
inlineoverridevirtual |
Replaces the entity at index index of source_item with the entity with localId() target_local_id.
Implements Arcane::IIncrementalItemConnectivity.
Definition at line 96 of file NewWithLegacyConnectivity.h.
|
inlineoverridevirtual |
Replaces the entities of source_item with the entities with localId() target_local_ids.
Implements Arcane::IIncrementalItemConnectivity.
Definition at line 100 of file NewWithLegacyConnectivity.h.
|
inlineoverridevirtual |
Sets the number of entities to pre-allocate for the connectivity of each entity.
Implements Arcane::IIncrementalItemConnectivity.
Definition at line 123 of file NewWithLegacyConnectivity.h.
|
inlineoverridevirtual |
Source family.
Implements Arcane::IIncrementalItemSourceConnectivity.
Definition at line 80 of file NewWithLegacyConnectivity.h.
|
inlineoverridevirtual |
Target family.
Implements Arcane::IIncrementalItemConnectivity.
Definition at line 83 of file NewWithLegacyConnectivity.h.
|
inlineoverridevirtual |
Returns a reference to the instance.
Implements Arcane::IIncrementalItemSourceConnectivity.
Definition at line 137 of file NewWithLegacyConnectivity.h.
|
inlineoverridevirtual |
Returns a reference to the instance.
Implements Arcane::IIncrementalItemTargetConnectivity.
Definition at line 141 of file NewWithLegacyConnectivity.h.
|
friend |
Definition at line 56 of file NewWithLegacyConnectivity.h.