Changes between Version 11 and Version 12 of u/erica/PoissonPlusHydro


Ignore:
Timestamp:
09/16/13 10:30:21 (11 years ago)
Author:
Erica Kaminski
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • u/erica/PoissonPlusHydro

    v11 v12  
    5353= Code Outline =
    5454
     551. Sets up problem scales
     562. Initializes the grid with the prescribed perturbations for Jeans instability
     572. Sets boundary conditions on box
     583. Finds max speed and uses CFL condition to get dt
     594. Takes a hydro step; i.e. solves the local Riemann problem, gets fluxes, updates cells
     605. Takes a source step, finds the mean of the density distribution, sets up the source term vector f=4 Pi G (rho-rhoavg), sends to the Jacobi solver, finds the solution for the gravitational potential phi, using phi, updates the velocity and energy of the cells
     616. Updates time and checks whether tfinal has been reached
     627. Sets boundary conditions on box
     638. Gets dt
     649. ...
     65
     66= Update Formulas =
    5567
    5668
     69
     70
     71