[pooma-dev] Index Domain Type

James Crotinger jcrotinger at proximation.com
Fri Jan 11 17:48:52 UTC 2002


Index was never implemented. The notion of Index was a domain with position
information. In POOMA r1 you can do the following sort of thing:

  Index I, J;
  A[I][J] = B[J][I];

to assign the transpose of B to A. This does have some uses, but it adds a
lot of complexity, so we never put it in. 

  Jim

> -----Original Message-----
> From: Jeffrey Oldham [mailto:oldham at codesourcery.com]
> Sent: Thursday, January 10, 2002 3:12 PM
> To: pooma-dev at pooma.codesourcery.com
> Subject: [pooma-dev] Index Domain Type
> 
> 
> 
>         Was the Index domain type removed?  Various comments refer to
> it and there is a forward declaration, but I found no definition.
> 
> in Pooma's src/:
> 
> find . -name *.h -print | xargs -n 10 grep 
> '[[:space:]]Index[^[:alpha:]]'
> ./Domain/Grid.h:// however, like Index does, so it cannot be 
> used in any kind of tensor-like
> ./Domain/Interval.h:// however, like Index does, so it cannot 
> be used in any kind of tensor-like
> ./Domain/Loc.h:// like Index does, so it cannot be used in 
> any kind of tensor-like
> ./Domain/NewDomain.h:template<int Dim>               class Index;
> ./Domain/NewDomain.h://      of the slice = sum of dimensions 
> of Interval, Range, Index objects
> ./Domain/Range.h:// however, like Index does, so it cannot be 
> used in any kind of tensor-like
> ./Engine/DynamicEngine.h:  // Index of the first point.
> ./Engine/IndexFunctionEngine.h:// Index-function-engine 
> objects provide a way to make a function of indices
> ./Pooma/Indices.h:  typedef typename ComponentView<Loc<1>, 
> Iota_t>::Type_t Index_t;
> 
> Thanks for the information,
> Jeffrey D. Oldham
> oldham at codesourcery.com
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/pooma-dev/attachments/20020111/3725b5af/attachment.html>


More information about the pooma-dev mailing list