OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
|
#include <SIndex.h>
Public Types | |
typedef std::vector< std::shared_ptr< LSIndex< Dim > > > | container_t |
typedef unsigned int | size_type |
typedef container_t::iterator | iterator_iv |
typedef container_t::const_iterator | const_iterator_iv |
typedef container_t::size_type | size_type_iv |
typedef LSIndex< Dim >::iterator | iterator_indx |
typedef LSIndex< Dim >::const_iterator | const_iterator_indx |
Public Types inherited from User | |
typedef Unique::type | ID_t |
Public Member Functions | |
SIndex () | |
SIndex (FieldLayout< Dim > &) | |
SIndex (const SIndex< Dim > &) | |
virtual | ~SIndex () |
void | initialize (FieldLayout< Dim > &) |
bool | needInitialize () const |
template<class T1 > | |
SIndex< Dim > & | operator= (const PETE_Expr< T1 > &rhs) |
SIndex< Dim > & | operator= (const SIndex< Dim > &) |
SIndex< Dim > & | operator= (const SOffset< Dim > &) |
SIndex< Dim > & | operator= (const NDIndex< Dim > &) |
SIndex< Dim > & | operator&= (const SIndex< Dim > &) |
SIndex< Dim > & | operator&= (const SOffset< Dim > &) |
SIndex< Dim > & | operator&= (const NDIndex< Dim > &) |
SIndex< Dim > & | operator|= (const SIndex< Dim > &) |
SIndex< Dim > & | operator|= (const SOffset< Dim > &) |
SIndex< Dim > & | operator|= (const NDIndex< Dim > &) |
bool | addIndex (const SOffset< Dim > &) |
bool | addIndex (iterator_iv &, const SOffset< Dim > &) |
void | addIndex (const NDIndex< Dim > &) |
bool | removeIndex (const SOffset< Dim > &) |
bool | removeIndex (iterator_iv &, const SOffset< Dim > &) |
void | removeIndex (const NDIndex< Dim > &) |
void | reserve (double=1.0) |
void | clear () |
SOffset< Dim > & | getOffset () |
const SOffset< Dim > & | getOffset () const |
FieldLayout< Dim > & | getFieldLayout () const |
void | setFieldLayout (FieldLayout< Dim > &) |
const NDIndex< Dim > & | getDomain () const |
void | setDomain (const NDIndex< Dim > &ndi) |
SIndex< Dim > | operator() (int) |
SIndex< Dim > | operator() (int, int) |
SIndex< Dim > | operator() (int, int, int) |
SIndex< Dim > | operator() (int, int, int, int) |
SIndex< Dim > | operator() (int, int, int, int, int) |
SIndex< Dim > | operator() (int, int, int, int, int, int) |
SIndex< Dim > | operator() (const SOffset< Dim > &) |
SIndex< Dim > | operator() (const int *) |
IndexedSIndex< Dim, 1 > | operator[] (const Index &) |
template<unsigned int Dim2> | |
IndexedSIndex< Dim, Dim2 > | operator[] (const NDIndex< Dim2 > &ndi) |
void | toNDIndex (const SOffset< Dim > &, NDIndex< Dim > &) |
iterator_iv | begin_iv () |
iterator_iv | end_iv () |
const_iterator_iv | begin_iv () const |
const_iterator_iv | end_iv () const |
size_type_iv | size_iv () const |
size_type_iv | size () const |
bool | hasIndex (const SOffset< Dim > &) const |
virtual void | Repartition (UserList *) |
virtual void | notifyUserOfDelete (UserList *) |
void | printDebug (Inform &) const |
Public Member Functions inherited from FieldLayoutUser | |
FieldLayoutUser () | |
virtual | ~FieldLayoutUser () |
virtual void | Repartition (UserList *)=0 |
Public Member Functions inherited from User | |
User () | |
virtual | ~User () |
ID_t | get_Id () const |
virtual void | notifyUserOfDelete (UserList *)=0 |
Private Member Functions | |
SIndex (const SIndex< Dim > &, const SOffset< Dim > &) | |
SIndex (const SIndex< Dim > &, const int *) | |
void | setup () |
Private Attributes | |
FieldLayout< Dim > * | Layout |
SOffset< Dim > | Offset |
container_t | IndexList |
NDIndex< Dim > | BoundingBox |
Friends | |
SIndex< Dim > | operator+ (const SIndex< Dim > &si, const SOffset< Dim > &so) |
SIndex< Dim > | operator+ (const SOffset< Dim > &so, const SIndex< Dim > &si) |
SIndex< Dim > | operator+ (const SIndex< Dim > &si, const int *so) |
SIndex< Dim > | operator+ (const int *so, const SIndex< Dim > &si) |
SIndex< Dim > | operator- (const SIndex< Dim > &si, const SOffset< Dim > &so) |
SIndex< Dim > | operator- (const SOffset< Dim > &so, const SIndex< Dim > &si) |
SIndex< Dim > | operator- (const SIndex< Dim > &si, const int *so) |
SIndex< Dim > | operator- (const int *so, const SIndex< Dim > &si) |
Additional Inherited Members | |
Protected Attributes inherited from User | |
ID_t | Id |
Definition at line 39 of file SIndex.hpp.
SIndex< Dim >::SIndex | ( | FieldLayout< Dim > & | fl | ) |
Definition at line 47 of file SIndex.hpp.
References SIndex< Dim >::setup().
Definition at line 58 of file SIndex.hpp.
References SIndex< Dim >::Layout.
Definition at line 113 of file SIndex.hpp.
|
private |
Definition at line 75 of file SIndex.hpp.
References SIndex< Dim >::Layout.
|
private |
Definition at line 95 of file SIndex.hpp.
References SIndex< Dim >::Layout.
Definition at line 203 of file SIndex.hpp.
References begin(), Dim, end(), and NDIndex< Dim >::size().
Definition at line 160 of file SIndex.hpp.
Referenced by SIndexAssignTraits< Dim, OpBitwiseOrAssign >::apply(), and SIndex< Dim >::operator&=().
bool SIndex< Dim >::addIndex | ( | iterator_iv & | , |
const SOffset< Dim > & | |||
) |
|
inline |
Definition at line 245 of file SIndex.h.
References SIndex< Dim >::IndexList.
Referenced by SIndex< Dim >::operator&=(), operator<<(), SIndex< Dim >::operator|=(), and SubFieldIter< T, Dim, SIndex< Dim > >::SubFieldIter().
|
inline |
Definition at line 247 of file SIndex.h.
References SIndex< Dim >::IndexList.
Definition at line 332 of file SIndex.hpp.
References a.
Referenced by SIndexAssignTraits< Dim, OpAssign >::initialize().
|
inline |
Definition at line 246 of file SIndex.h.
References SIndex< Dim >::IndexList.
Referenced by operator<<(), and SIndex< Dim >::operator|=().
|
inline |
Definition at line 248 of file SIndex.h.
References SIndex< Dim >::IndexList.
Definition at line 153 of file SIndex.h.
References SIndex< Dim >::BoundingBox.
Referenced by SubParticleAttribIter< PA, T, Dim >::makeNDIndex(), SubFieldIter< T, Dim, SIndex< Dim > >::makeNDIndex(), and operator<<().
|
inline |
Definition at line 147 of file SIndex.h.
References SIndex< Dim >::Layout.
Definition at line 143 of file SIndex.h.
References SIndex< Dim >::Offset.
Referenced by operator<<().
Definition at line 144 of file SIndex.h.
References SIndex< Dim >::Offset.
void SIndex< Dim >::initialize | ( | FieldLayout< Dim > & | fl | ) |
Definition at line 124 of file SIndex.hpp.
Referenced by SubFieldTraits< T, Dim, SIndex< Dim >, NDIndex< Dim > >::construct(), and SubFieldTraits< T, Dim, SIndex< Dim >, SOffset< Dim > >::construct().
Definition at line 94 of file SIndex.h.
References SIndex< Dim >::Layout.
Referenced by SubFieldTraits< T, Dim, SIndex< Dim >, NDIndex< Dim > >::construct(), and SubFieldTraits< T, Dim, SIndex< Dim >, SOffset< Dim > >::construct().
Implements User.
Definition at line 729 of file SIndex.hpp.
References UserList::getUserListID().
Definition at line 478 of file SIndex.hpp.
References a, SIndex< Dim >::addIndex(), and SIndex< Dim >::begin_iv().
Definition at line 427 of file SIndex.hpp.
References a, SIndex< Dim >::addIndex(), SIndex< Dim >::begin_iv(), SIndex< Dim >::BoundingBox, and SIndex< Dim >::hasIndex().
Definition at line 461 of file SIndex.hpp.
Definition at line 635 of file SIndex.hpp.
Definition at line 627 of file SIndex.hpp.
Definition at line 573 of file SIndex.hpp.
Definition at line 582 of file SIndex.hpp.
Definition at line 590 of file SIndex.hpp.
SIndex< Dim > SIndex< Dim >::operator() | ( | int | i0, |
int | i1, | ||
int | i2, | ||
int | i3 | ||
) |
Definition at line 599 of file SIndex.hpp.
SIndex< Dim > SIndex< Dim >::operator() | ( | int | i0, |
int | i1, | ||
int | i2, | ||
int | i3, | ||
int | i4 | ||
) |
Definition at line 608 of file SIndex.hpp.
SIndex< Dim > SIndex< Dim >::operator() | ( | int | i0, |
int | i1, | ||
int | i2, | ||
int | i3, | ||
int | i4, | ||
int | i5 | ||
) |
Definition at line 617 of file SIndex.hpp.
Definition at line 408 of file SIndex.hpp.
Definition at line 360 of file SIndex.hpp.
References SIndex< Dim >::BoundingBox, SIndex< Dim >::IndexList, SIndex< Dim >::Layout, and SIndex< Dim >::Offset.
Definition at line 389 of file SIndex.hpp.
IndexedSIndex< Dim, 1 > SIndex< Dim >::operator[] | ( | const Index & | i | ) |
Definition at line 649 of file SIndex.hpp.
|
inline |
Definition at line 555 of file SIndex.hpp.
Definition at line 511 of file SIndex.hpp.
References a, SIndex< Dim >::begin_iv(), and SIndex< Dim >::end_iv().
Definition at line 538 of file SIndex.hpp.
Definition at line 764 of file SIndex.hpp.
References endl().
Definition at line 279 of file SIndex.hpp.
References begin(), Dim, end(), and NDIndex< Dim >::size().
Definition at line 242 of file SIndex.hpp.
Referenced by SIndexAssignTraits< Dim, OpBitwiseAndAssign >::apply().
bool SIndex< Dim >::removeIndex | ( | iterator_iv & | , |
const SOffset< Dim > & | |||
) |
Implements FieldLayoutUser.
Definition at line 713 of file SIndex.hpp.
References UserList::getUserListID().
Definition at line 318 of file SIndex.hpp.
References a.
void SIndex< Dim >::setFieldLayout | ( | FieldLayout< Dim > & | fl | ) |
Definition at line 695 of file SIndex.hpp.
Definition at line 137 of file SIndex.hpp.
References FieldLayout< Dim >::end_iv().
Referenced by SIndex< Dim >::SIndex().
SIndex< Dim >::size_type_iv SIndex< Dim >::size | ( | void | ) | const |
Definition at line 678 of file SIndex.hpp.
References a.
|
inline |
Definition at line 249 of file SIndex.h.
References SIndex< Dim >::IndexList.
Referenced by operator<<().
void SIndex< Dim >::toNDIndex | ( | const SOffset< Dim > & | val, |
NDIndex< Dim > & | NDI | ||
) |
Definition at line 664 of file SIndex.hpp.
References Dim.
|
private |
Definition at line 288 of file SIndex.h.
Referenced by SIndex< Dim >::getDomain(), SIndex< Dim >::operator&=(), and SIndex< Dim >::operator=().
|
private |
Definition at line 283 of file SIndex.h.
Referenced by SIndex< Dim >::begin_iv(), SIndex< Dim >::end_iv(), SIndex< Dim >::operator=(), and SIndex< Dim >::size_iv().
|
private |
Definition at line 276 of file SIndex.h.
Referenced by SIndex< Dim >::getFieldLayout(), SIndex< Dim >::needInitialize(), SIndex< Dim >::operator=(), and SIndex< Dim >::SIndex().
Definition at line 280 of file SIndex.h.
Referenced by SIndex< Dim >::getOffset(), and SIndex< Dim >::operator=().