Skip to content
Snippets Groups Projects
Commit 835167a0 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Documentation fixes.

parent c7df53e3
No related branches found
No related tags found
1 merge request!579Lean gravity option
......@@ -164,9 +164,13 @@ __attribute__((always_inline)) INLINE static void gravity_init_gpart(
* Multiplies the forces and accelerations by the appropiate constants.
* Applies cosmological correction for periodic BCs.
*
* No need to apply the potential normalisation correction for periodic
* BCs here since we do not compute the potential.
*
* @param gp The particle to act upon
* @param const_G Newton's constant in internal units.
* @param potential_normalisation Term to be added to all the particles.
* @param Are we using periodic BCs?
*/
__attribute__((always_inline)) INLINE static void gravity_end_force(
struct gpart* gp, float const_G, const float potential_normalisation,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment