[PATCH] Fix some of Particle - Field interaction

Richard Guenther rguenth at tat.physik.uni-tuebingen.de
Sun Jul 11 14:49:37 UTC 2004


Inspired by the simplicity of some of the fixes by Roman Krylov I ran 
over the interpolate.cpp particle test and tried to make it compile.
The following patch makes that and also makes it pass (by pure luck).
The only transformation I'm not sure about is
   Geometry::indexPoint() -> Mesh::vertexPosition()
Maybe one of the former developers can comment.

I also needed to introduce setExternalGuards() which implementation may 
not be optimal.  But well, better than before.

Tested particles with no regressions, interpolation now passing.

Ok?

Richard.

2004Jul11  Richard Guenther <richard.guenther at uni-tuebingen.de>

	Particles/Interpolation.h: add setExternalGuards.
	Particles/Interpolation.cpp: likewise.
	Particles/InterpolatorCIC.h: convert to new Field/Mesh
	representation.
	Particles/InterpolatorNGP.h: likewise.
	Particles/InterpolatorSUDS.h: likewise.
	Pooma/Particles.h: include interpolators.
	Particles/tests/interpolate.cpp: convert to new Field/Mesh
	representation, comment unavailable functionality.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: p
URL: <http://sourcerytools.com/pipermail/pooma-dev/attachments/20040711/cc840144/attachment.ksh>


More information about the pooma-dev mailing list