OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Public Member Functions | Private Attributes | List of all members
NDIndex< Dim > Class Template Reference

#include <FieldDataSource.h>

Collaboration diagram for NDIndex< Dim >:
Collaboration graph
[legend]

Public Member Functions

 NDIndex ()
 
 NDIndex (const Index *idx)
 
 NDIndex (const Index &)
 
 NDIndex (const Index &, const Index &)
 
 NDIndex (const Index &, const Index &, const Index &)
 
 NDIndex (const Index &, const Index &, const Index &, const Index &)
 
 NDIndex (const Index &, const Index &, const Index &, const Index &, const Index &)
 
 NDIndex (const Index &, const Index &, const Index &, const Index &, const Index &, const Index &)
 
 NDIndex (const NDIndex< Dim-1 > &, const Index &)
 
const Indexoperator[] (unsigned d) const
 
Indexoperator[] (unsigned d)
 
unsigned size () const
 
bool empty () const
 
NDIndex< Dimintersect (const NDIndex< Dim > &) const
 
NDIndex< DimplugBase (const NDIndex< 1 > &i) const
 
NDIndex< DimplugBase (const NDIndex< 2 > &i) const
 
NDIndex< DimplugBase (const NDIndex< 3 > &i) const
 
NDIndex< DimplugBase (const NDIndex< 4 > &i) const
 
NDIndex< DimplugBase (const NDIndex< 5 > &i) const
 
NDIndex< DimplugBase (const NDIndex< 6 > &i) const
 
NDIndex< DimplugBase (const NDIndex< 7 > &i) const
 
bool touches (const NDIndex< Dim > &) const
 
bool contains (const NDIndex< Dim > &a) const
 
bool containsAllPoints (const NDIndex< Dim > &b) const
 
bool split (NDIndex< Dim > &l, NDIndex< Dim > &r, unsigned d, double a) const
 
bool split (NDIndex< Dim > &l, NDIndex< Dim > &r, unsigned d) const
 
bool split (NDIndex< Dim > &l, NDIndex< Dim > &r) const
 
MessageputMessage (Message &m) const
 
MessagegetMessage (Message &m)
 
template<>
 NDIndex (const NDIndex< 1 > &ndi, const Index &i)
 
template<>
 NDIndex (const NDIndex< 3 > &ndi, const Index &i)
 
template<>
 NDIndex (const NDIndex< 4 > &ndi, const Index &i)
 
template<>
 NDIndex (const NDIndex< 5 > &ndi, const Index &i)
 

Private Attributes

Index p [Dim==0?1:Dim]
 

Detailed Description

template<unsigned Dim>
class NDIndex< Dim >

Definition at line 40 of file FieldDataSource.h.

Constructor & Destructor Documentation

template<unsigned Dim>
NDIndex< Dim >::NDIndex ( )
inline

Definition at line 78 of file NDIndex.h.

template<unsigned Dim>
NDIndex< Dim >::NDIndex ( const Index idx)
inline

Definition at line 22 of file NDIndexInlines.h.

References Dim.

template<unsigned Dim>
NDIndex< Dim >::NDIndex ( const Index i0)
inline

Definition at line 169 of file NDIndexInlines.h.

References Dim, and PInsist.

template<unsigned Dim>
NDIndex< Dim >::NDIndex ( const Index i0,
const Index i1 
)
inline

Definition at line 177 of file NDIndexInlines.h.

References Dim, and PInsist.

template<unsigned Dim>
NDIndex< Dim >::NDIndex ( const Index i0,
const Index i1,
const Index i2 
)
inline

Definition at line 186 of file NDIndexInlines.h.

References Dim, and PInsist.

template<unsigned Dim>
NDIndex< Dim >::NDIndex ( const Index i0,
const Index i1,
const Index i2,
const Index i3 
)
inline

Definition at line 196 of file NDIndexInlines.h.

References Dim, and PInsist.

template<unsigned Dim>
NDIndex< Dim >::NDIndex ( const Index i0,
const Index i1,
const Index i2,
const Index i3,
const Index i4 
)
inline

Definition at line 208 of file NDIndexInlines.h.

References Dim, and PInsist.

template<unsigned Dim>
NDIndex< Dim >::NDIndex ( const Index i0,
const Index i1,
const Index i2,
const Index i3,
const Index i4,
const Index i5 
)
inline

Definition at line 221 of file NDIndexInlines.h.

References Dim, and PInsist.

template<unsigned Dim>
NDIndex< Dim >::NDIndex ( const NDIndex< Dim-1 > &  ,
const Index  
)
template<>
NDIndex< 2 >::NDIndex ( const NDIndex< 1 > &  ndi,
const Index i 
)
inline

