| 112 | In this specific module refining is accomplished by defining a region around the disk that will always be marked for refinement. For more information how this is done please visit [https://clover.pas.rochester.edu/trac/astrobear/wiki/ControllingRefinement Controlling Refinement in AstroBEAR 2.0].[[BR]] |
| 113 | |
| 114 | Below is an image of what the mesh looks like in the default module: |
| 115 | |
| 116 | [[Image(visit0040.png, 400px)]] |
| 117 | |
| 118 | A subroutine named ''ProblemSetErrFlag'' in ''problem.f90'' is responsible for marking the regions for refinement in our Disk module and giving the Mesh the pattern seen above. [[BR]] |
| 119 | Depending on the initial conditions of a specific run it may be the case that a disk undergoes gravitational collapse and its boundaries can expand within reasonable limits. This event can cause a significant part of the disk to outflow the refined area, and a consequential loss of information. |
| 120 | |
| 121 | ''ProblemSetErrFlag'' can be altered in order to address this issue: |
| 122 | |
| 123 | |
| 124 | |
| 125 | [[BR]] |
| 126 | To |