Changes between Version 7 and Version 8 of ModulesOnAstroBear
- Timestamp:
- 07/12/11 17:48:48 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ModulesOnAstroBear
v7 v8 54 54 ==== Simulation Data ==== 55 55 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. 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. To make use of the {{{InfoDef}}} structure you will need to have the statement {{{USE DataDeclarations}}} at the beginning of {{{problem.f90}}}. 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}}}.