Changes between Version 44 and Version 45 of ModulesOnAstroBear


Ignore:
Timestamp:
06/27/13 17:55:21 (12 years ago)
Author:
Jonathan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • ModulesOnAstroBear

    v44 v45  
    113113 * Better approximate the volume average either by
    114114  * Analytical integration (often non-trivial if possible)
    115   * Numerical integration (ie sub-sampling)
     115  * Numerical integration (ie SubSampling)
    116116
    117117The {{{q}}} array takes the form {{{q(x,y,z,variable)}}} where {{{variable}}} is an index that refers to the various physical quantities such as density, momentum, energy, etc. in each cell. The order of the quantities in the {{{variable}}} array is dependent on the equation of state, whether or not magnetic fields are being tracked, etc...  For 2D hydro (non MHD) the order of the fields is {{{(rho, px, py, E)}}}. So if we wanted to set the energy of the cell at integer location {{{i,j,k}}} we would use