Changes between Version 22 and Version 23 of ModulesOnAstroBear


Ignore:
Timestamp:
07/13/11 15:46:28 (14 years ago)
Author:
ehansen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • ModulesOnAstroBear

    v22 v23  
    223223Writing a problem module can be extremely complicated, but for first time users writing relatively simple modules, here are a few helpful tips:
    224224* Understand what the five main subroutines are for, especially {{{ProblemModuleInit}}} and {{{ProblemGridInit}}}
    225 * Know which variables come with {{{DataDeclarations}}}, {{{GlobalDeclarations}}}, and {{{PhysicsDeclarations}}} and which variables have to be defined by the user
    226 * Understand the form of the {{{q}}} array
     225* Know which variables come with {{{DataDeclarations}}}, {{{GlobalDeclarations}}}, and {{{PhysicsDeclarations}}} and which variables must be defined in {{{problem.f90}}}
     226* Understand the form of the {{{q}}} array, and also the {{{aux}}} array if using MHD
    227227* Make sure data is scaled so that only computational units are stored in the data arrays
    228 * It is often helpful to write a module that can run in 2D or 3D so pay close attention to how {{{nDim}}} affects variables
     228* Since it is often useful to write a module that can run in 2D or 3D, pay close attention to how {{{nDim}}} affects variables
     229
     230[[BR]]
    229231
    230232=== Additional Physics ===