|
From: | James Crotinger |
Subject: | RE: [pooma-dev] Index Domain Type |
Date: | Fri, 11 Jan 2002 10:48:52 -0700 |
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:address@hidden]
> Sent: Thursday, January 10, 2002 3:12 PM
> To: address@hidden
> 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
> address@hidden
>
[Prev in Thread] | Current Thread | [Next in Thread] |