Changes between Version 8 and Version 9 of ModulesOnAstroBear
- Timestamp:
- 07/12/11 18:59:53 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ModulesOnAstroBear
v8 v9 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. To make use of the {{{InfoDef}}} structure you will need to have the statement {{{USE DataDeclarations}}} at the beginning of {{{problem.f90}}}. 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 this statement is required at the beginning of {{{problem.f90}}}: 57 {{{ 58 USE DataDeclarations 59 }}} 57 60 58 61 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}}}.