SPEED
MAKE_WGT_GRID_NODES.f90
Go to the documentation of this file.
1
! Copyright (C) 2012 The SPEED FOUNDATION
2
! Author: Ilario Mazzieri
3
!
4
! This file is part of SPEED.
5
!
6
! SPEED is free software; you can redistribute it and/or modify it
7
! under the terms of the GNU Affero General Public License as
8
! published by the Free Software Foundation, either version 3 of the
9
! License, or (at your option) any later version.
10
!
11
! SPEED is distributed in the hope that it will be useful, but
12
! WITHOUT ANY WARRANTY; without even the implied warranty of
13
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
! Affero General Public License for more details.
15
!
16
! You should have received a copy of the GNU Affero General Public License
17
! along with SPEED. If not, see <http://www.gnu.org/licenses/>.
18
30
31
32
subroutine
make_wgt_grid_nodes
(nb_node,nb_elem,con_matrix,node_wgt,nb_nz)
33
34
implicit none
35
36
integer*4
:: nb_node,nb_elem,nb_nz
37
integer*4
:: i,j,ie
38
39
integer*4
,
dimension(nb_node)
:: node_wgt
40
integer*4
,
dimension(nb_elem,9)
:: con_matrix
41
42
43
nb_nz = nb_node + 1
44
node_wgt = 0
45
46
do
ie = 1,nb_elem
47
do
i = 1,8
48
j = con_matrix(ie,i+1)
49
node_wgt(j) = node_wgt(j) + 1
50
nb_nz = nb_nz + 1
51
enddo
52
enddo
53
54
return
55
56
end subroutine
make_wgt_grid_nodes
57
make_wgt_grid_nodes
subroutine make_wgt_grid_nodes(nb_node, nb_elem, con_matrix, node_wgt
Computes multeplicity for mesh nodes.
Definition
MAKE_WGT_GRID_NODES.f90:33
speed
MAKE_WGT_GRID_NODES.f90
Generated by
1.9.8