OPAL (Object Oriented Parallel Accelerator Library)
2.2.0
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 |
![]() | |
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 |
![]() | |
FieldLayoutUser () | |
virtual | ~FieldLayoutUser () |
![]() | |
User () | |
virtual | ~User () |
ID_t | get_Id () const |
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 |
NDIndex< Dim > | BoundingBox |
container_t | IndexList |
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 | |
![]() | |
ID_t | Id |
typedef LSIndex<Dim>::const_iterator SIndex< Dim >::const_iterator_indx |
typedef container_t::const_iterator SIndex< Dim >::const_iterator_iv |
typedef std::vector< std::shared_ptr<LSIndex<Dim> > > SIndex< Dim >::container_t |
typedef LSIndex<Dim>::iterator SIndex< Dim >::iterator_indx |
typedef container_t::iterator SIndex< Dim >::iterator_iv |
typedef container_t::size_type SIndex< Dim >::size_type_iv |
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 160 of file SIndex.hpp.
Referenced by SIndexAssignTraits< Dim, OpBitwiseOrAssign >::apply(), and SIndex< Dim >::operator&=().
bool SIndex< Dim >::addIndex | ( | iterator_iv & | , |
const SOffset< Dim > & | |||
) |
Definition at line 204 of file SIndex.hpp.
References Dim, and NDIndex< Dim >::size().
|
inline |
Definition at line 246 of file SIndex.h.
References SIndex< Dim >::IndexList.
Referenced by assign(), SIndex< Dim >::operator&=(), SIndex< Dim >::operator|=(), and SubFieldIter< T, Dim, SIndex< Dim > >::SubFieldIter().
|
inline |
Definition at line 248 of file SIndex.h.
References SIndex< Dim >::IndexList.
Definition at line 334 of file SIndex.hpp.
Referenced by SIndexAssignTraits< Dim, OpAssign >::initialize().
|
inline |
Definition at line 247 of file SIndex.h.
References SIndex< Dim >::IndexList.
Referenced by assign(), and SIndex< Dim >::operator|=().
|
inline |
Definition at line 249 of file SIndex.h.
References SIndex< Dim >::IndexList.
Definition at line 154 of file SIndex.h.
References SIndex< Dim >::BoundingBox.
Referenced by SubParticleAttribIter< PA, T, Dim >::makeNDIndex(), and SubFieldIter< T, Dim, SIndex< Dim > >::makeNDIndex().
|
inline |
Definition at line 148 of file SIndex.h.
References SIndex< Dim >::Layout.
Definition at line 144 of file SIndex.h.
References SIndex< Dim >::Offset.
Definition at line 145 of file SIndex.h.
References SIndex< Dim >::Offset.
Definition at line 348 of file SIndex.hpp.
Referenced by SIndex< Dim >::operator&=().
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 95 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 732 of file SIndex.hpp.
References UserList::getUserListID().
Definition at line 430 of file SIndex.hpp.
References SIndex< Dim >::addIndex(), SIndex< Dim >::begin_iv(), SIndex< Dim >::BoundingBox, and SIndex< Dim >::hasIndex().
Definition at line 464 of file SIndex.hpp.
Definition at line 481 of file SIndex.hpp.
References SIndex< Dim >::addIndex(), and SIndex< Dim >::begin_iv().
Definition at line 576 of file SIndex.hpp.
Definition at line 585 of file SIndex.hpp.
Definition at line 593 of file SIndex.hpp.
SIndex< Dim > SIndex< Dim >::operator() | ( | int | i0, |
int | i1, | ||
int | i2, | ||
int | i3 | ||
) |
Definition at line 602 of file SIndex.hpp.
SIndex< Dim > SIndex< Dim >::operator() | ( | int | i0, |
int | i1, | ||
int | i2, | ||
int | i3, | ||
int | i4 | ||
) |
Definition at line 611 of file SIndex.hpp.
SIndex< Dim > SIndex< Dim >::operator() | ( | int | i0, |
int | i1, | ||
int | i2, | ||
int | i3, | ||
int | i4, | ||
int | i5 | ||
) |
Definition at line 620 of file SIndex.hpp.
Definition at line 630 of file SIndex.hpp.
Definition at line 638 of file SIndex.hpp.
Definition at line 363 of file SIndex.hpp.
References SIndex< Dim >::BoundingBox, SIndex< Dim >::IndexList, SIndex< Dim >::Layout, and SIndex< Dim >::Offset.
Definition at line 392 of file SIndex.hpp.
Definition at line 411 of file SIndex.hpp.
IndexedSIndex< Dim, 1 > SIndex< Dim >::operator[] | ( | const Index & | i | ) |
Definition at line 652 of file SIndex.hpp.
|
inline |
Definition at line 514 of file SIndex.hpp.
References SIndex< Dim >::begin_iv(), and SIndex< Dim >::end_iv().
Definition at line 541 of file SIndex.hpp.
Definition at line 558 of file SIndex.hpp.
Definition at line 767 of file SIndex.hpp.
References endl().
Definition at line 243 of file SIndex.hpp.
Referenced by SIndexAssignTraits< Dim, OpBitwiseAndAssign >::apply().
bool SIndex< Dim >::removeIndex | ( | iterator_iv & | , |
const SOffset< Dim > & | |||
) |
Definition at line 281 of file SIndex.hpp.
References Dim, and NDIndex< Dim >::size().
Implements FieldLayoutUser.
Definition at line 716 of file SIndex.hpp.
References UserList::getUserListID().
Definition at line 320 of file SIndex.hpp.
Definition at line 155 of file SIndex.h.
References SIndex< Dim >::BoundingBox.
Referenced by assign().
void SIndex< Dim >::setFieldLayout | ( | FieldLayout< Dim > & | fl | ) |
Definition at line 698 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 681 of file SIndex.hpp.
Referenced by assign().
|
inline |
Definition at line 250 of file SIndex.h.
References SIndex< Dim >::IndexList.
void SIndex< Dim >::toNDIndex | ( | const SOffset< Dim > & | val, |
NDIndex< Dim > & | NDI | ||
) |
Definition at line 667 of file SIndex.hpp.
References Dim.
Definition at line 286 of file SIndex.h.
Referenced by SIndex< Dim >::getDomain(), SIndex< Dim >::operator&=(), SIndex< Dim >::operator=(), and SIndex< Dim >::setDomain().
|
private |
Definition at line 289 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 277 of file SIndex.h.
Referenced by SIndex< Dim >::getFieldLayout(), SIndex< Dim >::needInitialize(), SIndex< Dim >::operator=(), and SIndex< Dim >::SIndex().
Definition at line 281 of file SIndex.h.
Referenced by SIndex< Dim >::getOffset(), and SIndex< Dim >::operator=().