Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a typo #1246

Merged
merged 3 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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