comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Force Field
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Force Field [message #45499] Tue, 13 September 2005 10:56
panblosky is currently offline  panblosky
Messages: 17
Registered: May 2005
Junior Member
Hi all,

I have a potential field on a grid (it has periodic boundary
conditions), and I want to calculate the acceleration (force field) of
this, i.e., f=-grad(potential), I need the gradient of the potential .
I wrote a procedure, but it has to many for loops in it. Does any body
know a fast and smart way to do this?
Thanks!!

Andres
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: from array to one dimentional array
Next Topic: Re: tvimage followed by contour in ps... positioning not coming out right

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:51:31 PDT 2025

Total time taken to generate the page: 0.16809 seconds