patchLocal patch

Stephen Smith stephens at proximation.com
Fri Jul 27 16:55:42 UTC 2001


This patch fixes the behaviour of f.patchLocal() for new field.  The
existing
version was providing the wrong domain because of the way domains are
computed with different centerings.

The fixed version gives a field with the physical domain corresponding to
the
cells owned by the patch and a total domain that includes the guard layers.
You can use patchLocal to write into the internal guards if necessary.

This fix was required both to wrap up work on particle interaction with new
field,
and get scalar code sections of Blanca's code running in parallel.

Reviewed by Scott Haney.

Tested with KCC and --messaging on multi-processor Linux.

    Stephen

 <<27.Jun.patchLocal.patch>> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/pooma-dev/attachments/20010727/c7b5b280/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 27.Jun.patchLocal.patch
Type: application/octet-stream
Size: 29306 bytes
Desc: not available
URL: <http://sourcerytools.com/pipermail/pooma-dev/attachments/20010727/c7b5b280/attachment.obj>


More information about the pooma-dev mailing list