File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -87,15 +87,18 @@ The boundary conditions can be following
87
87
| origin | | In spherical coordinates, artificially extends the grid used to compute the potential close to R=0. |
88
88
| | | should only be used in X1-beg direction. |
89
89
+-----------------------+------------------------------------------------------------------------------------------------------------------+
90
+ | shearingbox | Shearingbox boundary conditions. |
91
+ +-----------------------+------------------------------------------------------------------------------------------------------------------+
90
92
| userdef | |User-defined boundary conditions. The boundary condition function should be enrolled in the setup constructor |
91
93
| | | (see :ref: `userdefBoundaries `). |
92
94
+-----------------------+------------------------------------------------------------------------------------------------------------------+
93
95
94
96
.. note ::
95
97
The method in fully periodic setups requires the removal of the mean gas density
96
- before solving Poisson equation. This is done automatically if all of the self-gravity boundaries are set to ``periodic ``.
97
- Hence, make sure to specify all self-gravity boundary conditions as periodic for such setups, otherwise the solver will
98
+ before solving Poisson equation. This is done automatically if all of the self-gravity boundaries are set to ``periodic `` or `` shearingbox `` .
99
+ Hence, make sure to specify all self-gravity boundary conditions as periodic (or shearingbox) for such setups, otherwise the solver will
98
100
fail to converge.
101
+ Note that in these cases, if the initial density is uniform, the self-gravity solver will fail as this correspond to a vaccum initial state.
99
102
100
103
The selfGravity module in *Idefix * is fully parallelised. This means that one can have a MPI domain decomposition in any spatial direction
101
104
either on CPU or GPU.
You can’t perform that action at this time.
0 commit comments