Skip to content

Commit

Permalink
Merge pull request #1246 from DLR-AMR/fix-typo_in_example
Browse files Browse the repository at this point in the history
Fix a typo
  • Loading branch information
Davknapp authored Sep 13, 2024
2 parents 9080ca7 + 37691ab commit 4fa0640
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions example/IO/cmesh/gmsh/t8_read_msh_file.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
t8code is a C library to manage a collection (a forest) of multiple
connected adaptive space-trees of general element types in parallel.
Copyright (C) 2015 the developers
Copyright (C) 2024 the developers
t8code is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -140,7 +140,7 @@ main (int argc, char *argv[])

opt = sc_options_new (argv[0]);
sc_options_add_switch (opt, 'h', "help", &helpme, "Display a short help message.");
sc_options_add_string (opt, 'f', "prefix", &prefix, "", "The prefix of the tetgen files.");
sc_options_add_string (opt, 'f', "prefix", &prefix, "", "The prefix of the gmsh files.");
sc_options_add_switch (opt, 'p', "partition", &partition, "If true the generated cmesh is repartitioned uniformly.");
sc_options_add_int (opt, 'd', "dim", &dim, 2, "The dimension of the mesh");
sc_options_add_int (opt, 'm', "master", &master, -1,
Expand Down
5 changes: 2 additions & 3 deletions example/IO/forest/gmsh/t8_gmsh_to_vtk.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,8 @@ main (int argc, char **argv)
sc_options_add_string (opt, 'f', "fileprefix", &fileprefix, NULL, "Fileprefix of the msh and brep files.");
sc_options_add_int (opt, 'l', "level", &level, 2, "The uniform refinement level. Default: 2");
sc_options_add_int (opt, 'd', "dimension", &dim, 3, "The dimension of the mesh. Default: 3");
sc_options_add_int (
opt, 'c', "use_cad", &use_cad, 0,
"Enable CAD-based curvilinear geometry. Needs a `.brep` file with the same file prefix. Default: 0");
sc_options_add_switch (opt, 'c', "use_cad", &use_cad,
"Enable CAD-based curvilinear geometry. Needs a `.brep` file with the same file prefix.");
parsed = sc_options_parse (t8_get_package_id (), SC_LP_ERROR, opt, argc, argv);

if (helpme) {
Expand Down

0 comments on commit 4fa0640

Please sign in to comment.