[PATCH] Fix Particle layouts
Jeffrey D. Oldham
oldham at codesourcery.com
Tue Jul 13 23:26:25 UTC 2004
Richard Guenther wrote:
> ... so I guess like the following. Adds missing initializers to
> SpatialLayout, too.
>
> Ok?
>
> Richard.
>
>
> 2004Jul11 Richard Guenther <richard.guenther at uni-tuebingen.de>
>
> * src/Particles/PatchSwapLayout.h: remove layout_m member.
> src/Particles/PatchSwapLayout.cpp: use
> static_cast<Layout_t&>(*this) instead of now removed layout_m member.
> src/Particles/UniformLayout.h: no need to initialize base.
> src/Particles/SpatialLayout.h: likewise, add initializers.
Yes, it is fine, especially per Julian Cummings's comments.
--
Jeffrey D. Oldham
oldham at codesourcery.com
More information about the pooma-dev
mailing list