Changes between Version 5 and Version 6 of ModulesOnAstroBear
- Timestamp:
- 05/26/11 09:04:45 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ModulesOnAstroBear
v5 v6 54 54 ==== Simulation Data ==== 55 55 56 All AstroBEAR modules have at one thing in common: initializing the problem domain. Within our code, the problem domain's data is held in {{{InfoDef}}} structures, which is why so many module subroutines take an {{{InfoDef}}} structure as a parameter.56 All AstroBEAR modules have at least one thing in common: initializing the problem domain. Within our code, the problem domain's data is held in {{{InfoDef}}} structures, which is why so many module subroutines take an {{{InfoDef}}} structure as a parameter. 57 57 58 58 There are two major data arrays in {{{InfoDef}}}: the {{{q}}} array and the {{{aux}}} array. {{{q}}} holds the cell-centered data and is used by all AstroBEAR simulations. The {{{aux}}} array holds face-centered data, and is only used in MHD problems. If you are running a strictly hydrodynamic problem or a hydrodynamic + elliptic problem, then you will not need {{{aux}}}. … … 61 61 ==== Dimensions ==== 62 62 63 {{{q}}} and {{{aux}}} are both 4D arrays, with the first four dimensions giving the coordinates and the fifth being a variable.63 {{{q}}} and {{{aux}}} are both 4D arrays, with the first three dimensions giving the coordinates and the fourth being a variable. 64 64 65 65 {{{