#include <core/alien/index_manager/functional/DefaultAbstractFamily.h>
|
| | DefaultAbstractFamily (const DefaultAbstractFamily &family) |
| | DefaultAbstractFamily (ConstArrayView< Int64 > uniqueIds, ConstArrayView< Integer > owners, IMessagePassingMng *parallel_mng) |
| | DefaultAbstractFamily (ConstArrayView< Int64 > uniqueIds, IMessagePassingMng *parallel_mng) |
| IAbstractFamily * | clone () const override |
| Int32 | maxLocalId () const override |
| | Max local Id for this family.
|
| void | uniqueIdToLocalId (ArrayView< Int32 > localIds, ConstArrayView< Int64 > uniqueIds) const override |
| IAbstractFamily::Item | item (Int32 localId) const override |
| | Give back an Item from its local id.
|
| SafeConstArrayView< Integer > | owners (ConstArrayView< Int32 > localIds) const override |
| SafeConstArrayView< Int64 > | uids (ConstArrayView< Int32 > localIds) const override |
| SafeConstArrayView< Int32 > | allLocalIds () const override |
| | Local ids of this family members.
|
|
| IAbstractFamily (const IAbstractFamily &)=delete |
|
| IAbstractFamily (IAbstractFamily &&)=delete |
|
void | operator= (const IAbstractFamily &)=delete |
|
void | operator= (IAbstractFamily &&)=delete |
| virtual void | uniqueIdToLocalId (ArrayView< Integer > localIds, ConstArrayView< Int64 > uniqueIds) const =0 |
|
virtual SafeConstArrayView< Integer > | owners (ConstArrayView< Integer > localIds) const =0 |
| | Owners of the given local ids.
|
|
virtual SafeConstArrayView< Int64 > | uids (ConstArrayView< Integer > localIds) const =0 |
| | unique ids of the given local ids.
|
This module relies on the fact that local_id of the item i is also i.
Definition at line 34 of file DefaultAbstractFamily.h.
◆ DefaultAbstractFamily() [1/3]
| Alien::DefaultAbstractFamily::DefaultAbstractFamily |
( |
const DefaultAbstractFamily & | family | ) |
|
◆ DefaultAbstractFamily() [2/3]
| Alien::DefaultAbstractFamily::DefaultAbstractFamily |
( |
ConstArrayView< Int64 > | uniqueIds, |
|
|
ConstArrayView< Integer > | owners, |
|
|
IMessagePassingMng * | parallel_mng ) |
Build a family for locally known unique ids.
- Parameters
-
| uniqueIds | Array of locally known uniqueIds. |
| owners | Array of item owners |
| parallel_mng | Parallel Manager. |
Definition at line 42 of file DefaultAbstractFamily.cc.
◆ DefaultAbstractFamily() [3/3]
| Alien::DefaultAbstractFamily::DefaultAbstractFamily |
( |
ConstArrayView< Int64 > | uniqueIds, |
|
|
IMessagePassingMng * | parallel_mng ) |
Build a family for locally owned unique ids.
- Parameters
-
| uniqueIds | Array of locally owned uniqueIds. |
| parallel_mng | Parallel Manager. |
Definition at line 53 of file DefaultAbstractFamily.cc.
◆ allLocalIds()
◆ clone()
| IAbstractFamily * Alien::DefaultAbstractFamily::clone |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ item()
◆ maxLocalId()
| Int32 Alien::DefaultAbstractFamily::maxLocalId |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ owners()
| SafeConstArrayView< Integer > Alien::DefaultAbstractFamily::owners |
( |
ConstArrayView< Int32 > | localIds | ) |
const |
|
override |
◆ uids()
| SafeConstArrayView< Int64 > Alien::DefaultAbstractFamily::uids |
( |
ConstArrayView< Int32 > | localIds | ) |
const |
|
override |
◆ uniqueIdToLocalId()
| void Alien::DefaultAbstractFamily::uniqueIdToLocalId |
( |
ArrayView< Int32 > | localIds, |
|
|
ConstArrayView< Int64 > | uniqueIds ) const |
|
override |
◆ m_owners
| UniqueArray<Integer> Alien::DefaultAbstractFamily::m_owners |
|
private |
◆ m_parallel_mng
| IMessagePassingMng* Alien::DefaultAbstractFamily::m_parallel_mng |
|
private |
◆ m_unique_ids
| UniqueArray<Int64> Alien::DefaultAbstractFamily::m_unique_ids |
|
private |
The documentation for this class was generated from the following files: