diff --git a/src/debug.c b/src/debug.c index 3356302e67b76452e643fc655cc595cf96ddef59..e7b60c52f92fdb64fdefc8ac5c5e353f1ab57e6e 100644 --- a/src/debug.c +++ b/src/debug.c @@ -59,7 +59,6 @@ * * (Should be used for debugging only as it runs in O(N).) */ - void printParticle(const struct part *parts, struct xpart *xparts, long long int id, size_t N) { @@ -83,6 +82,7 @@ void printParticle(const struct part *parts, struct xpart *xparts, * the standard output. * * @param gparts The array of g-particles. + * @param parts The array of particles. * @param id The id too look for. * @param N The size of the array of g-particles. * @@ -117,7 +117,6 @@ void printgParticle(const struct gpart *gparts, const struct part *parts, * @param p The particle to print * @param xp The extended data ot the particle to print */ - void printParticle_single(const struct part *p, const struct xpart *xp) { printf("## Particle: id=%lld", p->id); diff --git a/src/part.c b/src/part.c index 7634040adc6ea0a4f84fca50dd12c0a8cdbe56c4..b00eaccaae0e86f7c4e8019a307f0bf455687b7c 100644 --- a/src/part.c +++ b/src/part.c @@ -30,11 +30,11 @@ #include "part.h" /** - * @brief Re-link the #gparts associated with the list of #parts. + * @brief Re-link the #gpart%s associated with the list of #part%s. * * @param parts The list of #part. * @param N The number of particles to re-link; - * @param offset The offset of #parts relative to the global parts list. + * @param offset The offset of #part%s relative to the global parts list. */ void part_relink_gparts(struct part *parts, size_t N, ptrdiff_t offset) { for (size_t k = 0; k < N; k++) { @@ -45,7 +45,7 @@ void part_relink_gparts(struct part *parts, size_t N, ptrdiff_t offset) { } /** - * @brief Re-link the #gparts associated with the list of #parts. + * @brief Re-link the #gpart%s associated with the list of #part%s. * * @param gparts The list of #gpart. * @param N The number of particles to re-link;