In order to compute the physics in the correct order, SWIFT uses dependencies in between the tasks.
In Analysis Tools, we describe our tool to generate a graph of the dependencies but,
unfortunately, the graphs tend to be too large.
Therefore in this section we show some smaller graphs created by hand (thus they are not necessarily reflecting an actual run depending on the physics simulated).
The task in the form of ellipses are computational tasks while the diamond are communications.
The colors are picked depending on the type of physics computed (blue for hydro, yellow for stars, red for gravity and black for the rest).
The gray tasks are implicit tasks that do not compute anything but are useful to simplify the task dependencies.
The first graph shows the full graph (without AGN and sink particles) but with some tasks collapsed into a single meta-task
(hydrodynamics, gravity and stellar feedback):
As the hydrodynamics are described in Hydrodynamics Schemes, we are only showing the gravity and stellar feedback here:
For documentation on the radiative transfer tasking system, please refer to its