diff --git a/doc/doxygen/coordinates.dox b/doc/doxygen/coordinates.dox index cb7c19bf6..81e0d06c1 100644 --- a/doc/doxygen/coordinates.dox +++ b/doc/doxygen/coordinates.dox @@ -21,7 +21,7 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -/** \page coordinates The p4est coordinate system +/** \page forest_coordinates The p4est coordinate system * * The forest-of-octrees coordinate system. * @@ -92,11 +92,12 @@ * corner at the cross of four (2D) or eight (3D) quadrants leads to the * same coordinate tuple and derived hash from all of these perspectives. * For an example of using this mechanism, and as a guide to use the hash - * functionality available; see \ref test_coordinates2.c (containing code + * functionality available, see \ref test_coordinates2.c (containing code * for both the 2D and the 3D program). */ /** \example test_coordinates2.c * * Generate coordinate tuples for quadrants, uniquify and hash them. + * Please see the page on \ref forest_coordinates for further details. */ diff --git a/test/test_coordinates2.c b/test/test_coordinates2.c index dfc20ddfb..626edd8ae 100644 --- a/test/test_coordinates2.c +++ b/test/test_coordinates2.c @@ -87,7 +87,7 @@ coordinates_equal_fn (const void *v1, const void *v2, const void *u) !memcmp (k1->coords, k2->coords, P4EST_DIM * sizeof (p4est_qcoord_t)); } -/* Check whether a p4est node quadrant sits at a given coordinate tuple */ +/* Check whether a p4est node quadrant sits at a given coordinate tuple */ static int test_node_coordinates (const p4est_quadrant_t *r, const p4est_qcoord_t coords[])