Skip to content

Commit

Permalink
p4est_bits: documentation of coordinate arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
cburstedde committed Jan 28, 2025
1 parent 3e82153 commit a2804d2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/p4est_bits.h
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ void p4est_quadrant_child (const p4est_quadrant_t * q,

/** Compute the coordinates of a quadrant's midpoint.
* \param [in] q Input quadrant, must be valid.
* \param [out] coord 2D coordinates are strictly inside the unit tree.
* \param [out] coords 2D coordinates are strictly inside the unit tree.
*/
void p4est_quadrant_volume_coordinates
(const p4est_quadrant_t * q, p4est_qcoord_t coords[]);
Expand Down Expand Up @@ -504,7 +504,7 @@ void p4est_quadrant_all_face_neighbors (const p4est_quadrant_t
* \param [in] q Input quadrant, must be valid.
* \param [in] face The face of which the midpoint coordinates
* are computed.
* \param [out] coord 2D mid-face coordinates are in/on the unit tree.
* \param [out] coords 2D mid-face coordinates are in/on the unit tree.
*/
void p4est_quadrant_face_coordinates
(const p4est_quadrant_t * q, int face, p4est_qcoord_t coords[]);
Expand Down Expand Up @@ -570,7 +570,7 @@ void p4est_quadrant_corner_node (const p4est_quadrant_t * q,
/** Compute the coordinates of a specific quadrant corner.
* \param [in] q Input quadrant, must be valid.
* \param [in] corner The corner for which the coordinates are computed.
* \param [out] coord 2D corner coordinates are in/on the unit tree.
* \param [out] coords 2D corner coordinates are in/on the unit tree.
*/
void p4est_quadrant_corner_coordinates
(const p4est_quadrant_t * q, int corner, p4est_qcoord_t coords[]);
Expand Down
8 changes: 4 additions & 4 deletions src/p8est_bits.h
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ void p8est_quadrant_sibling (const p8est_quadrant_t * q,

/** Compute the coordinates of a quadrant's midpoint.
* \param [in] q Input quadrant, must be valid.
* \param [out] coord 3D coordinates are strictly inside the unit tree.
* \param [out] coords 3D coordinates are strictly inside the unit tree.
*/
void p8est_quadrant_volume_coordinates
(const p8est_quadrant_t * q, p4est_qcoord_t coords[]);
Expand Down Expand Up @@ -525,7 +525,7 @@ void p8est_quadrant_all_face_neighbors (const p8est_quadrant_t
* \param [in] q Input quadrant, must be valid.
* \param [in] face The face of which the midpoint coordinates
* are computed.
* \param [out] coord 3D mid-face coordinates are in/on the unit tree.
* \param [out] coords 3D mid-face coordinates are in/on the unit tree.
*/
void p8est_quadrant_face_coordinates
(const p8est_quadrant_t * q, int face, p4est_qcoord_t coords[]);
Expand Down Expand Up @@ -569,7 +569,7 @@ void p8est_quadrant_edge_neighbor_extra (const p8est_quadrant_t
* \param [in] q Input quadrant, must be valid.
* \param [in] edge The edge of which the midpoint coordinates
* are computed.
* \param [out] coord 3D mid-edge coordinates are in/on the unit tree.
* \param [out] coords 3D mid-edge coordinates are in/on the unit tree.
*/
void p8est_quadrant_edge_coordinates
(const p8est_quadrant_t * q, int edge, p4est_qcoord_t coords[]);
Expand Down Expand Up @@ -635,7 +635,7 @@ void p8est_quadrant_corner_node (const p8est_quadrant_t * q,
/** Compute the coordinates of a specific quadrant corner.
* \param [in] q Input quadrant, must be valid.
* \param [in] corner The corner for which the coordinates are computed.
* \param [out] coord 3D corner coordinates are in/on the unit tree.
* \param [out] coords 3D corner coordinates are in/on the unit tree.
*/
void p8est_quadrant_corner_coordinates
(const p8est_quadrant_t * q, int corner, p4est_qcoord_t coords[]);
Expand Down

0 comments on commit a2804d2

Please sign in to comment.