-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmain.F90
More file actions
executable file
·30 lines (26 loc) · 1.32 KB
/
main.F90
File metadata and controls
executable file
·30 lines (26 loc) · 1.32 KB
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
! This file is part of Bottom RedOx Model (BROM, v.1.1).
! BROM 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 (https://www.gnu.org/licenses/gpl.html).
! It 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. A copy of the license is provided in
! the COPYING file at the root of the BROM distribution.
!-----------------------------------------------------------------------
! Original author(s): Evgeniy Yakushev, Shamil Yakubov,
! Elizaveta Protsenko, Phil Wallhead
!-----------------------------------------------------------------------
program main
use brom_transport, only: init_brom_transport, do_brom_transport, clear_brom_transport
integer :: starttime, stoptime, rate
!initializing, writing from gotm data and fabm.yaml included
call init_brom_transport()
!main cycle
call system_clock(count_rate=rate)
call system_clock(starttime)
call do_brom_transport()
call system_clock(stoptime)
write (*,*) 'Wall time spent in do_brom_transport: ', real(stoptime - starttime)/real(rate)
!clear all
!call clear_brom_transport()
end program main