99 | | === Fixed grid to AMR === |
| 100 | The resolution of the simulation can be changed by modifying the following fields contained in [https://clover.pas.rochester.edu/trac/astrobear/wiki/GlobalDataExplained global.data]: |
| 101 | {{{ |
| 102 | MaxLevel = 2 ! Maximum level for this simulation. |
| 103 | GmX = 32, ! number of cells in x direction |
| 104 | 32, ! number of cells in y direction |
| 105 | 32, ! number of cells in z direction (set to 1 for 2D problems). |
| 106 | |
| 107 | }}} |
| 108 | |
| 109 | MaxLevel regulates the maximum amount of AMR levels, while GmX sets the number of cells in a fixed grid array. |
| 110 | '''Warning:''' global.data contains another array entry, ''Domain%mGlobal'' which should usually be set to (1, 1, 1, GmX(1), GmX(2), GmX(3)), changing Gmx without modifying Domain%mGlobal as well could lead to instabilities. |
| 111 | |
| 112 | |
| 113 | |