NDIndex< Dim > Class Template Reference

#include <NDIndex.h>

Collaboration diagram for NDIndex< Dim >:

Collaboration graph
[legend]
List of all members.

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< Dim > intersect (const NDIndex< Dim > &) const
NDIndex< Dim > plugBase (const NDIndex< 1 > &i) const
NDIndex< Dim > plugBase (const NDIndex< 2 > &i) const
NDIndex< Dim > plugBase (const NDIndex< 3 > &i) const
NDIndex< Dim > plugBase (const NDIndex< 4 > &i) const
NDIndex< Dim > plugBase (const NDIndex< 5 > &i) const
NDIndex< Dim > plugBase (const NDIndex< 6 > &i) const
NDIndex< Dim > plugBase (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< 2 > &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)

Detailed Description

template<unsigned Dim>
class NDIndex< Dim >

Definition at line 78 of file NDIndex.h.


Constructor & Destructor Documentation

template<unsigned Dim>
NDIndex< Dim >::NDIndex  )  [inline]
 

Definition at line 83 of file NDIndex.h.

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

Definition at line 22 of file NDIndexInlines.h.

template<unsigned Dim>
NDIndex< Dim >::NDIndex const Index  )  [inline]
 

Definition at line 169 of file NDIndexInlines.h.

References PInsist.

template<unsigned Dim>
NDIndex< Dim >::NDIndex const Index ,
const Index
[inline]
 

Definition at line 177 of file NDIndexInlines.h.

References PInsist.

template<unsigned Dim>
NDIndex< Dim >::NDIndex const Index ,
const Index ,
const Index
[inline]
 

Definition at line 186 of file NDIndexInlines.h.

References PInsist.

template<unsigned Dim>
NDIndex< Dim >::NDIndex const Index ,
const Index ,
const Index ,
const Index
[inline]
 

Definition at line 196 of file NDIndexInlines.h.

References PInsist.

template<unsigned Dim>
NDIndex< Dim >::NDIndex const Index ,
const Index ,
const Index ,
const Index ,
const Index
[inline]
 

Definition at line 208 of file NDIndexInlines.h.

References PInsist.

template<unsigned Dim>
NDIndex< Dim >::NDIndex const Index ,
const Index ,
const Index ,
const Index ,
const Index ,
const Index
[inline]
 

Definition at line 221 of file NDIndexInlines.h.

References 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< 3 >::NDIndex const NDIndex< 2 > &  ndi,
const Index i
[inline]
 

Definition at line 240 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]
 

Definition at line 92 of file NDIndexInlines.h.

References a.

Referenced by FieldPrint< T, Dim >::print(), and SubFieldIter< T, Dim, SOffset< Dim > >::setLFieldData().

template<unsigned Dim>
bool NDIndex< Dim >::containsAllPoints const NDIndex< Dim > &  b  )  const [inline]
 

Definition at line 104 of file NDIndexInlines.h.

References a.

Referenced by IndexedLocalAssign(), and TryCompressLHS().

template<unsigned Dim>
bool NDIndex< Dim >::empty  )  const [inline]
 

Definition at line 116 of file NDIndexInlines.h.

References r.

Referenced by assign(), SubFieldIter< T, Dim, SOffset< Dim > >::findIntersection(), and SubFieldIter< T, Dim, NDIndex< Dim > >::findIntersection().

template<unsigned Dim>
Message& NDIndex< Dim >::getMessage Message m  )  [inline]
 

Definition at line 152 of file NDIndex.h.

Referenced by NDIndex< Brackets >::getMessage().

template<unsigned Dim>
NDIndex< Dim > NDIndex< Dim >::intersect const NDIndex< Dim > &   )  const [inline]
 

Definition at line 31 of file NDIndexInlines.h.

References r.

Referenced by BareField< T, Dim >::accumGuardCells(), PatchBC< T, D, M, C >::apply(), assign(), CalcIndexedReceive(), BareField< T, Dim >::fillGuardCells(), SubFieldIter< T, Dim, SOffset< Dim > >::findIntersection(), SubFieldIter< T, Dim, NDIndex< Dim > >::findIntersection(), and IndexedSend().

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

Definition at line 106 of file NDIndex.h.

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

Definition at line 102 of file NDIndex.h.

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

Definition at line 129 of file NDIndex.h.

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

Definition at line 128 of file NDIndex.h.

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

Definition at line 127 of file NDIndex.h.

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

Definition at line 126 of file NDIndex.h.

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

Definition at line 125 of file NDIndex.h.

template<unsigned Dim>
NDIndex<Dim> NDIndex< Dim >::plugBase const NDIndex< 2 > &  i  )  const [inline]
 

Definition at line 124 of file NDIndex.h.

template<unsigned Dim>
NDIndex<Dim> NDIndex< Dim >::plugBase const NDIndex< 1 > &  i  )  const [inline]
 

Definition at line 123 of file NDIndex.h.

Referenced by IndexedLocalAssign().

template<unsigned Dim>
Message& NDIndex< Dim >::putMessage Message m  )  const [inline]
 

Definition at line 144 of file NDIndex.h.

Referenced by FieldDataSource< T, Dim, M, C >::gather_data(), IndexedSend(), NDIndex< Brackets >::putMessage(), and BareField< T, Dim >::write().

template<unsigned Dim>
unsigned NDIndex< Dim >::size  )  const [inline]
 

Definition at line 68 of file NDIndexInlines.h.

References Index::length().

Referenced by SIndex< Dim >::addIndex(), FieldDebugWriteb(), ConejoBalancer::redistribute(), and SIndex< Dim >::removeIndex().

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 Index::length().

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 r, and Index::split().

Here is the call graph for this function:

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 r, and Index::split().

Here is the call graph for this function:

template<unsigned Dim>
bool NDIndex< Dim >::touches const NDIndex< Dim > &   )  const [inline]
 

Definition at line 80 of file NDIndexInlines.h.

References a.

Referenced by PatchBC< T, D, M, C >::apply(), CalcIndexedReceive(), BareField< T, Dim >::getsingle(), IndexedLocalAssign(), and IndexedSend().


The documentation for this class was generated from the following files:
Generated on Mon Jan 16 14:43:22 2006 for IPPL by  doxygen 1.4.6