-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsource.f90
executable file
·60 lines (53 loc) · 1.49 KB
/
source.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
51
52
53
54
55
56
57
58
59
60
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! regional model module - source
! usage: include all the functions and
! subroutines to define source and sinks
! for heat, momentum and scalar
! Yun Zhang 04/30/2015
! @stanford
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
module source
use constant_parameter
implicit none
contains
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! heat_source
! usage: provide the value of heat sinks
! and source to calculate potential virtual
! temperature
! Yun Zhang 04/30/2015
! @stanford
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
function heat_source(lat,long,nlayer,t) result(output)
real(dp),intent(in)::lat,long,t
integer, intent(in):: nlayer
real(dp)::output
output=0.0_dp
end function heat_source
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! gas_source
! usage: provide the value of gas sinks
! and source to calculate gas concentration
! Yun Zhang 04/30/2015
! @stanford
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
function qv_source(lat,long,nlayer,t) result(output)
real(dp),intent(in)::lat,long,t
integer, intent(in):: nlayer
real(dp)::output
output=0.0_dp
end function qv_source
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! gas_source
! usage: provide the value of gas sinks
! and source to calculate gas concentration
! Yun Zhang 04/30/2015
! @stanford
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
function gas_source(lat,long,nlayer,t) result(output)
real(dp),intent(in)::lat,long,t
integer, intent(in):: nlayer
real(dp)::output
output=0.0_dp
end function gas_source
end module source