summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-07-10 11:03:52 +0200
committerAnton Khirnov <anton@khirnov.net>2020-07-10 11:03:52 +0200
commitc417027fb6b9c028b2315f8db1abf429c974478b (patch)
tree2e0856351374d62c1d9f856cc0fd7e59e83de32f
parent2f53f91d651db1993f5bf859f530cbd7b149f5c6 (diff)
Update get_extents() documentation.
-rw-r--r--src/qms.c11
1 files 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)
{