Alien  1.3.0
User documentation
Loading...
Searching...
No Matches
Define new entries.

Functions

 Alien::IndexManager::Iterator::Iterator (const ScalarIndexSetVector::iterator &it)
void Alien::IndexManager::Iterator::operator++ ()
bool Alien::IndexManager::Iterator::operator!= (const Iterator &it)
ScalarIndexSetAlien::IndexManager::Iterator::operator* ()
 Alien::IndexManager::ConstIterator::ConstIterator (const ScalarIndexSetVector::const_iterator &it)
void Alien::IndexManager::ConstIterator::operator++ ()
bool Alien::IndexManager::ConstIterator::operator!= (const ConstIterator &it)
const ScalarIndexSetAlien::IndexManager::ConstIterator::operator* ()
bool Alien::IndexManager::InternalEntryIndex::operator== (const InternalEntryIndex &m) const
ScalarIndexSet Alien::IndexManager::buildScalarIndexSet (const String &name, ConstArrayView< Integer > localIds, const IAbstractFamily &family, Integer kind, eKeepAlive alive=DontClone)
ScalarIndexSet Alien::IndexManager::buildScalarIndexSet (const String &name, const IAbstractFamily &family, Integer kind, eKeepAlive alive=DontClone)
VectorIndexSet Alien::IndexManager::buildVectorIndexSet (const String &name, ConstArrayView< Integer > localIds, const IAbstractFamily &family, const UniqueArray< Integer > &kind, eKeepAlive alive=DontClone)
VectorIndexSet Alien::IndexManager::buildVectorIndexSet (const String &name, const IAbstractFamily &family, const UniqueArray< Integer > &kind, eKeepAlive alive=DontClone)
void Alien::IndexManager::removeIndex (const ScalarIndexSet &entry, ConstArrayView< Integer > localIds)
UniqueArray< Integer > Alien::IndexManager::getIndexes (const ScalarIndexSet &entry) const
 Give a translation table, indexed by items.
UniqueArray2< Integer > Alien::IndexManager::getIndexes (const VectorIndexSet &entries) const
 Give a vector translation table, indexed by items then by entries.
ConstArrayView< Integer > Alien::IndexManager::getOwnIndexes (const ScalarIndexSet &entry) const
ConstArrayView< Integer > Alien::IndexManager::getOwnLocalIds (const ScalarIndexSet &entry) const
ConstArrayView< Integer > Alien::IndexManager::getAllIndexes (const ScalarIndexSet &entry) const
ConstArrayView< Integer > Alien::IndexManager::getAllLocalIds (const ScalarIndexSet &entry) const
const IAbstractFamilyAlien::IndexManager::getFamily (const ScalarIndexSet &entry) const
IMessagePassingMng * Alien::IndexManager::parallelMng () const
 Parallel Manager used for the index computation.
void Alien::IndexManager::setMaxNullIndexOpt (bool flag)
 define null index : default = -1, if true null_index = max_index+1
Integer Alien::IndexManager::nullIndex () const
Iterator Alien::IndexManager::begin ()
Iterator Alien::IndexManager::end ()
ConstIterator Alien::IndexManager::begin () const
ConstIterator Alien::IndexManager::end () const

Variables

Integer Alien::IndexManager::InternalEntryIndex::m_entry_uid
Integer Alien::IndexManager::InternalEntryIndex::m_entry_kind
Int64 Alien::IndexManager::InternalEntryIndex::m_item_uid
Integer Alien::IndexManager::InternalEntryIndex::m_item_localid
Integer Alien::IndexManager::InternalEntryIndex::m_item_index
Integer Alien::IndexManager::InternalEntryIndex::m_item_owner
std::map< Integer, std::shared_ptr< EntryLocalId > > Alien::IndexManager::m_entry_local_ids
std::shared_ptr< ParallelRequestsAlien::IndexManager::parallel

Detailed Description

}@

Function Documentation

◆ begin() [1/2]

