ETS  \$Id: Doxyfile 2162 2020-02-26 14:16:09Z g2dpc $
 All Classes Files Functions Variables Pages
node_numbers.f90
Go to the documentation of this file.
1 subroutine node_numbers
2 !-------------------------------------------------------------------
3 ! subroutine to calculate the four nodenumbers of every element
4 !-------------------------------------------------------------------
5 
6  use itm_types
7  use mod_corners
8  use mod_mesh
9 
10  implicit none
11 
12  integer(itm_i4) :: no, n, m
13 
14  no = 0
15  do n = 1, nr - 1
16  do m = 1, np - 1
17  no = no + 1
18  nodeno(no, 1) = (n - 1) * np + m
19  nodeno(no, 2) = nodeno(no, 1) + 1
20  nodeno(no, 3) = nodeno(no, 2) + np
21  nodeno(no, 4) = nodeno(no, 1) + np
22  end do
23  end do
24 
25  return
26 end subroutine node_numbers
subroutine node_numbers
Definition: node_numbers.f90:1