freepooma-devel
[Top][All Lists]
Advanced

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

RE: [pooma-dev] Re: [PATCH] Make PIC2d compile


From: Julian C. Cummings
Subject: RE: [pooma-dev] Re: [PATCH] Make PIC2d compile
Date: Sat, 17 Jul 2004 12:05:14 -0700

As I mentioned, it's an electrostatics code.  Just some charged particles
bouncing around in their own self-generated electric potential.  You scatter
the particle charge density onto a field, solve Poisson's equation to
compute the electric potential, and then advance the particle positions and
velocities in time using the resulting electric field.

It's a bit hard to verify a code like this other than by comparing the
particle positions and velocities at some time t with those obtained from a
baseline code that you *know* is correct.  I don't know if I ever created
such a baseline code for this example.  However, you can also verify the
particle scatter and gather by writing more simple examples and just
checking the results by hand.  That is what I did when I originally worked
on this.

Regards, Julian C.


> -----Original Message-----
> From: Jeffrey D. Oldham [mailto:address@hidden 
> Sent: Thursday, July 15, 2004 4:04 PM
> To: Richard Guenther
> Cc: address@hidden
> Subject: [pooma-dev] Re: [PATCH] Make PIC2d compile
> 
> 
> Richard Guenther wrote:
> 
> > The following makes PIC2d compile.  It doesn't segfault, but the
> > output is black magic to me.
> >
> > Ok?
> >
> > Richard.
> >
> >
> > 2004Jul15  Richard Guenther <address@hidden>
> >
> >     * examples/Particles/PIC2d/PIC2d.cpp: move to new Field/Mesh
> >     representation.
> 
> Yes, it's good to compile.  Neither you nor I know what this 
> code does.  
> Perhaps Julian Cummings does.
> 
> -- 
> Jeffrey D. Oldham
> address@hidden
> 
> 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]