Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::SimpleGridMeshPartitioner::GhostCellsBuilder Class Reference

Information about extra ghost cells. More...

Inheritance diagram for Arcane::SimpleGridMeshPartitioner::GhostCellsBuilder:
Collaboration diagram for Arcane::SimpleGridMeshPartitioner::GhostCellsBuilder:

Public Member Functions

 GhostCellsBuilder (IMesh *mesh)
void computeExtraCellsToSend () override
 Calculates the "extraordinary" cells to send.
Int32ConstArrayView extraCellsToSend (Int32 rank) const override
 Local indices of "extraordinary" cells for sending.
Public Member Functions inherited from Arcane::IExtraGhostCellsBuilder
virtual ~IExtraGhostCellsBuilder ()
 Frees resources.

Public Attributes

std::map< Int32, UniqueArray< ItemUniqueId > > m_ghost_cell_uids
std::map< Int32, UniqueArray< Int32 > > m_ghost_cell_local_ids
IMeshm_mesh

Detailed Description

Information about extra ghost cells.

uniqueId() must be preserved during construction and converted to localId() only in computeExtraCellsToSend() because during partitioning, localId() may change.

Note
For now, instances of this class cannot be destroyed because the references registered in IMeshModifier cannot be removed.

Definition at line 61 of file SimpleGridMeshPartitioner.cc.

Constructor & Destructor Documentation

◆ GhostCellsBuilder()

Arcane::SimpleGridMeshPartitioner::GhostCellsBuilder::GhostCellsBuilder ( IMesh * mesh)
inlineexplicit

Definition at line 66 of file SimpleGridMeshPartitioner.cc.

Member Function Documentation

◆ computeExtraCellsToSend()

void Arcane::SimpleGridMeshPartitioner::GhostCellsBuilder::computeExtraCellsToSend ( )
inlineoverridevirtual

Calculates the "extraordinary" cells to send.

Performs the calculation of "extraordinary" cells following a construction algorithm

Implements Arcane::IExtraGhostCellsBuilder.

Definition at line 72 of file SimpleGridMeshPartitioner.cc.

References Arcane::Array< T >::resize().

Here is the call graph for this function:

◆ extraCellsToSend()

Int32ConstArrayView Arcane::SimpleGridMeshPartitioner::GhostCellsBuilder::extraCellsToSend ( Int32 rank) const
inlineoverridevirtual

Local indices of "extraordinary" cells for sending.

Retrieves the array of "extraordinary" cells destined for subdomain sid

Implements Arcane::IExtraGhostCellsBuilder.

Definition at line 83 of file SimpleGridMeshPartitioner.cc.

Member Data Documentation

◆ m_ghost_cell_local_ids

std::map<Int32, UniqueArray<Int32> > Arcane::SimpleGridMeshPartitioner::GhostCellsBuilder::m_ghost_cell_local_ids

Definition at line 92 of file SimpleGridMeshPartitioner.cc.

◆ m_ghost_cell_uids

std::map<Int32, UniqueArray<ItemUniqueId> > Arcane::SimpleGridMeshPartitioner::GhostCellsBuilder::m_ghost_cell_uids

Definition at line 91 of file SimpleGridMeshPartitioner.cc.

◆ m_mesh

IMesh* Arcane::SimpleGridMeshPartitioner::GhostCellsBuilder::m_mesh

Definition at line 93 of file SimpleGridMeshPartitioner.cc.


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