|
1 | 1 | Running phantom with APR
|
2 | 2 | ========================
|
3 | 3 |
|
4 |
| -APR allows you to arbitrarily set regions of your simulation to have different local resolutions. A description of the method and our implementation can be found in Nealon & Price 2024. |
| 4 | +APR allows you to arbitrarily set regions of your simulation to have different local resolutions. |
| 5 | +A description of the method and our implementation can be found in Nealon & Price 2024 (under review) and |
| 6 | +you should cite this work if you are using APR. |
5 | 7 |
|
6 | 8 | The rules of this method are:
|
7 |
| -- A mass factor of 2 is allowed between adjacent refinement levels (e.g. one parent 0> two children) |
8 |
| -- Regions are spherical but can be nested together like a layered onion |
9 |
| -- You cannot have both refinement and derefinement in the same simulation, e.g. the base refinement level has to be either the maximum or minimum |
10 |
| -- Try to ensure that particles have several sound crossing times between subsequent split/merge procedures to reduce noise |
| 9 | + 1. A mass factor of 2 is allowed between adjacent refinement levels (e.g. one parent 0> two children) |
| 10 | + 2. Regions are spherical but can be nested together like a layered onion |
| 11 | + 3. You cannot have both refinement and derefinement in the same simulation, e.g. the base refinement level has to be either the maximum or minimum |
| 12 | + 4. Try to ensure that particles have several sound crossing times between subsequent split/merge procedures to reduce noise |
11 | 13 |
|
12 | 14 |
|
13 | 15 | Compiling Phantom with APR
|
@@ -46,11 +48,11 @@ If you are derefining the base level will be apr_max.
|
46 | 48 | apr_type = 2 ! 1: static, 2: moving sink, 3: create clumps
|
47 | 49 |
|
48 | 50 | Here you choose what kind of region you want. Current options include:
|
49 |
| -1. A position fixed in space |
50 |
| -2. Tracking a particular sink particle |
51 |
| -3. Tracking a gravitationally bound clump (under development). |
52 |
| -Depending on what you choose here you will get additional options to choose to describe the properties of the region you selected. |
53 |
| -You may need to re-run to get the right options if you alter apr_type. To add your own, new region you can edit the apr_region.f90 file. |
| 51 | + 1. A position fixed in space |
| 52 | + 2. Tracking a particular sink particle |
| 53 | + 3. Tracking a gravitationally bound clump (under development). |
| 54 | +Depending on what you choose here you will get additional options to describe the properties of the region you selected. |
| 55 | +You may need to re-run to get the right options if you alter apr_type. To add your own new region you can edit the apr_region.f90 file. |
54 | 56 | Note for now that we only allow spherical regions.
|
55 | 57 |
|
56 | 58 | ::
|
|
0 commit comments