FieldOffset reductions patch.

Stephen Smith stephens at proximation.com
Tue Aug 21 17:19:54 UTC 2001


This patch to newfield_revision allows data-parallel reductions using
field offsets.  The new syntax is:

g = sum(f, nearestNeighbor(f.centering(), g.centering()), g.centering());

which sums the points in f that are nearest to the points in g and assigns
the results to g.

I also fixed a problem with the domain of discontinuous fields by making
the translation between domains more explicit.

This was reviewed by Jeffrey, and tested on linux with KCC.

    Stephen

 <<21Aug.reduction.2.patch>> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/pooma-dev/attachments/20010821/19a1d340/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 21Aug.reduction.2.patch
Type: application/octet-stream
Size: 28166 bytes
Desc: not available
URL: <http://sourcerytools.com/pipermail/pooma-dev/attachments/20010821/19a1d340/attachment.obj>


More information about the pooma-dev mailing list