My Project
FVCOMg01
grid_metrics.f90
Go to the documentation of this file.
1
2
3
4
5
6
7
8
9
10
11
12
!/===========================================================================/
13
! Copyright (c) 2007, The University of Massachusetts Dartmouth
14
! Produced at the School of Marine Science & Technology
15
! Marine Ecosystem Dynamics Modeling group
16
! All rights reserved.
17
!
18
! FVCOM has been developed by the joint UMASSD-WHOI research team. For
19
! details of authorship and attribution of credit please see the FVCOM
20
! technical manual or contact the MEDM group.
21
!
22
!
23
! This file is part of FVCOM. For details, see http://fvcom.smast.umassd.edu
24
! The full copyright notice is contained in the file COPYRIGHT located in the
25
! root directory of the FVCOM code. This original header must be maintained
26
! in all distributed versions.
27
!
28
! THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
29
! AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
30
! THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
31
! PURPOSE ARE DISCLAIMED.
32
!
33
!/---------------------------------------------------------------------------/
34
! CVS VERSION INFORMATION
35
! $Id$
36
! $Name$
37
! $Revision$
38
!/===========================================================================/
39
40
SUBROUTINE
grid_metrics
41
USE
mod_par
42
USE
mod_obcs
43
USE
all_vars
44
USE
mod_northpole
45
USE
mod_setup
46
USE
mod_station_timeseries
47
USE
mod_sparse_timeseries
48
USE
mod_nesting
,
ONLY
:
nesting_on
49
50
51
IMPLICIT NONE
52
53
INTEGER
:: STATUS
54
INTEGER
:: I
55
56
! THESE SUBROUTINES SHOULD BE FURTHER BROKEN DOWN INTO THEIR
57
! COMPONENT OPERATIONS AND THE WHOLE THING SHOULD BE MODULAR
58
59
60
!============================================
61
!Set up fluxes and control Volumes
62
!============================================
63
CALL
triangle_grid_edge
64
IF
(
out_station_timeseries_on
)
CALL
triangle_grid_edge_gl
65
!============================================
66
!Calculate Element and Control Volume Areas
67
!============================================
68
CALL
cell_area
69
70
71
!====================================================
72
! Calculate Shape Coefficients for Flux Construction
73
!====================================================
74
CALL
shape_coef_gcn
75
76
77
!============================================
78
!Calculate Node Control Volume Edge Lengths
79
!============================================
80
CALL
edge_len
81
82
83
!====================================================
84
! EXCHANGE SHAPE FACTOR INFORMATION
85
!====================================================
86
87
!====================================================
88
! Calculate the horizontal gradient of the bathymetry
89
!====================================================
90
CALL
depth_gradient
91
92
93
!====================================================
94
! SETUP BOUNDARY NEIGHBORS AND SUCH
95
!====================================================
96
CALL
setup_obc
97
98
!-------------------Read dam info--------------------
99
100
!====================================================
101
! SETUP THE LONGSHORE FLOW INDEX AND ANGLES
102
!====================================================
103
IF
(obc_longshore_flow_on)
CALL
longshore_flow
104
105
END SUBROUTINE
grid_metrics
106
shape_coef_gcn
subroutine shape_coef_gcn
Definition:
shape_coef_gcn.f90:41
mod_station_timeseries
Definition:
mod_station_timeseries.f90:12
mod_nesting
Definition:
mod_nesting.f90:40
mod_obcs::setup_obc
subroutine setup_obc
Definition:
mod_obcs.f90:592
mod_par
Definition:
mod_par.f90:40
triangle_grid_edge
subroutine triangle_grid_edge
Definition:
tge.f90:41
mod_nesting::nesting_on
logical nesting_on
Definition:
mod_nesting.f90:131
mod_northpole
Definition:
mod_northpole.f90:40
mod_station_timeseries::out_station_timeseries_on
logical out_station_timeseries_on
Definition:
mod_station_timeseries.f90:20
longshore_flow
subroutine longshore_flow
Definition:
longshore_flow.f90:41
all_vars
Definition:
mod_main.f90:959
mod_obcs
Definition:
mod_obcs.f90:62
edge_len
subroutine edge_len
Definition:
edge_len.f90:41
grid_metrics
subroutine grid_metrics
Definition:
grid_metrics.f90:41
mod_station_timeseries::triangle_grid_edge_gl
subroutine triangle_grid_edge_gl
Definition:
mod_station_timeseries.f90:957
mod_sparse_timeseries
Definition:
mod_sparse_timeseries.f90:12
cell_area
subroutine cell_area
Definition:
cell_area.f90:52
depth_gradient
subroutine depth_gradient
Definition:
depth_grad.f90:45
mod_setup
Definition:
mod_setup.f90:40
Generated by
1.8.15