Go to the source code of this file.
◆ citransvectzx()
Definition at line 102 of file ctransVectZx.f.
References cerrormsg(), and e.
Referenced by __det2prim.f__(), and __det2prim2.f__().
140 yvec%r(1) = zax%r(2) * xax%r(3) - zax%r(3) * xax%r(2)
141 yvec%r(2) = zax%r(3) * xax%r(1) - zax%r(1) * xax%r(3)
142 yvec%r(3) = zax%r(1) * xax%r(2) - zax%r(2) * xax%r(1)
144 norm = yvec%r(1)**2 + yvec%r(2)**2 + yvec%r(3)**2
145 if(abs(
norm-1.0) .gt. 1.
e-4)
then 147 *
'ctransVectZx: input dir. cos. are not orthogonal' 152 temp%r(1) = dir1%r(1) * xax%r(1) + dir1%r(2) *xax%r(2) +
153 * dir1%r(3) *xax%r(3)
154 temp%r(2) = dir1%r(1) * yvec%r(1)+ dir1%r(2) *yvec%r(2) +
155 * dir1%r(3) *yvec%r(3)
156 temp%r(3) = dir1%r(1) * zax%r(1) + dir1%r(2) *zax%r(2) +
157 * dir1%r(3) *zax%r(3)
subroutine cerrormsg(msg, needrtn)
dE dx *! Nuc Int sampling table e
real(4), dimension(:), allocatable, save temp
◆ ctransvectzx()
Definition at line 36 of file ctransVectZx.f.
References cerrormsg(), and e.
Referenced by cinitobs(), and cmkinc().
76 yvec%r(1) = zax%r(2) * xax%r(3) - zax%r(3) * xax%r(2)
77 yvec%r(2) = zax%r(3) * xax%r(1) - zax%r(1) * xax%r(3)
78 yvec%r(3) = zax%r(1) * xax%r(2) - zax%r(2) * xax%r(1)
80 norm = yvec%r(1)**2 + yvec%r(2)**2 + yvec%r(3)**2
81 if(abs(
norm-1.0) .gt. 1.
e-4)
then 83 *
'ctransVectZx: input dir. cos. are not orthogonal' 88 temp%r(1) = dir1%r(1) * xax%r(1) + dir1%r(2) *yvec%r(1) +
90 temp%r(2) = dir1%r(1) * xax%r(2) + dir1%r(2) *yvec%r(2) +
92 temp%r(3) = dir1%r(1) * xax%r(3) + dir1%r(2) *yvec%r(3) +
subroutine cerrormsg(msg, needrtn)
dE dx *! Nuc Int sampling table e
real(4), dimension(:), allocatable, save temp