Skip to content

Commit

Permalink
wrong mesh suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
cwsmith committed Mar 8, 2024
1 parent 24a26e7 commit 630e4ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ugawg_hsc_oshmeshload.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
int main(int argc, char** argv) {
auto lib = Omega_h::Library(&argc, &argv);
Omega_h::CmdLine cmdline;
cmdline.add_arg<std::string>("mesh_in.meshb");
cmdline.add_arg<std::string>("mesh_in.osh");
if (!cmdline.parse_final(lib.world(), &argc, argv)) return -1;
auto mesh_path = cmdline.get<std::string>("mesh_in.meshb");
auto mesh_path = cmdline.get<std::string>("mesh_in.osh");
Omega_h::Mesh mesh(&lib);
Omega_h::binary::read(mesh_path.c_str(), lib.world(), &mesh);

Expand Down

0 comments on commit 630e4ed

Please sign in to comment.