Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::IItemFamilyExchanger Class Referenceabstract

Public Member Functions

virtual void computeExchangeItems ()=0
virtual void setExchangeItems (ConstArrayView< std::set< Int32 > > items_to_send)=0
 Positions the list of entities to exchange.
virtual bool computeExchangeInfos ()=0
 Determines the information necessary for the exchanges.
virtual void prepareToSend ()=0
 Prepares the sending structures.
virtual void releaseBuffer ()=0
virtual void readAndAllocItems ()=0
 After receiving messages, reads and creates the transferred entities.
virtual void readAndAllocSubMeshItems ()=0
virtual void readAndAllocItemRelations ()=0
virtual void readGroups ()=0
 After receiving messages, reads the groups.
virtual void readVariables ()=0
 After receiving messages, reads the variable values.
virtual void removeSentItems ()=0
virtual void processExchange ()=0
 Sends the exchange messages.
virtual void finalizeExchange ()=0
 Finalizes the exchange.
virtual IItemFamilyitemFamily ()=0
 Associated family.
virtual void setParallelExchangerOption (const ParallelExchangerOptions &options)=0
 Sets the options used during entity exchange.

Detailed Description

Definition at line 62 of file IItemFamilyExchanger.h.

Constructor & Destructor Documentation

◆ ~IItemFamilyExchanger()

virtual Arcane::IItemFamilyExchanger::~IItemFamilyExchanger ( )
inlinevirtual

Definition at line 66 of file IItemFamilyExchanger.h.

Member Function Documentation

◆ computeExchangeInfos()

virtual bool Arcane::IItemFamilyExchanger::computeExchangeInfos ( )
pure virtual

Determines the information necessary for the exchanges.

Return values
trueif there is nothing to exchange
falseotherwise.

◆ finalizeExchange()

virtual void Arcane::IItemFamilyExchanger::finalizeExchange ( )
pure virtual

Finalizes the exchange.

Performs the final updates following an exchange. This method is called when all entities and variables have been exchanged.

◆ readAndAllocItems()

virtual void Arcane::IItemFamilyExchanger::readAndAllocItems ( )
pure virtual

After receiving messages, reads and creates the transferred entities.

This method does nothing for entities other than cells and particles, for legacy management. With the ItemFamilyNetwork family graph, this method creates the items and their dependencies (i.e., descendant connectivities). This involves separating the processing of sub-items (sub-meshes) and relations (ascending connectivities or dofs), which cannot be processed until all items are created.

Warning
Before calling this method, you must be certain that entities no longer belonging to this sub-domain have been destroyed

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