Skip to content

Commit

Permalink
Update Readme and fix output file names in example 5 & 6
Browse files Browse the repository at this point in the history
  • Loading branch information
winesitter committed Jul 17, 2022
1 parent 3697152 commit 4f8132a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ python scipts/plot_mesh.py Mesh.txt (-s -v -e -b -f)
```
Optional flags:
* `-s`: Add a contour plot of the underlying size-function
* `-c`: Plot elements with their respective color values
* `-v`: Add the mesh vertices and their indices to the plot
* `-e`: Add the mesh element indices to the plot
* `-b`: Highlight the mesh boundaries
Expand Down
2 changes: 1 addition & 1 deletion src/examples/example_5.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ void run_example_5()
------------------------------------------------------------------*/
std::string source_dir { TQMESH_SOURCE_DIR };
std::string file_name
{ source_dir + "/aux/example_data/example_5" };
{ source_dir + "/aux/example_data/Example_5" };
LOG(INFO) << "Writing mesh output to: " << file_name << ".txt";

inner_mesh.write_to_file( file_name, ExportType::txt );
Expand Down
2 changes: 1 addition & 1 deletion src/examples/example_6.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ void run_example_6()
------------------------------------------------------------------*/
std::string source_dir { TQMESH_SOURCE_DIR };
std::string file_name
{ source_dir + "/aux/example_data/example_6" };
{ source_dir + "/aux/example_data/Example_6" };
LOG(INFO) << "Writing mesh output to: " << file_name << ".txt";

mesh.write_to_file( file_name, ExportType::txt );
Expand Down

0 comments on commit 4f8132a

Please sign in to comment.