3535#include < sc_options.h>
3636
3737/* Refine a tree with quadrilateral elements.
38- * At every second adaptcall (level is even) remove the central elements
38+ * At every second adaptcall (level is even) remove the central elements
3939 * of the mesh or leave them untouched. Refine the remaining elements.
4040 *
4141 * |x|x|x|x| |x|x|x|x|
@@ -75,7 +75,7 @@ t8_adapt_menger_quad (t8_forest_t forest, [[maybe_unused]] t8_forest_t forest_fr
7575}
7676
7777/* Refine a tree with triangular elements.
78- * At every adaptcall remove the central element with child id 2
78+ * At every adaptcall remove the central element with child id 2
7979 * of the mesh or leave it untouched. Refine the remaining elements.
8080 */
8181static int
@@ -102,7 +102,7 @@ t8_adapt_sierpinski_tri (t8_forest_t forest, [[maybe_unused]] t8_forest_t forest
102102}
103103
104104/* Refine a tree with hexahedral elements.
105- * At every second adaptcall (level is even) remove the central elements
105+ * At every second adaptcall (level is even) remove the central elements
106106 * of the mesh or leave them untouched. Refine the remaining elements.
107107 */
108108static int
@@ -153,7 +153,7 @@ t8_adapt_menger_hex (t8_forest_t forest, [[maybe_unused]] t8_forest_t forest_fro
153153}
154154
155155/* Refine a tree with tetrahedral elements.
156- * At every adaptcall remove the elements with child id 2, 3, 5 and 6
156+ * At every adaptcall remove the elements with child id 2, 3, 5 and 6
157157 * of the mesh or leave it untouched. Refine the remaining elements.
158158 */
159159static int
@@ -180,7 +180,7 @@ t8_adapt_sierpinski_tet (t8_forest_t forest, [[maybe_unused]] t8_forest_t forest
180180}
181181
182182/* Refine a tree with prism elements.
183- * At every adaptcall remove the elements with child id 2 and 6
183+ * At every adaptcall remove the elements with child id 2 and 6
184184 * of the mesh or leave it untouched. Refine the remaining elements.
185185 */
186186static int
@@ -207,7 +207,7 @@ t8_adapt_sierpinski_prism (t8_forest_t forest, [[maybe_unused]] t8_forest_t fore
207207}
208208
209209/* Refine a tree with pyramid elements.
210- * At every adaptcall remove the elements with child id 1, 3, 5, 6 and 8
210+ * At every adaptcall remove the elements with child id 1, 3, 5, 6 and 8
211211 * of the mesh or leave it untouched. Refine the remaining elements.
212212 */
213213static int
@@ -252,7 +252,7 @@ t8_adapt_coarse ([[maybe_unused]] t8_forest_t forest, [[maybe_unused]] t8_forest
252252 * \param [in] level_end Final level of the fractal.
253253 * \param [in] iterative 1 if fractal is constructed iterative
254254 * 0 if recursive
255- * \param [in] remove 1 if elements that will not get refined will be
255+ * \param [in] remove 1 if elements that will not get refined will be
256256 * removed instead.
257257 * \param [in] trees Number of trees the forest will contain.
258258 * \param [in] eclass Element type for each tree.
@@ -267,12 +267,12 @@ t8_construct_fractal (int level_initial, int level_end, const int iterative, con
267267 T8_ASSERT (eclass == T8_ECLASS_QUAD || eclass == T8_ECLASS_TRIANGLE || eclass == T8_ECLASS_HEX
268268 || eclass == T8_ECLASS_TET || eclass == T8_ECLASS_PRISM || eclass == T8_ECLASS_PYRAMID);
269269
270- /* Quadrilateral and hexahedron elements must have an even initial level
270+ /* Quadrilateral and hexahedron elements must have an even initial level
271271 * greater 0, such that the refinement pattern can be applied. */
272272 T8_ASSERT ((eclass == T8_ECLASS_QUAD || eclass == T8_ECLASS_HEX) && level_initial > 1 && 0 == level_initial % 2
273273 && 0 == level_end % 2 );
274274
275- /* Set up userdata to adapt forest.
275+ /* Set up userdata to adapt forest.
276276 * user_data[0] -> level_end
277277 * user_data[1] -> {0, -2} -> return for adapt callback */
278278 int user_data[2 ] = { level_end, (remove == 1 ) ? -2 : remove };
@@ -385,7 +385,7 @@ main (int argc, char **argv)
385385
386386 if (sreturnA > BUFSIZ || sreturnB > BUFSIZ) {
387387 /* The usage string or help message was truncated */
388- /* Note: gcc >= 7.1 prints a warning if we
388+ /* Note: gcc >= 7.1 prints a warning if we
389389 * do not check the return value of snprintf. */
390390 t8_debugf (" Warning: Truncated usage string and help message to '%s' and '%s'\n " , usage, help);
391391 }
@@ -439,7 +439,7 @@ main (int argc, char **argv)
439439 sc_options_add_int (opt, ' c' , " coarse" , &coarse, 0 , " Number of times to coarse hole mesh." );
440440 sc_options_add_int (opt, ' r' , " runs" , &runs, 1 ,
441441 " Number of times the fractal gets constructed. The default is 1.\n "
442- " \t\t\t\t Note, the runntime summs up." );
442+ " \t\t\t\t Note, the runtime summs up." );
443443
444444 int parsed = sc_options_parse (t8_get_package_id (), SC_LP_ERROR, opt, argc, argv);
445445 if (helpme) {
0 commit comments