Iterator Alien::IndexManager::begin ( )
inline

Definition at line 223 of file IndexManager.h.

◆ begin() [2/2]

ConstIterator Alien::IndexManager::begin ( ) const
inline

Definition at line 225 of file IndexManager.h.

◆ buildScalarIndexSet() [1/2]

ScalarIndexSet Alien::IndexManager::buildScalarIndexSet ( const String & name,
const IAbstractFamily & family,
Integer kind,
eKeepAlive alive = DontClone )

New scalar entry, on elements of a family.

Parameters
name
family
kind
alive
Returns

Definition at line 895 of file IndexManager.cc.

References Alien::IAbstractFamily::allLocalIds().

◆ buildScalarIndexSet() [2/2]

ScalarIndexSet Alien::IndexManager::buildScalarIndexSet ( const String & name,
ConstArrayView< Integer > localIds,
const IAbstractFamily & family,
Integer kind,
eKeepAlive alive = DontClone )

New scalar entry, defined on a set of abstract items.

Parameters
name
localIds
family
kind
alive
Returns

Definition at line 878 of file IndexManager.cc.

◆ buildVectorIndexSet() [1/2]

IndexManager::VectorIndexSet Alien::IndexManager::buildVectorIndexSet ( const String & name,
const IAbstractFamily & family,
const UniqueArray< Integer > & kind,
eKeepAlive alive = DontClone )

New vector entry, on elements of a family.

Parameters
name
family
kind
alive
Returns

Current implementation handles multi-scalar entries as vector.

Definition at line 933 of file IndexManager.cc.

References Alien::IAbstractFamily::allLocalIds().

◆ buildVectorIndexSet() [2/2]

IndexManager::VectorIndexSet Alien::IndexManager::buildVectorIndexSet ( const String & name,
ConstArrayView< Integer > localIds,
const IAbstractFamily & family,
const UniqueArray< Integer > & kind,
eKeepAlive alive = DontClone )

New vector entry, on a set of abstract items.

Parameters
name
localIds
family
kind
alive
Returns

Current implementation handles multi-scalar entries as vector.

Definition at line 910 of file IndexManager.cc.

◆ ConstIterator()

Alien::IndexManager::ConstIterator::ConstIterator ( const ScalarIndexSetVector::const_iterator & it)
inlineexplicit

Definition at line 69 of file IndexManager.h.

◆ end() [1/2]

Iterator Alien::IndexManager::end ( )
inline

Definition at line 224 of file IndexManager.h.

◆ end() [2/2]

ConstIterator Alien::IndexManager::end ( ) const
inline

Definition at line 226 of file IndexManager.h.

◆ getAllIndexes()

ConstArrayView< Integer > Alien::IndexManager::getAllIndexes ( const ScalarIndexSet & entry) const

Definition at line 1025 of file IndexManager.cc.

◆ getAllLocalIds()

ConstArrayView< Integer > Alien::IndexManager::getAllLocalIds ( const ScalarIndexSet & entry) const

Definition at line 1037 of file IndexManager.cc.

◆ getFamily()

const IAbstractFamily & Alien::IndexManager::getFamily ( const ScalarIndexSet & entry) const

Definition at line 1049 of file IndexManager.cc.

◆ getIndexes() [1/2]

UniqueArray< Integer > Alien::IndexManager::getIndexes ( const ScalarIndexSet & entry) const

Give a translation table, indexed by items.

Definition at line 781 of file IndexManager.cc.

References Alien::ScalarIndexSet::manager(), and Alien::IAbstractFamily::maxLocalId().

◆ getIndexes() [2/2]

UniqueArray2< Integer > Alien::IndexManager::getIndexes ( const VectorIndexSet & entries) const

Give a vector translation table, indexed by items then by entries.

Definition at line 800 of file IndexManager.cc.

References Alien::IAbstractFamily::maxLocalId().

◆ getOwnIndexes()

