indices were mixed up
This commit is contained in:
parent
2d51c0595b
commit
3fa699ad22
|
@ -2228,7 +2228,7 @@ function lattice_slip_normal(Nslip,structure,cOverA) result(n)
|
||||||
real(pReal), dimension(3,3,sum(Nslip)) :: coordinateSystem
|
real(pReal), dimension(3,3,sum(Nslip)) :: coordinateSystem
|
||||||
|
|
||||||
coordinateSystem = coordinateSystem_slip(Nslip,structure,cOverA)
|
coordinateSystem = coordinateSystem_slip(Nslip,structure,cOverA)
|
||||||
n = coordinateSystem(1:3,1,1:sum(Nslip))
|
n = coordinateSystem(1:3,2,1:sum(Nslip))
|
||||||
|
|
||||||
end function lattice_slip_normal
|
end function lattice_slip_normal
|
||||||
|
|
||||||
|
@ -2248,7 +2248,7 @@ function lattice_slip_direction(Nslip,structure,cOverA) result(d)
|
||||||
real(pReal), dimension(3,3,sum(Nslip)) :: coordinateSystem
|
real(pReal), dimension(3,3,sum(Nslip)) :: coordinateSystem
|
||||||
|
|
||||||
coordinateSystem = coordinateSystem_slip(Nslip,structure,cOverA)
|
coordinateSystem = coordinateSystem_slip(Nslip,structure,cOverA)
|
||||||
d = coordinateSystem(1:3,2,1:sum(Nslip))
|
d = coordinateSystem(1:3,1,1:sum(Nslip))
|
||||||
|
|
||||||
end function lattice_slip_direction
|
end function lattice_slip_direction
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue