Advertisement
Guest User

Untitled

a guest
Sep 29th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     do ie = 1, nelem
  2.        do i = 1, ngp
  3.           lim_inf_x = fe_x(1,lnods(1,ie))
  4.           lim_inf_y = fe_x(2,lnods(1,ie))
  5.           lim_sup_x = fe_x(1,lnods(3,ie))
  6.           lim_sup_y = fe_x(2,lnods(3,ie))
  7.  
  8.           if( (fd_x(1,i) >= lim_inf_x) .and. (fd_x(2,i) >= lim_inf_y) .and. &
  9.               (fd_x(1,i) <= lim_sup_x) .and. (fd_x(2,i) <= lim_sup_y) )     &
  10.           then
  11.              fd_fe(i) = ie
  12.              !write(*,*) i, fd_fe(i), fd_x(1,i), fd_x(2,i)                                                                                                                                          
  13.           end if
  14.       end do
  15.     end do
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement