|
From: | Roman Krylov |
Subject: | Re: [pooma-dev] Re:Re: [pooma-dev] examples/Particles/PIC2d/PIC2d.cpp works |
Date: | Fri, 09 Jul 2004 18:27:23 +0400 |
User-agent: | Mozilla Thunderbird 0.6 (X11/20040502) |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |