Changes between Version 6 and Version 7 of ModulesOnAstroBear
- Timestamp:
- 05/26/11 09:23:52 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ModulesOnAstroBear
v6 v7 69 69 Currently, AstroBEAR can only run 2D and 3D problems, but a 1D hydro or MHD problem can be simulated by defining a very narrow 2D problem domain and then making sure all the activity is defined in the x-direction (i.e., no {{{py}}} or {{{pz}}} components). 70 70 71 The ''core'' region of the {{{Info%q}}} array (which does not include ghost zones) is a {{{1:mx}}} by {{{1:my}}} by {{{1:mz}}} box. In two dimensions, {{{mz}}} = 1, reducing the box to a rectangle. {{{Info%q}}} is cell-centered, so the values are assumed to be taken from the midpoint of the cell. Thus, the cell-to-space conversion is:71 The ''core'' region of the {{{Info%q}}} array (which does not include ghost zones) is a {{{1:mx}}} by {{{1:my}}} by {{{1:mz}}} box. Mx, my, and mz denote the number of cells in the x, y, and z directions, respectively. In two dimensions, {{{mz}}} = 1, reducing the box to a rectangle. {{{Info%q}}} is cell-centered, so the values are assumed to be taken from the midpoint of the cell. Thus, the cell-to-space conversion is: 72 72 73 73 {{{