patch local patch on newfield_revision

Stephen Smith stephens at proximation.com
Tue Aug 21 18:24:32 UTC 2001


This patch was ported from the main branch to fix a bug in the way
the patchLocal() function worked on fields.  Here is the original
comment from the main branch:

Fixed the patchLocal function on field.  Now the patchLocal function
returns a field with the correct physical domain and a total domain that
includes guard layers (possibly internal guards).  Added a test,
incorrectly called LocalPatch which verifies correctness of the function,
and illustrates how to write SPMD code by getting views of the pieces of a
field that are local to the processor.

2001-08-20  Jeffrey D. Oldham  <oldham at codesourcery.com>

	* Field.h: Include FieldEnginePatch.h.
	(Patch::dim): New enumeration.
	(Patch::make): Revise to use FieldEnginePatch.
	(Patch<Field<..., MultiPatch<LTag, EngineTag>>>): New class.
	* FieldEngine/FieldEngine.Lagrangian.h (FieldEngine::FieldEngine):
	Revise to use FieldEnginePatch.
	* FieldEngine/FieldEngine.NoGeometry.h: Likewise.
	* FieldEngine/FieldEngine.UR.h: Likewise.
	* FieldEngine/FieldEngineBase.h: Include FieldEnginePatch.h.
	(FieldEngineBase::initialize): Revise to use FieldEnginePatch
	parameter.  Revise definition.
	* tests/makefile (run_tests): Add LocalPatch.
	(MeshTest1): Move to alphabetical order.
	(LocalPatch): Add PHONY target.


 <<21Aug.LocalPatch.4.patch>> 

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


More information about the pooma-dev mailing list