This commit is contained in:
Martin Diehl 2020-05-25 20:10:43 +02:00
parent 248f199a7b
commit b6812d58b0
1 changed files with 3 additions and 2 deletions

View File

@ -48,8 +48,9 @@ for name in filenames:
damask.util.report(scriptName,name)
geom = damask.Geom.from_file(StringIO(''.join(sys.stdin.read())) if name is None else name)
geom.renumber(sub[0::2],sub[1::2],origin=geom.origin+options.origin)
geom.microstructure+= options.microstructure
geom.substitute(sub[0::2],sub[1::2])
geom.set_origin(geom.origin+options.origin)
geom.set_microstructure(geom.microstructure+options.microstructure)
damask.util.croak(geom)
geom.add_comments(scriptID + ' ' + ' '.join(sys.argv[1:]))
geom.to_file(sys.stdout if name is None else name,pack=False)