6pure subroutine gencrm(n,wf11,wf12,wf21,wf22,crho,ld,cmag)
10integer,
intent(in) :: n
11complex(4),
intent(in) :: wf11(n),wf12(n),wf21(n),wf22(n)
12complex(4),
intent(out) :: crho(n)
13integer,
intent(in) :: ld
14complex(4),
intent(out) :: cmag(ld,
ndmag)
17complex(4) c11,c12,c21,c22,c1,c2
22 c11=wf11(i); c12=wf12(i)
23 c21=wf21(i); c22=wf22(i)
43 c1=conjg(wf11(i))*wf21(i)
44 c2=conjg(wf12(i))*wf22(i)
pure subroutine gencrm(n, wf11, wf12, wf21, wf22, crho, ld, cmag)