My Project
Functions/Subroutines
grid_metrics.f90 File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine grid_metrics
 

Function/Subroutine Documentation

◆ grid_metrics()

subroutine grid_metrics ( )

Definition at line 41 of file grid_metrics.f90.

41  USE mod_par
42  USE mod_obcs
43  USE all_vars
44  USE mod_northpole
45  USE mod_setup
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 !============================================
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 !====================================================
104 
subroutine shape_coef_gcn
subroutine setup_obc
Definition: mod_obcs.f90:592
subroutine triangle_grid_edge
Definition: tge.f90:41
logical nesting_on
logical obc_longshore_flow_on
Definition: mod_main.f90:598
subroutine longshore_flow
subroutine edge_len
Definition: edge_len.f90:41
subroutine cell_area
Definition: cell_area.f90:52
subroutine depth_gradient
Definition: depth_grad.f90:45
Here is the call graph for this function:
Here is the caller graph for this function: