simplified disorientation calculation. performed FEM check that "grainrotation" reflects the *active* rotation from the starting orientation to the current one with respect to the lab coord system (as expected).
This commit is contained in:
parent
97185fb30b
commit
affd383ef8
|
@ -2936,9 +2936,9 @@ logical error
|
||||||
else
|
else
|
||||||
orientation = math_RtoQuaternion(transpose(R))
|
orientation = math_RtoQuaternion(transpose(R))
|
||||||
endif
|
endif
|
||||||
crystallite_rotation(1:4,g,i,e) = math_QuaternionDisorientation(math_qConj(orientation), &
|
crystallite_rotation(1:4,g,i,e) = math_QuaternionDisorientation(crystallite_orientation0(1:4,g,i,e), & ! active rotation from ori0
|
||||||
math_qConj(crystallite_orientation0(1:4,g,i,e)), &
|
orientation, & ! to current orientation
|
||||||
0_pInt ) ! we don't want symmetry here
|
0_pInt ) ! we don't want symmetry here
|
||||||
crystallite_orientation(1:4,g,i,e) = orientation
|
crystallite_orientation(1:4,g,i,e) = orientation
|
||||||
enddo
|
enddo
|
||||||
enddo
|
enddo
|
||||||
|
|
Loading…
Reference in New Issue