Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ! Chuong trinh se tinh n(t), p(t) và u(t)
- ! tham so dau vao: e(k), f0
- ! Cac gia tri ban dau: n(t=0)=0 ; p(t=0) = 0; u(t=0) =0; t=0;
- Module global ! Khai bao cac hang so se su dung trong chuong trinh
- implicit none
- real(8), parameter :: pi= 3.141593
- real(8), parameter :: hbar = 658.d-3
- complex(8), parameter :: iu = (0.,1.) , ui = (1.,0.)
- real(8) :: t0
- integer :: estep ! Luoi' k (cac gia tri cua k)
- complex, parameter, dimension(2,2) :: sigma_z, sigma_y ! khai bao 2 ma tran sigma
- sigma_z(1,1) = 1
- sigma_z(1,2) = 0
- sigma_z(2,1) = 0
- sigma_z(2,2) =-1
- sigma_y(1,1) = 0
- sigma_y(1,2) =-iu
- sigma_y(2,1) = iu
- sigma_y(2,2) = 0
- real(8), dimension(estep) :: ek ! Pho gia tri nang luong theo k.
- real(8) :: f0
- End module global
- !============================================================================================================
- Module Runge ! Giai thuat Runge-kutta gan dung cap 4.
- use global
- contains ! Lenh nay dung de bao lai cac subroutine con cua subroutine Runge
- subroutine rk4(t, h, p, n, u,A_in, B_in, C_in, D_in, E_in, F_in, H_in,I_in, J_in, K_in, L_in,&
- A_out, B_out, C_out, D_out, E_out, F_out, H_out, I_out, J_out, K_out, L_out, &
- t_out, p_out, n_out, u_out)
- implicit none
- complex(8), intent(in) :: p ! Vi p là ham chi phu thuoc t, ko phu thuoc k.
- complex(8), intent(out):: p_out
- complex(8), intent(in) , dimension(estep) :: n ! mang n gom estep phan tu, moi phan tu ung voi mot gia tri cua k.
- complex(8), intent(out), dimension(estep) :: n_out
- real(8), intent(in) :: t , h
- real(8), intent(out) :: t_out ! t la thoi gian, h la buoc nhay cua t
- complex(8), intent (in), dimension(2,2,estep):: u
- complex(8), intent (out), dimension(2,2,estep):: u_out !Ung voi moi gia tri cua k, ham U la mot matran 2x2
- complex(8), dimension(estep):: p_deriv, n_deriv, u_deriv ! khai bao 3 phuong trinh.cua p, n ,u
- complex(8), intent(in),dimension(2,2,2,estep,estep,estep) :: A_in, B_in, C_in, D_in, E_in, F_in,&
- G_in, H_in, I_in, J_in, K_in, L_in
- complex(8), intent(out),dimension(2,2,2,estep, estep, estep) ::A_out, B_out, C_out, D_out, E_out, F_out, G_out, H_out, &
- I_out, J_out, K_out, L_out
- ! Khai bao cac he so tam thoi trong subroutine:
- complex(8) :: kp1, kp2, kp3, kp4, p1, p2, p3
- complex(8), dimension(estep) :: kn1, kn2, kn3, kn4, n1, n2, n3
- complex(8), dimension(2,2,estep):: ku1, ku2, ku3, ku4, u1, u2, u3
- complex(8), dimension(2,2,2, estep, estep, estep) :: A_temp1, A_temp2, A_temp3, A_temp4, B_temp1, B_temp2, B_temp3, B_temp4 &
- C_temp1, C_temp2, C_temp3, C_temp4, D_temp1, D_temp2, D_temp3, D_temp4
- complex(8), dimension(2,2,2, estep, estep, estep) :: E_temp1, E_temp2, E_temp3, E_temp4, F_temp1, F_temp2, F_temp3, F_temp4 &
- G_temp1, G_temp2, G_temp3, G_temp4, H_temp1, H_temp2, H_temp3, H_temp4 &
- I_temp1, I_temp2, I_temp3, I_temp4, J_temp1, J_temp2, J_temp3, J_temp4 &
- K_temp1, K_temp2, K_temp3, K_temp4, L_temp1, L_temp2, L_temp3, L_temp4
- complex(8), dimension(2,2,2,estep,estep,estep):: A_1, A_2, A_3, B_1, B_2, B_3, C_1, C_2, C_3, D_1, D_2, D_3, &
- E_1, E_2, E_3, F_1, F_2, F_3, G_1, G_2, G_3, H_1, H_2, H_3, &
- I_1, I_2, I_3, J_1, J_2, J_3, K_1, K_2, K_3, L_1, L_2, L_3
- call u_deriv(t,p,n,u,ku1)
- Call A_deriv(t,p,n,u,A_temp1)
- call B_deriv(t,p,n,u,B_temp1)
- call C_deriv(t,p,n,u,C_temp1)
- call D_deriv(t,p,n,u,D_temp1)
- call n_deriv(t,p,n,u, A_in, B_in, C_in, D_in,kn1)
- call E_deriv(t,p,n,u,E_temp1)
- call F_deriv(t,p,n,u,F_temp1)
- call G_deriv(t,p,n,u,G_temp1)
- call H_deriv(t,p,n,u,H_temp1)
- call I_deriv(t,p,n,u,I_temp1)
- call J_deriv(t,p,n,u,J_temp1)
- call K_deriv(t,p,n,u,K_temp1)
- call L_deriv(t,p,n,u,L_temp1)
- call p_deriv(t,p,n,u, E_1, F_1, G_1, H_1, I_1, J_1, K_1, L_1, kp1)
- t1 = t+ h/2.0
- u1 = u + h*ku1/2.0
- n1 = n + h*kn1/2.0
- p1 = p + h*kp1/2.0
- A_1 = A_in + h*A_temp1/2.0
- B_1 = B_in + h*B_temp1/2.0
- C_1 = C_in + h*C_temp1/2.0
- D_1 = D_in + h*D_temp1/2.0
- E_1 = E_in + h*E_temp1/2.0
- F_1 = F_in + h*F_temp1/2.0
- G_1 = G_in + h*G_temp1/2.0
- H_1 = H_in + h*H_temp1/2.0
- I_1 = I_in + h*I_temp1/2.0
- J_1 = J_in + h*J_temp1/2.0
- K_1 = K_in + h*K_temp1/2.0
- L_1 = L_in + h*L_temp1/2.0
- call u_deriv(t1, p1, n1, u1, ku2)
- Call A_deriv(t1,p1,n1,u1,A_temp2)
- call B_deriv(t1,p1,n1,u1,B_temp2)
- call C_deriv(t1,p1,n1,u1,C_temp2)
- call D_deriv(t1,p1,n1,u1,D_temp2)
- call n_deriv(t1,p1,n1,u1, A_1, B_1, C_1, D_1,kn2)
- call E_deriv(t1,p1,n1,u1,E_temp2)
- call F_deriv(t1,p1,n1,u1,F_temp2)
- call G_deriv(t1,p1,n1,u1,G_temp2)
- call H_deriv(t1,p1,n1,u1,H_temp2)
- call I_deriv(t1,p1,n1,u1,I_temp2)
- call J_deriv(t1,p1,n1,u1,J_temp2)
- call K_deriv(t1,p1,n1,u1,K_temp2)
- call L_deriv(t1,p1,n1,u1,L_temp2)
- call p_deriv(t1,p1,n1,u1, E_2, F_2, G_2, H_2, I_2, J_2, K_2, L_2, kp2)
- u2 = u + h*ku2/2.0
- n2 = n + h*kn2/2.0
- p2 = p + h*kp2/2.0
- A_2 = A_in + h*A_temp2/2.0
- B_2 = B_in + h*B_temp2/2.0
- C_2 = C_in + h*C_temp2/2.0
- D_2 = D_in + h*D_temp2/2.0
- E_2 = E_in + h*E_temp2/2.0
- F_2 = F_in + h*F_temp2/2.0
- G_2 = G_in + h*G_temp2/2.0
- H_2 = H_in + h*H_temp2/2.0
- I_2 = I_in + h*I_temp2/2.0
- J_2 = J_in + h*J_temp2/2.0
- K_2 = K_in + h*K_temp2/2.0
- L_2 = L_in + h*L_temp2/2.0
- call u_deriv(t1, p2, n2, u2, ku3)
- Call A_deriv(t1,p2,n2,u2,A_temp3)
- call B_deriv(t1,p2,n2,u2,B_temp3)
- call C_deriv(t1,p2,n2,u2,C_temp3)
- call D_deriv(t1,p2,n2,u2,D_temp3)
- call n_deriv(t1, p2, n2, u2, A_2, B_2, C_2, D_2, kn3)
- call E_deriv(t1,p2,n2,u2,E_temp3)
- call F_deriv(t1,p2,n2,u2,F_temp3)
- call G_deriv(t1,p2,n2,u2,G_temp3)
- call H_deriv(t1,p2,n2,u2,H_temp3)
- call I_deriv(t1,p2,n2,u2,I_temp3)
- call J_deriv(t1,p2,n2,u2,J_temp3)
- call K_deriv(t1,p2,n2,u2,K_temp3)
- call L_deriv(t1,p2,n2,u2,L_temp3)
- call p_deriv(t1, p2, n2, u2, E_2, F_2, G_2, H_2, I_2, J_2, K_2, L_2, kp3)
- t3 = t + h
- u3 = u + h*ku3
- n3 = n + h*ku3
- p3 = p + h*kp3
- A_3 = A_in + h*A_temp3
- B_3 = B_in + h*B_temp3
- C_3 = C_in + h*C_temp3
- D_3 = D_in + h*D_temp3
- E_3 = E_in + h*E_temp3
- F_3 = F_in + h*F_temp3
- G_3 = G_in + h*G_temp3
- H_3 = H_in + h*H_temp3
- I_3 = I_in + h*I_temp3
- J_3 = J_in + h*J_temp3
- K_3 = K_in + h*K_temp3
- L_3 = L_in + h*L_temp3
- call u_deriv(t3, p3, n3, u3, ku4)
- Call A_deriv(t3,p3,n3,u3,A_temp4)
- call B_deriv(t3,p3,n3,u3,B_temp4)
- call C_deriv(t3,p3,n3,u3,C_temp4)
- call D_deriv(t3,p3,n3,u3,D_temp4)
- call n_deriv(t3, p3, n3, u3, A_3, B_3, C_3, D_3, kn4)
- call E_deriv(t3,p3,n3,u3,E_temp4)
- call F_deriv(t3,p3,n3,u3,F_temp4)
- call G_deriv(t3,p3,n3,u3,G_temp4)
- call H_deriv(t3,p3,n3,u3,H_temp4)
- call I_deriv(t3,p3,n3,u3,I_temp4)
- call J_deriv(t3,p3,n3,u3,J_temp4)
- call K_deriv(t3,p3,n3,u3,K_temp4)
- call L_deriv(t3,p3,n3,u3,L_temp4)
- call p_deriv(t3, p3, n3, u3, E_3, F_3, G_3, H_3, I_3, J_3, K_3, L_3, kp4)
- t_out = t3
- u_out = u + h*(ku1 +ku4 + 2.0*(ku2 + ku3))/6.0
- n_out = n + h*(kn1 +kn4 + 2.0*(kn2 + kn3))/6.0
- p_out = p + h*(kp1 +kp4 + 2.0*(kp2 + kp3))/6.0
- A_out = A_in + h*(A_temp1 + A_temp4 +2.0*(A_temp2 + A_temp3))/6.0
- B_out = B_in + h*(B_temp1 + B_temp4 +2.0*(B_temp2 + B_temp3))/6.0
- C_out = C_in + h*(C_temp1 + C_temp4 +2.0*(C_temp2 + C_temp3))/6.0
- D_out = D_in + h*(D_temp1 + D_temp4 +2.0*(D_temp2 + D_temp3))/6.0
- E_out = E_in + h*(E_temp1 + E_temp4 +2.0*(E_temp2 + E_temp3))/6.0
- F_out = F_in + h*(F_temp1 + F_temp4 +2.0*(F_temp2 + F_temp3))/6.0
- J_out = G_in + h*(G_temp1 + G_temp4 +2.0*(G_temp2 + G_temp3))/6.0
- H_out = H_in + h*(H_temp1 + H_temp4 +2.0*(H_temp2 + H_temp3))/6.0
- I_out = I_in + h*(I_temp1 + I_temp4 +2.0*(I_temp2 + I_temp3))/6.0
- J_out = J_in + h*(J_temp1 + J_temp4 +2.0*(J_temp2 + J_temp3))/6.0
- K_out = K_in + h*(K_temp1 + K_temp4 +2.0*(K_temp2 + K_temp3))/6.0
- L_out = L_in + h*(L_temp1 + L_temp4 +2.0*(L_temp2 + L_temp3))/6.0
- end subroutine rk4
- Subroutine u_deriv(t,p,n,u,ku)
- implicit none
- real(8), intent(in) :: t
- complex(8), intent(in) ::p
- complex(8), intent(in), dimension(estep) :: n
- complex(8), intent(in), dimension(2,2,estep) :: u
- complex(8), intent(out), dimension(2,2,estep) ::ku
- integer :: i
- complex(8), dimension(2,2, estep) :: H !H la hamiltonian
- Do i =1 , estep ! Thiet lap H, moi phan tu cua H theo k la mot matran 2x2
- H(2,2,i) = (e(i) + f0*n(i))* sigma_z + iu*f0*p*p*sigma_y
- end do
- Do i = 1, estep
- ku(2,2,i) = -iu* matmul(H(2,2,i),u(2,2,i)) !Day la pt A.11 , Lenh matmul() la nhan ma tran
- end do
- end subroutine u_deriv
- Subroutine A_deriv(t, p, n, u, A_temp)
- implicit none
- complex(8), intent(out), dimension(2,2,2,estep,estep,estep) :: A_temp
- real(8), intent(in) :: t ,
- complex(8), intent(in):: p
- complex(8), dimension(estep), intent(in) :: n
- complex(8), intent(in), dimension(2,2,estep) :: u
- integer :: b,d,n,k,l,q
- Do b=1, 2
- Do d=1, 2
- Do n=1, 2
- Do k=1, estep
- Do q=1, estep
- l = k - q
- If (l >= 1) then
- A_temp(b,d,n,k,l,q) = conjg(u(b,1,k))*u(d,1,l)*u(n,1,q)*(n(k)+n(k)*n(q)+n(k)*n(l)-n(l)*n(q))*conjg(p)
- endif
- end do
- end do
- end do
- end do
- end do
- Subroutine B_deriv(t, p, n, u, B_temp)
- implicit none
- complex(8), intent(out), dimension(2,2,2,estep,estep,estep) :: B_temp
- real(8), intent(in) :: t ,
- complex(8), intent(in):: p
- complex(8), dimension(estep), intent(in) :: n
- complex(8), intent(in), dimension(2,2,estep) :: u
- integer :: b,d,n,k,l,q
- Do b=1, 2
- Do d=1, 2
- Do n=1, 2
- Do k=1, estep
- Do q=1, estep
- l = k + q
- If (l >= 1) then
- B_temp(b,d,n,k,l,q) = u(b,1,k)*conjg(u(d,1,l))*u(n,1nq)*(n(l) + n(l)*n(q)+n(l)*n(k) - n(k)*n(q))*conjg(p)
- endif
- end do
- end do
- end do
- end do
- end do
- End subroutine B_deriv
- Subroutine C_deriv(t, p, n, u, C_temp)
- implicit none
- complex(8), intent(out), dimension(2,2,2,estep,estep,estep) :: C_temp
- real(8), intent(in) :: t ,
- complex(8), intent(in):: p
- complex(8), dimension(estep), intent(in) :: n
- complex(8), intent(in), dimension(2,2,estep) :: u
- integer :: b,d,n,k,l,q
- Do b=1, 2
- Do d=1, 2
- Do n=1, 2
- Do k=1, estep
- Do q=1, estep
- l = k - q
- If (l >= 1) then
- C_temp(b,d,n,k,l,q) = conjg(u(b,1,k))*u(d,1,l)*u(n,1,q)*(n(k)+n(k)*n(l)+n(k)*n(q)-n(l)*n(q))*p
- endif
- end do
- end do
- end do
- end do
- end do
- End subroutine C_deriv
- Subroutine D_deriv(t, p, n, u, D_temp)
- implicit none
- complex(8), intent(out), dimension(2,2,2,estep,estep,estep) :: D_temp
- real(8), intent(in) :: t ,
- complex(8), intent(in):: p
- complex(8), dimension(estep), intent(in) :: n
- complex(8), intent(in), dimension(2,2,estep) :: u
- integer :: b,d,n,k,l,q
- Do b=1, 2
- Do d=1, 2
- Do n=1, 2
- Do k=1, estep
- Do q=1, estep
- l = k + q
- If (l >= 1) then
- D_temp(b,d,n,k,l,q) = u(b,1,k)*conjg(u(d,1,l))*u(n,1,q)*(n(l)+n(l)*n(q)+n(l)*n(k)-n(k)*n(q))*p
- endif
- end do
- end do
- end do
- end do
- end do
- End subroutine D_deriv
- Subroutine E_deriv(t, p, n, u, E_temp)
- implicit none
- complex(8), intent(out), dimension(2,2,2,estep,estep,estep) :: E_temp
- real(8), intent(in) :: t ,
- complex(8), intent(in):: p
- complex(8), dimension(estep), intent(in) :: n
- complex(8), intent(in), dimension(2,2,estep) :: u
- integer :: b,d,n,k,l,q
- Do b=1, 2
- Do d=1, 2
- Do n=1, 2
- Do k=1, estep
- Do q=1, estep
- l = k - q
- If (l >= 1) then
- E_temp(b,d,n,k,l,q) = u(b,1,k)*conjg(u(d,1,l))*conjg(u(n,1,q))*(n(k)+n(k)*n(q)+n(k)*n(l)-n(l)*n(q))*p
- endif
- end do
- end do
- end do
- end do
- end do
- End subroutine E_deriv
- !thuc ra F_deriv chi la conjg cua E_deriv, co the luoc bo cac giai doan tinh cac F,H,J,L nay de lam chuong trinh nhe hon.
- Subroutine F_deriv(t, p, n, u, F_temp)
- implicit none
- complex(8), intent(out), dimension(2,2,2,estep,estep,estep) :: F_temp
- real(8), intent(in) :: t ,
- complex(8), intent(in):: p
- complex(8), dimension(estep), intent(in) :: n
- complex(8), intent(in), dimension(2,2,estep) :: u
- integer :: b,d,n,k,l,q
- Do b=1, 2
- Do d=1, 2
- Do n=1, 2
- Do k=1, estep
- Do q=1, estep
- l = k - q
- If (l >= 1) then
- F_temp(b,d,n,k,l,q) = conjg(u(b,1,k)*conjg(u(d,1,l))*conjg(u(n,1,q))*(n(k)+n(k)*n(q)+n(k)*n(l)-n(l)*n(q))*p)
- endif
- end do
- end do
- end do
- end do
- end do
- End subroutine F_deriv
- Subroutine G_deriv(t, p, n, u, G_temp)
- implicit none
- complex(8), intent(out), dimension(2,2,2,estep,estep,estep) :: G_temp
- real(8), intent(in) :: t ,
- complex(8), intent(in):: p
- complex(8), dimension(estep), intent(in) :: n
- complex(8), intent(in), dimension(2,2,estep) :: u
- integer :: b,d,n,k,l,q
- Do b=1, 2
- Do d=1, 2
- Do n=1, 2
- Do k=1, estep
- Do q=1, estep
- l = k + q
- If (l >= 1) then
- G_temp(b,d,n,k,l,q) = u(b,1,k)*conjg(u(d,1,l))*u(n,1,q)*(n(l)+n(l)*n(q)+n(l)*n(k)-n(k)*n(q))*conjg(p)
- endif
- end do
- end do
- end do
- end do
- end do
- End subroutine G_deriv
- Subroutine H_deriv(t, p, n, u, H_temp)
- implicit none
- complex(8), intent(out), dimension(2,2,2,estep,estep,estep) :: H_temp
- real(8), intent(in) :: t ,
- complex(8), intent(in):: p
- complex(8), dimension(estep), intent(in) :: n
- complex(8), intent(in), dimension(2,2,estep) :: u
- integer :: b,d,n,k,l,q
- Do b=1, 2
- Do d=1, 2
- Do n=1, 2
- Do k=1, estep
- Do q=1, estep
- l = k + q
- If (l >= 1) then
- H_temp(b,d,n,k,l,q) = conjg(u(b,1,k)*conjg(u(d,1,l))*u(n,1,q)*(n(l)+n(l)*n(q)+n(l)*n(k)-n(k)*n(q))*conjg(p))
- endif
- end do
- end do
- end do
- end do
- end do
- End subroutine H_deriv
- Subroutine I_deriv(t, p, n, u, I_temp)
- implicit none
- complex(8), intent(out), dimension(2,2,2,estep,estep,estep) :: I_temp
- real(8), intent(in) :: t ,
- complex(8), intent(in):: p
- complex(8), dimension(estep), intent(in) :: n
- complex(8), intent(in), dimension(2,2,estep) :: u
- integer :: b,d,n,k,l,q
- Do b=1, 2
- Do d=1, 2
- Do n=1, 2
- Do k=1, estep
- Do q=1, estep
- l = k - q
- If (l >= 1) then
- I_temp(b,d,n,k,l,q) = u(b,1,k)*conjg(u(d,1,l))*conjg(u(n,1,q))*(n(k)+n(k)*n(q)+n(k)*n(l)-n(l)*n(q))*conjg(p)
- endif
- end do
- end do
- end do
- end do
- end do
- End subroutine I_deriv
- Subroutine J_deriv(t, p, n, u, J_temp)
- implicit none
- complex(8), intent(out), dimension(2,2,2,estep,estep,estep) :: J_temp
- real(8), intent(in) :: t ,
- complex(8), intent(in):: p
- complex(8), dimension(estep), intent(in) :: n
- complex(8), intent(in), dimension(2,2,estep) :: u
- integer :: b,d,n,k,l,q
- Do b=1, 2
- Do d=1, 2
- Do n=1, 2
- Do k=1, estep
- Do q=1, estep
- l = k - q
- If (l >= 1) then
- J_temp(b,d,n,k,l,q) = conjg(u(b,1,k)*conjg(u(d,1,l))*conjg(u(n,1,q))*(n(k)+n(k)*n(q)+n(k)*n(l)-n(l)*n(q))*conjg(p))
- endif
- end do
- end do
- end do
- end do
- end do
- End subroutine J_deriv
- Subroutine K_deriv(t, p, n, u, K_temp)
- implicit none
- complex(8), intent(out), dimension(2,2,2,estep,estep,estep) :: K_temp
- real(8), intent(in) :: t ,
- complex(8), intent(in):: p
- complex(8), dimension(estep), intent(in) :: n
- complex(8), intent(in), dimension(2,2,estep) :: u
- integer :: b,d,n,k,l,q
- Do b=1, 2
- Do d=1, 2
- Do n=1, 2
- Do k=1, estep
- Do q=1, estep
- l = k + q
- If (l >= 1) then
- K_temp(b,d,n,k,l,q) = u(b,1,k)*conjg(u(d,1,l))*u(n,1,q)*(n(l)+n(l)*n(q)+n(l)*n(k)-n(k)*n(q))*p
- endif
- end do
- end do
- end do
- end do
- end do
- End subroutine K_deriv
- Subroutine L_deriv(t, p, n, u, L_temp)
- implicit none
- complex(8), intent(out), dimension(2,2,2,estep,estep,estep) :: L_temp
- real(8), intent(in) :: t ,
- complex(8), intent(in):: p
- complex(8), dimension(estep), intent(in) :: n
- complex(8), intent(in), dimension(2,2,estep) :: u
- integer :: b,d,n,k,l,q
- Do b=1, 2
- Do d=1, 2
- Do n=1, 2
- Do k=1, estep
- Do q=1, estep
- l = k + q
- If (l >= 1) then
- L_temp(b,d,n,k,l,q) = conjg(u(b,1,k)*conjg(u(d,1,l))*u(n,1,q)*(n(l)+n(l)*n(q)+n(l)*n(k)-n(k)*n(q))*p)
- endif
- end do
- end do
- end do
- end do
- end do
- End subroutine L_deriv
- !trong subroutine n_deriv nay, ta su dung function "integral()" de tinh tich phan.
- Subroutine n_deriv(t, p, n, u, A, B, C, D, kn)
- implicit none
- complex(8), intent(in), dimension(2,2,2,estep,estep,estep) :: A_in,B_in,C_in,D_in
- real(8), intent(in) :: t ,
- complex(8), intent(in):: p
- complex(8), dimension(estep), intent(in) :: n
- complex(8), intent(in), dimension(2,2,estep) :: u
- complex(8), intent(out), dimension(step):: kn
- integer :: b,d,n,k,l,q
- Subroutine p_deriv(t,p,n,u,kn)
- implicit none
- real(8), intent(in) :: t
- real(8), intent(in) ::p
- real(8), intent(in), dimension(estep) :: n
- complex(8), intent(in), dimension(2,2,estep) :: u
- real(8), intent(out), dimension(estep) :: kn
- integer :: i
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement