Refinement parameters#
The block named &REFINE_PARAMS contains the parameters related to grid refinement.
Variable name |
Fortran type |
Default value |
Description |
|---|---|---|---|
|
|
0.0 |
Geometry-based strategy: center of the refined region at each level of the AMR grid. |
|
|
0.0 |
Geometry-based strategy: center of the refined region at each level of the AMR grid. |
|
|
0.0 |
Geometry-based strategy: center of the refined region at each level of the AMR grid. |
|
|
1e10 |
Geometry-based strategy: diameter (yes, not a radius) of the refined region at each level. |
|
|
1.0 |
Geometry-based strategy: ratio Y/X of the refined region at each level. |
|
|
1.0 |
Geometry-based strategy: ratio Z/X of the refined region at each level. |
|
|
2.0 |
Geometry-based strategy: exponent of the norm. |
|
|
-1.0 |
Jeans refinement strategy: each level is refined if the cell size exceeds the local Jeans length divided by jeans_refine(ilevel). |
|
|
-1.0 |
Mass threshold for particle-based refinement |
|
|
-1.0 |
Quasi-Lagrangian strategy: each level is refined if the baryons mass in a cell exceeds |
|
|
0.0 |
Quasi-Lagrangian strategy: |
|
|
-1.0 |
Discontinuity-based strategy: density gradient relative variations above which a cell is refined |
|
|
-1.0 |
Discontinuity-based strategy: velocity gradient relative variations above which a cell is refined |
|
|
-1.0 |
Discontinuity-based strategy: pressure gradient relative variations above which a cell is refined |
|
|
1e-10 |
Density floor below which gradients are ignored |
|
|
1e-10 |
Velocity floor below which gradients are ignored |
|
|
1e-10 |
Pressure floor below which gradients are ignored |
|
|
-1 |
Variable index for refinement |
|
|
-1.0 |
Threshold for variable-based refinement |
|
|
0 |
Variables used to perform interpolation (prolongation) and averaging (restriction). |
|
|
1 |
Type of slope limiter used in the interpolation scheme for newly refined cells. |
|
|
|
Refines grid around sinks to levelmax |