Alien  1.3.0
User documentation
Loading...
Searching...
No Matches
Alien::AbstractFamily Class Reference

Public Member Functions

 AbstractFamily (const AbstractFamily &family)
 AbstractFamily (ConstArrayView< Int64 > uniqueIds, ConstArrayView< Integer > owners, IMessagePassingMng *parallel_mng, ITraceMng *trace_mng=nullptr)
 AbstractFamily (ConstArrayView< Int64 > uniqueIds, ConstArrayView< Int64 > ghost_uniqueIds, ConstArrayView< Integer > ghost_owners, IMessagePassingMng *parallel_mng, ITraceMng *trace_mng=nullptr)
 AbstractFamily (ConstArrayView< Int64 > uniqueIds, IMessagePassingMng *parallel_mng, ITraceMng *trace_mng=nullptr)
IAbstractFamilyclone () const override
 Construit un clone de cet objet.
Int32 maxLocalId () const override
 Identifiant maximal des localIds pour cette famille.
void uniqueIdToLocalId (ArrayView< Int32 > localIds, ConstArrayView< Int64 > uniqueIds) const override
IAbstractFamily::Item item (Int32 localId) const override
Arccore::SharedArray< Arccore::Integer > owners (ConstArrayView< Int32 > localIds) const override
Arccore::SharedArray< Arccore::Int64 > uids (ConstArrayView< Int32 > localIds) const override
Arccore::SharedArray< Arccore::Int32 > allLocalIds () const override
 Retourne l'ensemble des identifiants locaux de la famille.
Public Member Functions inherited from Alien::IIndexManager::IAbstractFamily
virtual void uniqueIdToLocalId (Arccore::ArrayView< Arccore::Int32 > localIds, Arccore::ConstArrayView< Arccore::Int64 > uniqueIds) const =0
 Convertit des uniqueIds en localIds. Erreur fatale si un item n'est pas retrouvé
virtual Item item (Arccore::Int32 localId) const =0
 Retourne un objet Item à partir de son localId.
virtual Arccore::SharedArray< Arccore::Integer > owners (Arccore::ConstArrayView< Arccore::Int32 > localIds) const =0
virtual Arccore::SharedArray< Arccore::Int64 > uids (Arccore::ConstArrayView< Arccore::Int32 > localIds) const =0
 Retourne l'ensemble des uniqueIds d'un ensemble d'item décrits par leur localIds.

Detailed Description

Definition at line 102 of file AbstractItemFamily.h.

Constructor & Destructor Documentation

◆ AbstractFamily() [1/4]

Alien::AbstractFamily::AbstractFamily ( const AbstractFamily & family)

Definition at line 168 of file AbstractItemFamily.cc.

◆ AbstractFamily() [2/4]

Alien::AbstractFamily::AbstractFamily ( ConstArrayView< Int64 > uniqueIds,
ConstArrayView< Integer > owners,
IMessagePassingMng * parallel_mng,
ITraceMng * trace_mng = nullptr )

Build a family for locally known unique ids.

Parameters
uniqueIdsArray of locally known uniqueIds.
ownersArray of item owners
parallel_mngParallel Manager.

Definition at line 177 of file AbstractItemFamily.cc.

◆ AbstractFamily() [3/4]

Alien::AbstractFamily::AbstractFamily ( ConstArrayView< Int64 > uniqueIds,
ConstArrayView< Int64 > ghost_uniqueIds,
ConstArrayView< Integer > ghost_owners,
IMessagePassingMng * parallel_mng,
ITraceMng * trace_mng = nullptr )

Build a family for locally known unique ids.

Parameters
uniqueIdsArray of locally known uniqueIds.
ghost_uniqueIdsArray of ghost known uniqueIds.
ghost_ownersArray of ghost item owners
parallel_mngParallel Manager.

Definition at line 192 of file AbstractItemFamily.cc.

◆ AbstractFamily() [4/4]

Alien::AbstractFamily::AbstractFamily ( ConstArrayView< Int64 > uniqueIds,
IMessagePassingMng * parallel_mng,
ITraceMng * trace_mng = nullptr )

Build a family for locally owned unique ids.

Parameters
uniqueIdsArray of locally owned uniqueIds.
parallel_mngParallel Manager.

Definition at line 226 of file AbstractItemFamily.cc.

Member Function Documentation

◆ allLocalIds()

Arccore::SharedArray< Arccore::Int32 > Alien::AbstractFamily::allLocalIds ( ) const
overridevirtual

Retourne l'ensemble des identifiants locaux de la famille.

Implements Alien::IIndexManager::IAbstractFamily.

Definition at line 294 of file AbstractItemFamily.cc.

◆ clone()

IAbstractFamily * Alien::AbstractFamily::clone ( ) const
inlineoverridevirtual

Construit un clone de cet objet.

Implements Alien::IIndexManager::IAbstractFamily.

Definition at line 144 of file AbstractItemFamily.h.

◆ item()

IIndexManager::IAbstractFamily::Item Alien::AbstractFamily::item ( Int32 localId) const
override

Definition at line 260 of file AbstractItemFamily.cc.

◆ maxLocalId()

Int32 Alien::AbstractFamily::maxLocalId ( ) const
inlineoverridevirtual

Identifiant maximal des localIds pour cette famille.

Implements Alien::IIndexManager::IAbstractFamily.

Definition at line 147 of file AbstractItemFamily.h.

◆ owners()

Arccore::SharedArray< Arccore::Integer > Alien::AbstractFamily::owners ( ConstArrayView< Int32 > localIds) const
override

Definition at line 268 of file AbstractItemFamily.cc.

◆ uids()

Arccore::SharedArray< Arccore::Int64 > Alien::AbstractFamily::uids ( ConstArrayView< Int32 > localIds) const
override

Definition at line 281 of file AbstractItemFamily.cc.

◆ uniqueIdToLocalId()

void Alien::AbstractFamily::uniqueIdToLocalId ( ArrayView< Int32 > localIds,
ConstArrayView< Int64 > uniqueIds ) const
override

Definition at line 242 of file AbstractItemFamily.cc.


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