polishing
This commit is contained in:
parent
b00581f1be
commit
7d07a3752f
|
@ -18,7 +18,8 @@ scriptID = ' '.join([scriptName,damask.version])
|
||||||
# --------------------------------------------------------------------
|
# --------------------------------------------------------------------
|
||||||
|
|
||||||
parser = OptionParser(option_class=damask.extendableOption, usage='%prog options [ASCIItable(s)]', description = """
|
parser = OptionParser(option_class=damask.extendableOption, usage='%prog options [ASCIItable(s)]', description = """
|
||||||
Generate geometry description and material configuration from position, phase, and orientation (or microstructure) data.
|
Converts ASCII table. Input can be microstructure or orientation (as quaternion). For the latter,
|
||||||
|
phase information can be given additionally.
|
||||||
|
|
||||||
""", version = scriptID)
|
""", version = scriptID)
|
||||||
|
|
||||||
|
|
|
@ -43,6 +43,7 @@ for name in filenames:
|
||||||
damask.util.report(scriptName,name)
|
damask.util.report(scriptName,name)
|
||||||
|
|
||||||
geom = damask.Geom.from_file(StringIO(''.join(sys.stdin.read())) if name is None else name)
|
geom = damask.Geom.from_file(StringIO(''.join(sys.stdin.read())) if name is None else name)
|
||||||
|
|
||||||
grid = geom.get_grid()
|
grid = geom.get_grid()
|
||||||
size = geom.get_size()
|
size = geom.get_size()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue