From c417027fb6b9c028b2315f8db1abf429c974478b Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 10 Jul 2020 11:03:52 +0200 Subject: Update get_extents() documentation. --- src/qms.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/qms.c b/src/qms.c index b34c590..117c0c7 100644 --- a/src/qms.c +++ b/src/qms.c @@ -176,15 +176,14 @@ static void log_callback(const MG2DContext *ctx, int level, * differently. Since Cactus only allows distinguishing between "physical" and * "all other" boundaries, we need to compute the extents manually. * + * @param pextents On return will contain a nProcs*4-sized array, where for each + * i from 0 to nProcs, elements [i * 4 + 0/1] contain the index of the x/z + * component origin, while elements [i * 4 + 2/3] contain the number of points + * owned by that component along x/z dimension. + * * @param level_size will contain the number of points in x/z directions on the * complete refinement level, including all the ghost zones up to the outer * level boundary. - * - * @param component_start indices of the component origin in the refinement level - * - * @param component_size number of points owned by this component; when the - * component is on the outer level boundary, this includes all the ghost zones - * up to the outer boundary. */ static void get_extents(size_t **pextents, int *level_size, cGH *gh) { -- cgit v1.2.3