| 2 | ---- |
| 3 | |
| 4 | |
| 5 | '''Density injection''' |
| 6 | |
| 7 | -Define a spherical cone centered on the sink particle of height rsink [[br]] |
| 8 | -Prescribe some function that distributes accreted mass over the cone, with some radial and angular dependance[[br]] |
| 9 | -Given this is a discretized operation, and the sink is not necessarily positioned at the center of the conical region, the masses in the 2 lobes may be slightly different [[br]] |
| 10 | -Thus, compute a correction factor for each of the cells to multiply the mass by when applying it to the cones[[br]] |
| 11 | -Rinse and repeat |