Guest User

Untitled

a guest
Nov 21st, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. function glm_psi_flux(psi, b_cc) result(gpf)
  2. real, dimension(:,:), intent(in) :: psi (is it rank 2 ?)
  3. real, dimension(size(psi,1),size(psi,2)) :: gpf
  4.  
  5. if(has_ion) then
  6.  
  7. gpf(1,:) = chspeed**2*(b_cc(xdim,:))
  8.  
  9. else
  10. gpf(1,:) = zero
  11.  
  12. end if
  13. apart from being intent(in) psi does not seem have any role
Add Comment
Please, Sign In to add comment