-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSwanCompdata.ftn90
74 lines (74 loc) · 2.74 KB
/
SwanCompdata.ftn90
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
module SwanCompdata
!
! --|-----------------------------------------------------------|--
! | Delft University of Technology |
! | Faculty of Civil Engineering and Geosciences |
! | Environmental Fluid Mechanics Section |
! | P.O. Box 5048, 2600 GA Delft, The Netherlands |
! | |
! | Programmer: Marcel Zijlema |
! --|-----------------------------------------------------------|--
!
!
! SWAN (Simulating WAves Nearshore); a third generation wave model
! Copyright (C) 1993-2024 Delft University of Technology
!
! This program is free software: you can redistribute it and/or modify
! it under the terms of the GNU General Public License as published by
! the Free Software Foundation, either version 3 of the License, or
! (at your option) any later version.
!
! This program is distributed in the hope that it will be useful,
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with this program. If not, see <http://www.gnu.org/licenses/>.
!
!
! Authors
!
! 40.80: Marcel Zijlema
! 40.92: Marcel Zijlema
!
! Updates
!
! 40.80, July 2007: New Module
! 40.92, June 2008: changes with respect to boundary polygons
!
! Purpose
!
! Module containing data for computation with unstructured grid
!
! Method
!
! Data based on unstructured grid
!
! Modules used
!
use swcomm3
!
implicit none
!
! Module parameters
!
!
! Module variables
!
integer :: nbpol ! total number of boundary polygons
integer, dimension(10000) :: nbpt ! number of boundary vertices for each boundary polygon
!
integer, dimension(MICMAX) :: vs ! computational stencil, i.e. set of vertices
! needed for the computation of a new value
! in the present vertex
!$omp threadprivate(vs)
!
integer, dimension(:,:), save, allocatable :: blist ! list of boundary vertices in ascending order for each boundary polygon
integer, dimension(:,:), save, allocatable :: bmark ! list of corresponding boundary markers for each boundary polygon
integer, dimension(:,:), save, allocatable :: bvertg ! global index of boundary vertex in own subdomain
integer, dimension(:,:), save, allocatable :: vlist ! vertex list
!
! Source text
!
end module SwanCompdata