round to reasonable precision
without symmetry, there are 36000**3 = 46656000000000 orientations
This commit is contained in:
parent
bf60cffab5
commit
c2a5f37818
2
PRIVATE
2
PRIVATE
|
@ -1 +1 @@
|
||||||
Subproject commit 78641eab9dd03d2b11c4d2a2ecb222822fbbb2a9
|
Subproject commit 85a39db96387330e2509650558fddc31e048e6ea
|
|
@ -135,7 +135,7 @@ for name in filenames:
|
||||||
for i,data in enumerate(unique):
|
for i,data in enumerate(unique):
|
||||||
ori = damask.Rotation(data[0:4])
|
ori = damask.Rotation(data[0:4])
|
||||||
config_header += ['[Grain{}]'.format(i+1),
|
config_header += ['[Grain{}]'.format(i+1),
|
||||||
'(gauss)\tphi1 {:g}\tPhi {:g}\tphi2 {:g}'.format(*ori.asEulers(degrees = True)),
|
'(gauss)\tphi1 {:.2f}\tPhi {:.2f}\tphi2 {:.2f}'.format(*ori.asEulers(degrees = True)),
|
||||||
]
|
]
|
||||||
if options.axes is not None: config_header += ['axes\t{} {} {}'.format(*options.axes)]
|
if options.axes is not None: config_header += ['axes\t{} {} {}'.format(*options.axes)]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue