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

Public Member Functions

String name () const override
 Family name.
String fullName () const override
 Full family name (with the mesh's name).
Integer nbItem () const override
 Number of entities.
ItemGroup allItems () const override
 Group of all entities.
void endUpdate () override
 Notifies the end of modification of the entity list.
IItemFamilyitemFamily () override
Item allocOne (Int64 uid, ItemTypeId, MeshInfos &) override
 Allocates an element in the family and updates the corresponding mesh_info.
ItemInternalallocOne (Int64 uid)
Item findOrAllocOne (Int64 uid, ItemTypeId, MeshInfos &, bool &is_alloc) override
ItemInternalfindOrAllocOne (Int64 uid, bool &is_alloc)
IItemFamilyfamily () override
IDoFFamilytoDoFFamily () override
 Returns the interface of the particle family for this family.
DoFVectorView addDoFs (Int64ConstArrayView dof_uids, Int32ArrayView dof_lids) override
 Takes the uids of the dofs and retrieves their lids.
DoFVectorView addGhostDoFs (Int64ConstArrayView dof_uids, Int32ArrayView dof_lids, Int32ConstArrayView owners) override
 Adding ghosts must be followed by a call to computeSynchronizeInfos.
void computeSynchronizeInfos () override
 Collective operation.
DoFGroup allDoFs ()
DoFGroup ownDoFs ()
DoFGroup ghostDoFs ()
void removeDoFs (Int32ConstArrayView items_local_id) override
Public Member Functions inherited from Arcane::mesh::ItemFamily
 ItemFamily (IMesh *mesh, eItemKind ik, const String &name)
void build () override
String name () const override
 Family name.
String fullName () const override
 Full family name (with the mesh's name).
eItemKind itemKind () const override
 Entity kind.
Integer nbItem () const override
 Number of entities.
Int32 maxLocalId () const override
ItemInternalList itemsInternal () override
 Internal array of entities.
ItemInfoListView itemInfoListView () override
 View on the entity information list.
VariableItemInt32itemsNewOwner () override
 Variable containing the number of the new subdomain owning the entity.
IItemFamilyparentFamily () const override
 IItemFamily parent.
void setParentFamily (IItemFamily *parent) override
 Positions the parent IItemFamily.
Integer parentFamilyDepth () const override
 Gives the nesting depth of the current mesh.
void addChildFamily (IItemFamily *family) override
 Adds a family as a dependency.
IItemFamilyCollection childFamilies () override
 Child families of this family.
void checkValid () override
 Check the validity of internal structures (internal).
void checkValidConnectivity () override
 Verification of the validity of internal structures concerning connectivity.
void checkUniqueIds (Int64ConstArrayView unique_ids) override
 Checks that the unique_ids are truly unique for all subdomains.
ItemInternalMap & itemsMap ()
void endUpdate () override
 Notifies the end of modification of the entity list.
void partialEndUpdate () override
 Partial update.
void partialEndUpdateGroup (const ItemGroup &group) override
 Updates a group.
void partialEndUpdateVariable (IVariable *variable) override
 Updates a variable.
void itemsUniqueIdToLocalId (ArrayView< Int64 > ids, bool do_fatal=true) const
void itemsUniqueIdToLocalId (Int32ArrayView local_ids, Int64ConstArrayView unique_ids, bool do_fatal) const override
 Converts an array of unique numbers to local numbers.
void itemsUniqueIdToLocalId (Int32ArrayView local_ids, ConstArrayView< ItemUniqueId > unique_ids, bool do_fatal) const override
 Converts an array of unique numbers to local numbers.
ISubDomainsubDomain () const override
 Associated sub-domain.
ITraceMngtraceMng () const override
 Associated trace manager.
IMeshmesh () const override
 Associated mesh.
IParallelMngparallelMng () const override
 Associated parallelism manager.
IItemConnectivityInfolocalConnectivityInfos () const override
 Information on local connectivity within the subdomain for this family.
IItemConnectivityInfoglobalConnectivityInfos () const override
 Information on global connectivity across all subdomains.
void internalRemoveItems (Int32ConstArrayView local_ids, bool keep_ghost=false) override
 Removes the entities given by local_ids.
void removeItems2 (ItemDataList &item_data_list) override
 Removes entities.
void removeNeedRemoveMarkedItems () override
 Removes entities and updates connectivities.
ItemVectorView view (Int32ConstArrayView local_ids) override
 View on the entities.
ItemVectorView view () override
 View on all entities in the family.
ItemInternalfindOneItem (Int64 uid) override
 Unique ID entity unique_id.
ItemGroup allItems () const override
 Group of all entities.
void notifyItemsOwnerChanged () override
 Notifies that the entities specific to the family's subdomain have been modified.
ItemGroup findGroup (const String &name) const override
 Searches for a group.
ItemGroup findGroup (const String &name, bool create_if_needed) override
 Searches for a group.
ItemGroup createGroup (const String &name, Int32ConstArrayView elements, bool do_override=false) override
 Creates an entity group named name containing the entities local_ids.
ItemGroup createGroup (const String &name) override
 Creates an entity group named name.
ItemGroup createGroup (const String &name, const ItemGroup &parent, bool do_override=false) override
ItemGroupCollection groups () const override
 Collection of groups in this family.
void notifyItemsUniqueIdChanged () override
 Notifies that the unique IDs of the entities have been modified.
void destroyGroups () override
 Deletes all groups in this family.
IVariablefindVariable (const String &name, bool throw_exception) override
 Searches for the variable name name associated with this family.
void usedVariables (VariableCollection collection) override
 Adds the list of variables used by this family to the collection.
void prepareForDump () override
 Prepares data for dumping.
void readFromDump () override
 Reads data from a dump.
void copyItemsValues (Int32ConstArrayView source, Int32ConstArrayView destination) override
void copyItemsMeanValues (Int32ConstArrayView first_source, Int32ConstArrayView second_source, Int32ConstArrayView destination) override
void compactItems (bool do_sort) override
 Compresses the entities.
void clearItems () override
 Deletes all entities in the family.
Int64ArrayViewuniqueIds ()
ItemSharedInfocommonItemSharedInfo ()
const DynamicMeshKindInfosinfos () const
void setHasUniqueIdMap (bool v) override
 Indicates whether the family has a conversion table from uniqueId to localId.
bool hasUniqueIdMap () const override
 Indicates if the family has a uniqueId to localId conversion table.
void computeSynchronizeInfos () override
 Constructs the structures necessary for synchronization.
void getCommunicatingSubDomains (Int32Array &sub_domains) const override
 List of communicating sub-domains for the entities.
void synchronize (VariableCollection variables) override
 Synchronizes the variables variables.
void synchronize (VariableCollection variables, Int32ConstArrayView local_ids) override
 Synchronizes the variables variables on a list of entities.
IVariableSynchronizerallItemsSynchronizer () override
 Synchronizer on all entities of the family.
void reduceFromGhostItems (IVariable *v, IDataOperation *operation) override
 Applies a reduction operation from ghost items.
void reduceFromGhostItems (IVariable *v, Parallel::eReduceType operation) override
 Applies a reduction operation from ghost items.
ItemPairGroup findAdjencyItems (const ItemGroup &group, const ItemGroup &sub_group, eItemKind link_kind, Integer layer) override
 Searches for an adjacency list.
ItemPairGroup findAdjacencyItems (const ItemGroup &group, const ItemGroup &sub_group, eItemKind link_kind, Integer layer) override
 Searches for an adjacency list.
IParticleFamilytoParticleFamily () override
 Returns the interface of the particle family for this family.
void setItemSortFunction (IItemInternalSortFunction *sort_function) override
 Positions the entity sorting function.
IItemInternalSortFunctionitemSortFunction () const override
 Entity sorting function.
void addSourceConnectivity (IItemConnectivity *connectivity) override
void addTargetConnectivity (IItemConnectivity *connectivity) override
void removeSourceConnectivity (IItemConnectivity *connectivity) override
void removeTargetConnectivity (IItemConnectivity *connectivity) override
void setConnectivityMng (IItemConnectivityMng *connectivity_mng) override
void addGhostItems (Int64ConstArrayView unique_ids, Int32ArrayView items, Int32ConstArrayView owners) override
 Allocates ghost entities.
EventObservableView< const ItemFamilyItemListChangedEventArgs & > itemListChangedEvent () override
 Event for entity addition and deletion.
void experimentalChangeUniqueId (ItemLocalId local_id, ItemUniqueId unique_id) override
 Changes the unique number of the entity.
IItemFamilyPolicyMngpolicyMng () override
 Interface of behaviors/policies associated with this family.
Propertiesproperties () override
 Properties associated with this family.
IItemFamilyInternal_internalApi () override
 Internal Arcane API.
virtual void setPolicyMng (IItemFamilyPolicyMng *policy_mng)
void beginCompactItems (ItemFamilyCompactInfos &compact_infos)
void compactVariablesAndGroups (const ItemFamilyCompactInfos &compact_infos)
 Compresses the variables and groups.
void finishCompactItems (ItemFamilyCompactInfos &compact_infos)
void removeItem (Item item)
ItemInternalConnectivityListitemInternalConnectivityList ()
 Accessor for connectivities via Item and ItemInternal.
IItemFamilyTopologyModifier_topologyModifier () override
 Topology modifier interface.
void resizeVariables (bool force_resize) override
 Resizes the variables of this family.
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::IItemFamily
Public Member Functions inherited from Arcane::IItemFamilyModifier
virtual ~IItemFamilyModifier ()
ItemInternalallocOne (Int64 uid, ItemTypeInfo *type, mesh::MeshInfos &mesh_info)
ItemInternalfindOrAllocOne (Int64 uid, ItemTypeInfo *type, mesh::MeshInfos &mesh_info, bool &is_alloc)

Private Member Functions

 DoFFamily (IMesh *mesh, const String &name)
 The family cannot be created directly; the DoFManager must be used.
void build () override
void _addItems (Int64ConstArrayView unique_ids, Int32ArrayView items)
 Construction of the Item Family. The DoFManager is responsible for this.
void addGhostItems (Int64ConstArrayView unique_ids, Int32ArrayView items, Int32ConstArrayView owners) override
 Allocates ghost entities.
void _removeItems (Int32ConstArrayView local_ids, bool keep_ghost=false)
void internalRemoveItems (Int32ConstArrayView local_ids, bool keep_ghost=false) override
 Removes the entities given by local_ids.
void _printInfos (Integer nb_added)
void preAllocate (Integer nb_item)
ItemInternal_allocDoF (const Int64 uid)
ItemInternal_allocDoFGhost (const Int64 uid, const Int32 owner)
ItemInternal_findOrAllocDoF (const Int64 uid, bool &is_alloc)

Private Attributes

ItemSharedInfoWithTypem_shared_info

Friends

class DynamicMesh

Additional Inherited Members

Public Types inherited from Arcane::mesh::ItemFamily
using ItemInternalMap = ::Arcane::mesh::ItemInternalMap
Protected Types inherited from Arcane::mesh::ItemFamily
typedef std::set< IItemConnectivity * > ItemConnectivitySet
Protected Member Functions inherited from Arcane::mesh::ItemFamily
void _removeOne (Item item)
void _detachOne (Item item)
ItemInternalList _itemsInternal ()
ItemInternal_itemInternal (Int32 local_id)
ItemInternal_allocOne (Int64 unique_id)
ItemInternal_allocOne (Int64 unique_id, bool &need_alloc)
ItemInternal_findOrAllocOne (Int64 uid, bool &is_alloc)
void _setHasUniqueIdMap (bool v)
void _removeMany (Int32ConstArrayView local_ids)
void _removeDetachedOne (Item item)
const DynamicMeshKindInfos_infos () const
void _detachCells2 (Int32ConstArrayView local_ids)
virtual void _endAllocate ()
virtual void _notifyEndUpdateFromMesh ()
void _checkNeedEndUpdate () const
void _updateSharedInfo ()
void _allocateInfos (ItemInternal *item, Int64 uid, ItemSharedInfoWithType *isi)
void _allocateInfos (ItemInternal *item, Int64 uid, ItemTypeInfo *type)
void _endUpdate (bool need_check_remove)
bool _partialEndUpdate ()
void _updateGroup (ItemGroup group, bool need_check_remove)
void _updateVariable (IVariable *var)
void _addConnectivitySelector (ItemConnectivitySelector *selector)
void _buildConnectivitySelectors ()
void _preAllocate (Int32 nb_item, bool pre_alloc_connectivity)
ItemInternalConnectivityList_unstructuredItemInternalConnectivityList ()
ItemTypeMng_itemTypeMng () const
virtual IItemInternalSortFunction_defaultItemSortFunction ()
void _reserveInfosMemory (Integer memory)
void _resizeInfos (Integer memory)
ItemSharedInfoWithType_findSharedInfo (ItemTypeInfo *type)
Integer _allocMany (Integer memory)
void _setSharedInfosPtr (Integer *ptr)
void _checkValid ()
void _checkValidConnectivity ()
void _notifyDataIndexChanged ()
void _processNewGroup (ItemGroup group)
String _variableName (const String &base_name) const
template<class Type>
void _synchronizeVariable (IVariable *var, Type *var_value, Integer nb_elem)
void _updateGroups (bool check_need_remove)
void _compactFromParentFamily (const ItemFamilyCompactInfos &compact_infos)
 Compresses the connectivities.
void _checkComputeSynchronizeInfos (Int32 changed)
 Test collectif permettant de savoir s'il faut mettre à jour les infos de synchro.
void _readGroups ()
 Relit les groupes depuis une protection et les recréer si besoin.
void _invalidateComputedGroups ()
void _compactItems (bool do_sort)
 Compresses the entities.
void _compactOnlyItems (bool do_sort)
 Compresses the entities without updating references.
void _applyCheckNeedUpdateOnGroups ()
void _setTopologyModifier (IItemFamilyTopologyModifier *tm)
void _checkValidItem (ItemInternal *item)
void _checkValidSourceTargetItems (ItemInternal *source, ItemInternal *target)
void _checkValidItem (Item item)
void _checkValidSourceTargetItems (Item source, Item target)
Protected Member Functions inherited from Arcane::TraceAccessor
void _setLocalVerboseLevel (Int32 v)
Int32 _localVerboseLevel () const
Protected Attributes inherited from Arcane::mesh::ItemFamily
String m_name
String m_full_name
IMeshm_mesh = nullptr
InternalApim_internal_api = nullptr
ISubDomainm_sub_domain = nullptr
IItemFamilym_parent_family = nullptr
Integer m_parent_family_depth = 0
ItemGroupList m_item_groups
bool m_need_prepare_dump = true
MeshItemInternalListm_item_internal_list = nullptr
ItemSharedInfoListm_item_shared_infos = nullptr
ObserverPool m_observers
Ref< IVariableSynchronizerm_variable_synchronizer
Integer m_current_variable_item_size = 0
IItemInternalSortFunctionm_item_sort_function = nullptr
std::set< IVariable *, decltype(&_cmpIVariablePtr)> m_used_variables
std::set< IVariable *, decltype(&_cmpIVariablePtr)> m_used_shmem_variables
UniqueArray< ItemFamily * > m_child_families
ItemConnectivityInfom_local_connectivity_info = nullptr
ItemConnectivityInfom_global_connectivity_info = nullptr
Propertiesm_properties = nullptr
ItemConnectivitySet m_source_item_connectivities
ItemConnectivitySet m_target_item_connectivities
 connectivite ou ItemFamily == SourceFamily
IItemConnectivityMngm_connectivity_mng = nullptr
 connectivite ou ItemFamily == TargetFamily
IItemFamilyPolicyMngm_policy_mng = nullptr
Int32 m_sub_domain_id = A_NULL_RANK

Detailed Description

Definition at line 63 of file DoFFamily.h.

Constructor & Destructor Documentation

◆ DoFFamily()

Arcane::mesh::DoFFamily::DoFFamily ( IMesh * mesh,
const String & name )
private

The family cannot be created directly; the DoFManager must be used.

Constructor for the class

Definition at line 50 of file DoFFamily.cc.

References Arcane::IK_DoF, Arcane::mesh::ItemFamily::mesh(), and name().

Here is the call graph for this function:

Member Function Documentation

◆ _addItems()

void Arcane::mesh::DoFFamily::_addItems ( Int64ConstArrayView unique_ids,
Int32ArrayView items )
private

Construction of the Item Family. The DoFManager is responsible for this.

Definition at line 96 of file DoFFamily.cc.

References Arcane::ItemBase::localId(), and Arcane::ConstArrayView< T >::size().

Referenced by addDoFs().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _allocDoF()

ItemInternal * Arcane::mesh::DoFFamily::_allocDoF ( const Int64 uid)
private

Definition at line 194 of file DoFFamily.cc.

◆ _allocDoFGhost()

ItemInternal * Arcane::mesh::DoFFamily::_allocDoFGhost ( const Int64 uid,
const Int32 owner )
private

Definition at line 213 of file DoFFamily.cc.

◆ _findOrAllocDoF()

ItemInternal * Arcane::mesh::DoFFamily::_findOrAllocDoF ( const Int64 uid,
bool & is_alloc )
private

Definition at line 230 of file DoFFamily.cc.

◆ _printInfos()

void Arcane::mesh::DoFFamily::_printInfos ( Integer nb_added)
private

Definition at line 166 of file DoFFamily.cc.

◆ _removeItems()

void Arcane::mesh::DoFFamily::_removeItems ( Int32ConstArrayView local_ids,
bool keep_ghost = false )
inlineprivate

Definition at line 133 of file DoFFamily.h.

◆ addDoFs()

DoFVectorView Arcane::mesh::DoFFamily::addDoFs ( Int64ConstArrayView dof_uids,
Int32ArrayView dof_lids )
overridevirtual

Takes the uids of the dofs and retrieves their lids.

Implements Arcane::IDoFFamily.

Definition at line 73 of file DoFFamily.cc.

References _addItems(), Arcane::ArrayView< T >::size(), Arcane::ConstArrayView< T >::size(), and Arcane::mesh::ItemFamily::view().

Here is the call graph for this function:

◆ addGhostDoFs()

DoFVectorView Arcane::mesh::DoFFamily::addGhostDoFs ( Int64ConstArrayView dof_uids,
Int32ArrayView dof_lids,
Int32ConstArrayView owners )
overridevirtual

Adding ghosts must be followed by a call to computeSynchronizeInfos.

Implements Arcane::IDoFFamily.

Definition at line 85 of file DoFFamily.cc.

References addGhostItems(), Arcane::ArrayView< T >::size(), Arcane::ConstArrayView< T >::size(), and Arcane::mesh::ItemFamily::view().

Here is the call graph for this function:

◆ addGhostItems()

void Arcane::mesh::DoFFamily::addGhostItems ( Int64ConstArrayView unique_ids,
Int32ArrayView items,
Int32ConstArrayView owners )
overrideprivatevirtual

Allocates ghost entities.

After calling this operation, you must call endUpdate() to notify the instance that the modifications are finished. It is possible to chain several allocations before calling endUpdate().

The unique_ids are those of items present on another sub-domain, whose number is in the owners array (of the same size as the unique_ids array). items must have the same number of elements as unique_ids and will be filled back with the local numbers of the created entities.

Implements Arcane::IItemFamily.

Definition at line 115 of file DoFFamily.cc.

References Arcane::ItemBase::localId(), and Arcane::ConstArrayView< T >::size().

Referenced by addGhostDoFs().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ allDoFs()

DoFGroup Arcane::mesh::DoFFamily::allDoFs ( )
inline

Definition at line 122 of file DoFFamily.h.

◆ allItems()

ItemGroup Arcane::mesh::DoFFamily::allItems ( ) const
inlineoverridevirtual

Group of all entities.

Implements Arcane::IItemFamily.

Definition at line 80 of file DoFFamily.h.

References Arcane::mesh::ItemFamily::allItems().

Here is the call graph for this function:

◆ allocOne() [1/2]

ItemInternal * Arcane::mesh::DoFFamily::allocOne ( Int64 uid)
inline

Definition at line 91 of file DoFFamily.h.

◆ allocOne() [2/2]

Item Arcane::mesh::DoFFamily::allocOne ( Int64 uid,
ItemTypeId type_id,
MeshInfos & mesh_info )
inlineoverridevirtual

Allocates an element in the family and updates the corresponding mesh_info.

Implements Arcane::IItemFamilyModifier.

Definition at line 86 of file DoFFamily.h.

◆ build()

void Arcane::mesh::DoFFamily::build ( )
overrideprivatevirtual

Implements Arcane::IItemFamily.

Definition at line 59 of file DoFFamily.cc.

◆ computeSynchronizeInfos()

void Arcane::mesh::DoFFamily::computeSynchronizeInfos ( )
overridevirtual

Collective operation.

Implements Arcane::IItemFamily.

Definition at line 156 of file DoFFamily.cc.

References Arcane::mesh::ItemFamily::computeSynchronizeInfos(), and Arcane::TraceAccessor::debug().

Here is the call graph for this function:

◆ endUpdate()

void Arcane::mesh::DoFFamily::endUpdate ( )
inlineoverridevirtual

Notifies the end of modification of the entity list.

This method must be called after modifying the entity list (after adding or removing). It updates the groups and resizes the variables on this family.

Implements Arcane::IItemFamily.

Definition at line 81 of file DoFFamily.h.

References Arcane::mesh::ItemFamily::endUpdate().

Here is the call graph for this function:

◆ family()

IItemFamily * Arcane::mesh::DoFFamily::family ( )
inlineoverridevirtual

Implements Arcane::IItemFamilyModifier.

Definition at line 109 of file DoFFamily.h.

◆ findOrAllocOne() [1/2]

ItemInternal * Arcane::mesh::DoFFamily::findOrAllocOne ( Int64 uid,
bool & is_alloc )
inline

Definition at line 103 of file DoFFamily.h.

◆ findOrAllocOne() [2/2]

Item Arcane::mesh::DoFFamily::findOrAllocOne ( Int64 uid,
ItemTypeId ,
MeshInfos & ,
bool & is_alloc )
inlineoverridevirtual

Implements Arcane::IItemFamilyModifier.

Definition at line 97 of file DoFFamily.h.

◆ fullName()

String Arcane::mesh::DoFFamily::fullName ( ) const
inlineoverridevirtual

Full family name (with the mesh's name).

Implements Arcane::IItemFamily.

Definition at line 78 of file DoFFamily.h.

References Arcane::mesh::ItemFamily::fullName().

Here is the call graph for this function:

◆ ghostDoFs()

DoFGroup Arcane::mesh::DoFFamily::ghostDoFs ( )
inline

Definition at line 124 of file DoFFamily.h.

◆ internalRemoveItems()

void Arcane::mesh::DoFFamily::internalRemoveItems ( Int32ConstArrayView local_ids,
bool keep_ghost = false )
overrideprivatevirtual

Removes the entities given by local_ids.

For internal use only. If you want to delete entities from the mesh, you must go through IMeshModifier via the call to IMesh::modifier().

Implements Arcane::IItemFamily.

Definition at line 135 of file DoFFamily.cc.

◆ itemFamily()

IItemFamily * Arcane::mesh::DoFFamily::itemFamily ( )
inlineoverridevirtual

Implements Arcane::IDoFFamily.

Definition at line 82 of file DoFFamily.h.

◆ name()

String Arcane::mesh::DoFFamily::name ( ) const
inlineoverridevirtual

Family name.

Implements Arcane::IItemFamily.

Definition at line 77 of file DoFFamily.h.

References Arcane::mesh::ItemFamily::name().

Referenced by DoFFamily().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nbItem()

Integer Arcane::mesh::DoFFamily::nbItem ( ) const
inlineoverridevirtual

Number of entities.

Implements Arcane::IItemFamily.

Definition at line 79 of file DoFFamily.h.

References Arcane::mesh::ItemFamily::nbItem().

Here is the call graph for this function:

◆ ownDoFs()

DoFGroup Arcane::mesh::DoFFamily::ownDoFs ( )
inline

Definition at line 123 of file DoFFamily.h.

◆ preAllocate()

void Arcane::mesh::DoFFamily::preAllocate ( Integer nb_item)
private

Definition at line 181 of file DoFFamily.cc.

◆ removeDoFs()

void Arcane::mesh::DoFFamily::removeDoFs ( Int32ConstArrayView items_local_id)
overridevirtual

Implements Arcane::IDoFFamily.

Definition at line 147 of file DoFFamily.cc.

◆ toDoFFamily()

IDoFFamily * Arcane::mesh::DoFFamily::toDoFFamily ( )
inlineoverridevirtual

Returns the interface of the particle family for this family.

The IParticleFamily interface only exists if this family is a particle family (itemKind()==IK_Particle). For other family kinds, 0 is returned.

Reimplemented from Arcane::IItemFamily.

Definition at line 111 of file DoFFamily.h.

◆ DynamicMesh

friend class DynamicMesh
friend

Definition at line 149 of file DoFFamily.h.

Member Data Documentation

◆ m_shared_info

ItemSharedInfoWithType* Arcane::mesh::DoFFamily::m_shared_info
private

Definition at line 147 of file DoFFamily.h.


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