Changes between Version 13 and Version 14 of ModulesOnAstroBear


Ignore:
Timestamp:
07/12/11 19:26:31 (14 years ago)
Author:
ehansen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • ModulesOnAstroBear

    v13 v14  
    5555
    5656{{{
    57 ! DataDeclarations makes the InfoDef type available, GlobalDeclarations is required for grid information, and PhysicsDeclarations is useful for some physical quantities like gamma.
    58 !
     57! DataDeclarations makes the InfoDef type available, GlobalDeclarations is required for grid information,
     58! and PhysicsDeclarations is useful for certain physical quantities like gamma.
    5959USE DataDeclarations
    6060USE GlobalDeclarations
     
    6565==== Simulation Data ====
    6666
    67 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}}}:
    68 {{{
    69 USE DataDeclarations
    70 }}}
     67All 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.
    7168
    7269There 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 {{{q}}} array takes the form {{{q(x,y,z,variable)}}} where {{{variable}}} is itself a 1D array that holds the physical quantities such as density, momentum, energy, etc. The order of the quantities in the {{{variable}}} array is {{{(rho, px, py, pz, E)}}}. 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}}}.