| | 16 | Example: |
| | 17 | |
| | 18 | refineVariableFactor = 1.d-21,0d0,0d0,0d0,0d0,0d0,0d0,0d0,0d0,0d0,0d0,0d0,0d0 |
| | 19 | |
| | 20 | The input here controls the variable to which refinement is triggered. By setting a slot = 0 means that refinement will not be triggered for this variable. The smaller the number, the less the refinement. |
| | 21 | |
| | 22 | refineVariableFactor is defined in module_control.f90, in the subroutine SetErrFlag. |
| | 23 | |
| | 24 | Additionally, one can modify the SetErrFlags subroutine in problem.f90 to indicate precise ''regions'' of refinement. |
| | 25 | |
| | 26 | Example: |
| | 27 | |
| | 28 | [[Image()]] |
| | 29 | |
| | 30 | |
| | 31 | = Helpful Links = |
| | 32 | |
| | 33 | |
| | 34 | |
| | 35 | http://www.mpia.de/homes/dullemon/lectures/fluiddynamics/Chapter_5.pdf - Nicely composed introduction chapter on numerical hydrodynamics. |