[pooma-dev] Re:Re: [pooma-dev] examples/Particles/PIC2d/PIC2d.cpp works
Roman Krylov
rkrylov at mail.ru
Fri Jul 9 14:27:23 UTC 2004
> + DynamicArray<PointType_t,AttributeEngineTag_t>
phi; // for testing purposes of course
Oh, I meant
DynamicArray<double AttributeEngineTag_t> phi;
of course.
I haven't used it really, that's why the mistake was harmless :)
The reason was that I had noticed that E was 0 at every particle and I
thought gather() doesn't work and I intended to test gather() with
scalar attr. :) , but the reason was not in gather...
I had changed '<field>.x().comp(0)'(which was R1-style expr.) to
'<field>.comp(0)' first,
then, as I had mentioned, to 'iota(1,nx).comp(0)' and problem seemed to
disappear.
Roman.
More information about the pooma-dev
mailing list