Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pooma-dev] Re:Re: [pooma-dev] examples/Particles/PIC2d/PIC2d.cpp works


  • To: pooma-dev@xxxxxxxxxxxxxxxxxxxxxx
  • Subject: Re: [pooma-dev] Re:Re: [pooma-dev] examples/Particles/PIC2d/PIC2d.cpp works
  • From: Roman Krylov <rkrylov@xxxxxxx>
  • Date: Fri, 09 Jul 2004 18:27:23 +0400

> + 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.