Definition at line 234 of file NDIndexInlines.h.

template<>
NDIndex< 4 >::NDIndex ( const NDIndex< 3 > &  ndi,
const Index i 
)
inline

Definition at line 247 of file NDIndexInlines.h.

template<>
NDIndex< 5 >::NDIndex ( const NDIndex< 4 > &  ndi,
const Index i 
)
inline

Definition at line 255 of file NDIndexInlines.h.

template<>
NDIndex< 6 >::NDIndex ( const NDIndex< 5 > &  ndi,
const Index i 
)
inline

Definition at line 264 of file NDIndexInlines.h.

Member Function Documentation

template<unsigned Dim>
bool NDIndex< Dim >::contains ( const NDIndex< Dim > &  a) const
inline
template<unsigned Dim>
bool NDIndex< Dim >::containsAllPoints ( const NDIndex< Dim > &  b) const
inline

Definition at line 104 of file NDIndexInlines.h.

References Dim, and NDIndex< Dim >::p.

Referenced by assign(), IndexedLocalAssign(), IndexedReceive(), and TryCompressLHS().

template<unsigned Dim>
bool NDIndex< Dim >::empty ( ) const
inline
template<unsigned Dim>
Message& NDIndex< Dim >::getMessage ( Message m)
inline
template<unsigned Dim>
NDIndex< Dim > NDIndex< Dim >::intersect ( const NDIndex< Dim > &  i) const
inline
template<unsigned Dim>
const Index& NDIndex< Dim >::operator[] ( unsigned  d) const
inline

Definition at line 97 of file NDIndex.h.

template<unsigned Dim>
Index& NDIndex< Dim >::operator[] ( unsigned  d)
inline

Definition at line 101 of file NDIndex.h.

template<unsigned Dim>
NDIndex<Dim> NDIndex< Dim >::plugBase ( const NDIndex< 1 > &  i) const
inline
template<unsigned Dim>
NDIndex<Dim> NDIndex< Dim >::plugBase ( const NDIndex< 2 > &  i) const
inline

Definition at line 119 of file NDIndex.h.

template<unsigned Dim>
NDIndex<Dim> NDIndex< Dim >::plugBase ( const NDIndex< 3 > &  i) const
inline

Definition at line 120 of file NDIndex.h.

template<unsigned Dim>
NDIndex<Dim> NDIndex< Dim >::plugBase ( const NDIndex< 4 > &  i) const
inline

Definition at line 121 of file NDIndex.h.

template<unsigned Dim>
NDIndex<Dim> NDIndex< Dim >::plugBase ( const NDIndex< 5 > &  i) const
inline

Definition at line 122 of file NDIndex.h.

template<unsigned Dim>
NDIndex<Dim> NDIndex< Dim >::plugBase ( const NDIndex< 6 > &  i) const
inline

Definition at line 123 of file NDIndex.h.

template<unsigned Dim>
NDIndex<Dim> NDIndex< Dim >::plugBase ( const NDIndex< 7 > &  i) const
inline

Definition at line 124 of file NDIndex.h.

template<unsigned Dim>
Message& NDIndex< Dim >::putMessage ( Message m) const
inline
template<unsigned Dim>
unsigned NDIndex< Dim >::size ( void  ) const
inline
template<unsigned Dim>
bool NDIndex< Dim >::split ( NDIndex< Dim > &  l,
NDIndex< Dim > &  r,
unsigned  d,
double  a 
) const
inline

Definition at line 128 of file NDIndexInlines.h.

References NDIndex< Dim >::split().

Referenced by FieldLayout< Dim >::setup(), NDIndex< Dim >::split(), and Split< Dim >::test().

Here is the call graph for this function:

template<unsigned Dim>
bool NDIndex< Dim >::split ( NDIndex< Dim > &  l,
NDIndex< Dim > &  r,
unsigned  d 
) const
inline

Definition at line 140 of file NDIndexInlines.h.

References NDIndex< Dim >::split().

Here is the call graph for this function:

template<unsigned Dim>
bool NDIndex< Dim >::split ( NDIndex< Dim > &  l,
NDIndex< Dim > &  r 
) const
inline

Definition at line 153 of file NDIndexInlines.h.

References Dim.

template<unsigned Dim>
bool NDIndex< Dim >::touches ( const NDIndex< Dim > &  a) const
inline

Member Data Documentation

template<unsigned Dim>
Index NDIndex< Dim >::p[Dim==0?1:Dim]
private

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