ConstArrayView< Integer > Alien::IndexManager::getOwnIndexes ( const ScalarIndexSet & entry) const

Definition at line 1001 of file IndexManager.cc.

◆ getOwnLocalIds()

ConstArrayView< Integer > Alien::IndexManager::getOwnLocalIds ( const ScalarIndexSet & entry) const

Definition at line 1013 of file IndexManager.cc.

◆ Iterator()

Alien::IndexManager::Iterator::Iterator ( const ScalarIndexSetVector::iterator & it)
inlineexplicit

Definition at line 55 of file IndexManager.h.

◆ nullIndex()

Integer Alien::IndexManager::nullIndex ( ) const

Definition at line 1070 of file IndexManager.cc.

◆ operator!=() [1/2]

bool Alien::IndexManager::ConstIterator::operator!= ( const ConstIterator & it)
inline

Definition at line 73 of file IndexManager.h.

◆ operator!=() [2/2]

bool Alien::IndexManager::Iterator::operator!= ( const Iterator & it)
inline

Definition at line 59 of file IndexManager.h.

◆ operator*() [1/2]

const ScalarIndexSet & Alien::IndexManager::ConstIterator::operator* ( )
inline

Definition at line 74 of file IndexManager.h.

◆ operator*() [2/2]

ScalarIndexSet & Alien::IndexManager::Iterator::operator* ( )
inline

Definition at line 60 of file IndexManager.h.

◆ operator++() [1/2]

void Alien::IndexManager::ConstIterator::operator++ ( )
inline

Definition at line 72 of file IndexManager.h.

◆ operator++() [2/2]

void Alien::IndexManager::Iterator::operator++ ( )
inline

Definition at line 58 of file IndexManager.h.

◆ operator==()

bool Alien::IndexManager::InternalEntryIndex::operator== ( const InternalEntryIndex & m) const
inline

Definition at line 90 of file IndexManager.h.

◆ parallelMng()

IMessagePassingMng * Alien::IndexManager::parallelMng ( ) const
inline

Parallel Manager used for the index computation.

Definition at line 216 of file IndexManager.h.

◆ removeIndex()

void Alien::IndexManager::removeIndex ( const ScalarIndexSet & entry,
ConstArrayView< Integer > localIds )

}@

Remove a entities from the index.

Parameters
entry
localIds

Must be called before prepare.

Definition at line 237 of file IndexManager.cc.

References Alien::ScalarIndexSet::getUid(), and Alien::ScalarIndexSet::manager().

◆ setMaxNullIndexOpt()

void Alien::IndexManager::setMaxNullIndexOpt ( bool flag)

define null index : default = -1, if true null_index = max_index+1

Definition at line 1060 of file IndexManager.cc.

Variable Documentation

◆ m_entry_kind

Integer Alien::IndexManager::InternalEntryIndex::m_entry_kind

Definition at line 84 of file IndexManager.h.

◆ m_entry_local_ids

std::map<Integer, std::shared_ptr<EntryLocalId> > Alien::IndexManager::m_entry_local_ids
protected

Definition at line 292 of file IndexManager.h.

◆ m_entry_uid

Integer Alien::IndexManager::InternalEntryIndex::m_entry_uid

Definition at line 83 of file IndexManager.h.

◆ m_item_index

Integer Alien::IndexManager::InternalEntryIndex::m_item_index

Definition at line 87 of file IndexManager.h.

◆ m_item_localid

Integer Alien::IndexManager::InternalEntryIndex::m_item_localid

Definition at line 86 of file IndexManager.h.

◆ m_item_owner

Integer Alien::IndexManager::InternalEntryIndex::m_item_owner

Definition at line 88 of file IndexManager.h.

◆ m_item_uid

Int64 Alien::IndexManager::InternalEntryIndex::m_item_uid

Definition at line 85 of file IndexManager.h.

◆ parallel

std::shared_ptr<ParallelRequests> Alien::IndexManager::parallel
protected

Definition at line 295 of file IndexManager.h.