wiki:GlobalDataExplained

Version 2 (modified by Brandon Shroyer, 14 years ago) ( diff )

global.data Explained

Arguably the most important data file in AstroBEAR 2.0, global.data contains global domain and solver data. This data is broken up into several namelists, which are read in by different sections of the code.


GlobalData

The GlobalData namelist contains global parameters. These parameters hold for the entire problem domain, and many of them actually describe it.

  • nDim: The number of dimensions in the problem. For AstroBEAR, this should be either 2 or 3, since AstroBEAR only does 2D and 3D problems. A 1D problem can be approximated with a long, narrow 2D problem domain.
  • MaxLevel: The maximum refinement level for this simulation. MaxLevel is the number of refinement levels over the base grid (so a MaxLevel of 0 is fixed-grid). This value can never be less than 0, and if it is greater than 0 then the problem is an AMR problem.
  • MinimumGridPoints: The minimum number of cells per dimension that a grid can have. Since a grid must have at least one cell, MinimumGridPoints should never be less than 1. A low MinimumGridPoints allows AstroBEAR to create smaller grids, which lets it refine more efficiently. Low MinimumGridPoints values also run the risk of creating a lot more grids, which will boost administrative and communication costs.
  • nDomains: The number of domains comprising the problem domain. Unless you have a specific reason for wanting multiple domains in your problem, it is best to leave this set to 1.


LevelData

IOData

DomainData

PoissonData

Note: See TracWiki for help on using the wiki.