-
Notifications
You must be signed in to change notification settings - Fork 1
/
aura.f90
50 lines (34 loc) · 949 Bytes
/
aura.f90
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
PROGRAM aura
!############################################################################
!# This is the program driver for Aura.
!############################################################################
!### Modules to be Included ###
USE Mod_Info
USE Mod_InfoDefs
USE Mod_Emis
USE Mod_User
USE Mod_IO
IMPLICIT NONE
!### Declare our objects ###
TYPE(Infoc) :: info
TYPE(Emis) :: emiso
REAL :: tstart, tend
CALL CPU_TIME(tstart)
write(*,*) 'Starting Aura'
!### Initializing Info ###
CALL Info_Init(info)
!### Initializing Emis ###
CALL Emis_Init(emiso,info)
!### Define Initial Conditions ###
CALL User_Init(info)
!### Calculate Emissions ###
CALL Emis_Calc(info,emiso)
!### Output Results ###
CALL IO_Emis(emiso,info)
!### Destroy Emis ###
CALL Emis_Destroy(emiso)
!### Destroy Info ###
CALL Info_Destroy(info)
CALL CPU_TIME(tend)
write(*,*) 'Calculation took:', tend-tstart, 'seconds'
END PROGRAM aura