Skip to content

Commit

Permalink
fixed docs conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
jhmatthews committed Oct 18, 2024
2 parents 3ca7928 + f4c1100 commit 8cfc8f3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/sphinx/source/physics/limitations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,4 @@ This limitation can be important even if the input radiation field is steady. Fo

At present, Python is (at most) a 2.5-dimensional code. That is, the coordinate grid is restricted to 2D and assumed to be symmetric about the y-axis. However, photon packet transport takes place in 2D and allows for a rotational component of motion around the y-axis. In principle, upgrading Python to "full" 3D is fairly straightforward, but running such models would require significantly more computing resources. Memory requirements, in particular, scale directly with the number of grid cells used in a simulation. This is actually already a limitation for high-resolution models in 2D (or 2.5-D) and the reason we have set an upper limit of 500x500 cells as a default.

It is worth noting that Python's memory requirements for computationally demanding simulations are driven by the approach to parallelization that has been adopted. Currently, parallelization relies exclusively on ``MPI`` and requires the computational grid to be copied in full to each ``MPI`` process (i.e. each core). Memory requirements therefore increase rapidly as the number of processors is increased. This situation could be improved by adopting a hybrid ``OpenMP`` and ``MPI`` approach.

It is worth noting that Python's memory requirements for computationally demanding simulations are driven by the approach to parallelization that has been adopted. Currently, parallelization relies exclusively on ``MPI`` and requires the computational grid to be copied in full to each ``MPI`` process (i.e. each core). Memory requirements therefore increase rapidly as the number of processors is increased. This situation could be improved by adopting a hybrid ``OpenMP`` and ``MPI`` approach.

0 comments on commit 8cfc8f3

Please sign in to comment.