| 48 | |
| 49 | The {{{LevelData}}} namelist contains values that are local to a given level. Every grid on a given level {{{n}}} will have the same {{{LevelData}}} attributes, but the values for level {{{j != n}}} might be substantially different. |
| 50 | |
| 51 | All {{{LevelData}}} variables are multi-element. The data file should have values for every level from {{{0}}} to {{{MaxLevel}}} (see the [GlobalDataExplained#GlobalData GlobalData] namelist above). |
| 52 | |
| 53 | * '''{{{CoarsenRatio}}}''': The refinement ratio for grids on that level. A {{{CoarsenRatio}}} of 2 on level ''n'' means that an {{{i*j*k}}} cell refined region on level ''n'' will produce a {{{2i*2j*2k}}} grid on level ''n+1''. Virtually all of our simulations use {{{CoarsenRatio}}}s of 2. The {{{CoarsenRatio}}} values should ''always'' be integers. |
| 54 | |
| 55 | * '''{{{qTolerance}}}''': These tolerances are used within {{{SetErrFlags()}}} to determine whether or not to flag a cell for refinement. The higher the tolerance, the more extreme the variable gradients have to be to warrant refinement. The {{{qTolerance}}} variables are double-precision and must be greater than 0.d0, but a wide range of values is possible. 1.d-3 and 1.d-5 are common choices. |
| 56 | |
| 57 | * '''{{{DesiredFillRatios}}}''': Single or double precision values between 0 and 1. The desired fill ratio determines what fraction of the cells in a new subgrid must be flagged for refinement. If a potential subgrid's fill ratio is below its parent grid's {{{DesiredFillRatios}}} value, then AstroBEAR will attempt to break it into smaller grids with higher fill ratios. Problems with low fill ratios will refine more cells than they need to, but will likely use fewer grids to do so. It becomes a trade-off between the cost of additional refinement and the cost of grid management and communication. Typical fill ratios range between .5 to .99 (although .99 can be extremely slow). |