Re: [FLASH-USERS] About gravity

From: Paul Ricker <pmricker@uiuc.edu>
Date: Tue Apr 08 2003 - 11:58:45 CDT

There isn't currently a subroutine hook for this (add that to the
to-do list), but it shouldn't be hard: either add your external
potential to the one computed by the Poisson solver in
GravPotentialAllBlocks() or add the acceleration to the differenced
acceleration in GravAccelOneRow(). The latter approach is to be
preferred since it avoids issues with differencing at fine-coarse
boundaries.

Best,
Paul

On Tue, 2003-04-08 at 06:55, Claudio Dalla Vecchia wrote:
> Hi everybody,
>
> I am just wondering whether flash code can manage an external
> gravitational potential and self-gravity at the same time.
>
> Thanks,
> Claudio.
Received on Tue Apr 8 11:58:01 2003

This archive was generated by hypermail 2.1.8 : Thu Aug 31 2006 - 21:20:48 CDT