Skip to content
Snippets Groups Projects
Commit bfcbb93e authored by Christoph Lehmann's avatar Christoph Lehmann
Browse files

added readme, moved files

parent 79f6be6b
No related branches found
No related tags found
No related merge requests found
# Merge two scalar data arrays
This script takes two scalar nodal fields from a vtu file and combines them to a
two-component vector field.
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
from vtk import * from vtk import *
from sys import argv, exit from sys import argv, exit
if len(argv) < 6: if len(argv) != 6:
print "Usage:", argv[0], "input.vtu scalar1 scalar2 vector_2d output.vtu" print "Usage:", argv[0], "input.vtu scalar1 scalar2 vector_2d output.vtu"
exit(1) exit(1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment