Skip to content

Commit

Permalink
remove --vectordata tag
Browse files Browse the repository at this point in the history
  • Loading branch information
richahert committed May 4, 2020
1 parent 252ab7c commit 94537d4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ OptionMap getOptions(int argc, char *argv[])
("mesh", po::value<string>()->required(), "Mesh directory. For each timestep i there will be .dti (e.g. .dt4) appended to the directory name")
("output", po::value<string>()->default_value("output"), "Output file name.")
("verbose,v", po::bool_switch(), "Enable verbose output") // not explicitely used, handled by easylogging
("vectordata", po::bool_switch(), "Enable vector data. Otherwise scalar data is assumed.")
;

po::variables_map vm;
Expand Down
2 changes: 1 addition & 1 deletion src/mesh_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def read_vtk(filename, tag = None, datadim=1):
pointdata = []
cell_types = []
points = [vtkmesh.GetPoint(i) for i in range(vtkmesh.GetNumberOfPoints())]
print("Import "+ tag + " from " +filename)
print("Read " +filename)
for i in range(vtkmesh.GetNumberOfCells()):
cell = vtkmesh.GetCell(i)
cell_type = cell.GetCellType()
Expand Down

0 comments on commit 94537d4

Please sign in to comment.