Added 1D functionality to code

The code can now run 1D AMR problems and produce output to chombo. Just set nDim = 1. The chombo files will look funny with AMR turned on, but that is just because chombo has to believe they are 2D AMR data sets. Because the data is in fact 1D, it thinks that some data is missing, and leaves these areas white.

You an do line-outs along the y=0 boundary to generate curves.

Here I've plotted the data on levels 0 and 1 (redline) with data on levels 0-4 (blueline).

(Also have not tested self gravity or other source terms, or several of the 'objects', but most will need very minor modification to work).

It is not checked in, but interested folks can pull from alfalfadata/johannjc/scrambler_1Dworks

Attachments (2)

Download all attachments as: .zip

Comments

No comments.