Merge branch 'fix-O-unit' into 'development'

correct unit for quaternion output O

See merge request damask/DAMASK!647
This commit is contained in:
Philip Eisenlohr 2022-11-09 17:32:10 +00:00
commit 5d28260d2d
1 changed files with 1 additions and 1 deletions

View File

@ -926,7 +926,7 @@ subroutine results(group,ph)
'second Piola-Kirchhoff stress','Pa')
case('O')
call results_writeDataset(to_quaternion(phase_O(ph)%data),group//'/mechanical','O', &
'crystal orientation as quaternion','q_0 (q_1 q_2 q_3)')
'crystal orientation as quaternion q_0 (q_1 q_2 q_3)','1')
call results_addAttribute('lattice',phase_lattice(ph),group//'/mechanical/O')
if (any(phase_lattice(ph) == ['hP', 'tI'])) &
call results_addAttribute('c/a',phase_cOverA(ph),group//'/mechanical/O')