Skip to content

Commit cdfade7

Browse files
authored
Merge pull request #2165 from DLR-AMR/typos
Improvement: Remove outdated TODOs and fix small typos
2 parents 020ec74 + 87322ee commit cdfade7

12 files changed

+6
-24
lines changed

benchmarks/t8_time_forest_partition.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ typedef struct
5050
{
5151
double c_min, c_max; /* constants that define the thickness of the refinement region */
5252
t8_3D_vec normal; /* normal vector to the plane E */
53-
int base_level; /* A given level that is not coarsend further, see -l argument */
53+
int base_level; /* A given level that is not coarsened further, see -l argument */
5454
int max_level; /* A max level that is not refined further, see -L argument */
5555
} adapt_data_t;
5656

@@ -126,7 +126,7 @@ t8_time_forest_cmesh_mshfile (t8_cmesh_t cmesh, const char *vtu_prefix, sc_MPI_C
126126

127127
t8_global_productionf ("Committed cmesh with %lli global trees.\n", (long long) t8_cmesh_get_num_trees (cmesh));
128128

129-
/* If the input cmesh is partitioned then we use a partitioned cmehs
129+
/* If the input cmesh is partitioned then we use a partitioned cmesh
130130
* and also repartition it in each timestep (happens automatically in
131131
* t8_forest_commit). We have to initially start with a uniformly refined
132132
* cmesh in order to be able to construct the forest on it.

src/t8_forest/t8_forest_adapt.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
* We define the adapt routine to refine and coarsen a forest of trees in this file.
2525
*/
2626

27-
/* TODO: begin documenting this file: make doxygen 2>&1 | grep t8_forest_adapt */
28-
2927
#ifndef T8_FOREST_ADAPT_H
3028
#define T8_FOREST_ADAPT_H
3129

src/t8_forest/t8_forest_general.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
* We define the forest of trees in this file.
2525
*/
2626

27-
/* TODO: begin documenting this file: make doxygen 2>&1 | grep t8_forest */
28-
2927
#ifndef T8_FOREST_GENERAL_H
3028
#define T8_FOREST_GENERAL_H
3129

src/t8_forest/t8_forest_geometrical.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
* We define the geometrical queries for a forest of trees in this file.
2525
*/
2626

27-
/* TODO: begin documenting this file: make doxygen 2>&1 | grep t8_forest */
28-
2927
#ifndef T8_FOREST_GEOMETRICAL_H
3028
#define T8_FOREST_GEOMETRICAL_H
3129

@@ -123,7 +121,7 @@ t8_forest_element_diam (t8_forest_t forest, t8_locidx_t ltreeid, const t8_elemen
123121
* \param [in] forest The forest.
124122
* \param [in] ltreeid The forest local id of the tree in which the element is.
125123
* \param [in] element The element.
126-
* \return The diameter of the element.
124+
* \return The volume of the element.
127125
* \note This function assumes d-linear interpolation for the
128126
* tree vertex coordinates.
129127
* \a forest must be committed when calling this function.

src/t8_forest/t8_forest_ghost.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525
* for a forest of trees in this file.
2626
*/
2727

28-
/* TODO: begin documenting this file: make doxygen 2>&1 | grep t8_forest_ghost */
29-
3028
#ifndef T8_FOREST_GHOST_H
3129
#define T8_FOREST_GHOST_H
3230

src/t8_forest/t8_forest_io.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
* TODO
2525
*/
2626

27-
/* TODO: begin documenting this file: make doxygen 2>&1 | grep t8_forest */
28-
2927
#ifndef T8_FOREST_IO_H
3028
#define T8_FOREST_IO_H
3129

src/t8_forest/t8_forest_iterate.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525
* callback functions on the leaf elements.
2626
*/
2727

28-
/* TODO: begin documenting this file: make doxygen 2>&1 | grep t8_forest_iterate */
29-
3028
#ifndef T8_FOREST_ITERATE_H
3129
#define T8_FOREST_ITERATE_H
3230

src/t8_forest/t8_forest_partition.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
* We define the partition routine to partition a forest of trees in this file.
2525
*/
2626

27-
/* TODO: begin documenting this file: make doxygen 2>&1 | grep t8_forest_partition */
28-
2927
#ifndef T8_FOREST_PARTITION_H
3028
#define T8_FOREST_PARTITION_H
3129

src/t8_forest/t8_forest_partition_for_coarsening.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
T8_EXTERN_C_BEGIN ();
3535

36-
/** \brief Correct the partitioning if element families are split accorss process boundaries.
36+
/** \brief Correct the partitioning if element families are split across process boundaries.
3737
*
3838
* The default partitioning distributes the elements into equally-sized partitions. For coarsening, however,
3939
* all elements of a family have to be on the same process in order to be coarsened into their parent element.

src/t8_forest/t8_forest_private.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525
* of the official t8_forest.h interface but used internally.
2626
*/
2727

28-
/* TODO: begin documenting this file: make doxygen 2>&1 | grep t8_forest_private */
29-
3028
#ifndef T8_FOREST_PRIVATE_H
3129
#define T8_FOREST_PRIVATE_H
3230

0 commit comments

Comments
 (0)