1. The Enzo Project
  2. Untitled project
  3. enzo-dev
  4. Pull requests

Pull requests

#12 Merged at 9ee5a5f
Repository
enzo-dev-GB
Branch
week-of-code
Repository
enzo-dev
Branch
week-of-code

Make inits work for 2D cosmology simulations

Author
  1. Greg Bryan
Reviewers
Description

Testing showed that a few errors had crept into the 2D version of the code that generates initial conditions for cosmology simulations (inits). These were corrected and tested. No changes were made to the 3D version.

Comments (2)

  1. Britton Smith

    I have tested this as well, and it works for me in that 3d initial conditions come out identical to those made with the main branch. I will accept this PR.

    I was also able to make 2d initial conditions, but when I tried to run with them in Enzo, I got the following message: Caught fatal exception:

    'New gravity module currently supports only 3d. ' at Grid_DepositPositions.C:111

    Is there any setup in which Enzo can still run a 2D cosmology run?