Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
G
getm
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Knut Klingbeil
getm
Commits
41ae6e6b
Commit
41ae6e6b
authored
May 08, 2015
by
Knut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
meteo: calculate heatflux_net
parent
8ddebd81
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
1 deletion
+7
-1
src/3d/dynamic_allocations_3d.h
src/3d/dynamic_allocations_3d.h
+3
-0
src/3d/dynamic_declarations_3d.h
src/3d/dynamic_declarations_3d.h
+1
-0
src/3d/static_3d.h
src/3d/static_3d.h
+1
-0
src/3d/temperature.F90
src/3d/temperature.F90
+2
-1
No files found.
src/3d/dynamic_allocations_3d.h
View file @
41ae6e6b
...
...
@@ -136,6 +136,9 @@
allocate
(
light
(
I3DFIELD
),
stat
=
rc
)
!
light
advection
velocity
if
(
rc
/=
0
)
stop
'
init_3d
:
Error
allocating
memory
(
light
)
'
allocate
(
heatflux_net
(
I2DFIELD
),
stat
=
rc
)
!
net
heatflux
if
(
rc
/=
0
)
stop
'
init_3d
:
Error
allocating
memory
(
heatflux_net
)
'
#endif
#ifdef SPM
...
...
src/3d/dynamic_declarations_3d.h
View file @
41ae6e6b
...
...
@@ -39,6 +39,7 @@
REALTYPE
,
dimension
(
:
,
:
,
:
),
allocatable
::
alpha
,
beta
REALTYPE
,
dimension
(
:
,
:
,
:
),
allocatable
::
idpdx
,
idpdy
REALTYPE
,
dimension
(
:
,
:
,
:
),
allocatable
::
rad
,
light
REALTYPE
,
dimension
(
:
,
:
)
,
allocatable
::
heatflux_net
#endif
!
suspended
matter
...
...
src/3d/static_3d.h
View file @
41ae6e6b
...
...
@@ -63,6 +63,7 @@
REALTYPE
::
idpdx
(
I3DFIELD
)
REALTYPE
::
idpdy
(
I3DFIELD
)
REALTYPE
::
light
(
I3DFIELD
)
REALTYPE
::
heatflux_net
(
I2DFIELD
)
#endif
#ifdef SPM
...
...
src/3d/temperature.F90
View file @
41ae6e6b
...
...
@@ -18,7 +18,7 @@
! !USES:
use
exceptions
use
domain
,
only
:
imin
,
jmin
,
imax
,
kmax
,
jmax
,
H
,
az
,
dry_z
use
variables_3d
,
only
:
T
,
rad
,
hn
,
kmin
,
A
,
g1
,
g2
use
variables_3d
,
only
:
T
,
rad
,
hn
,
kmin
,
A
,
g1
,
g2
,
heatflux_net
use
meteo
,
only
:
metforcing
,
met_method
,
nudge_sst
,
sst
,
sst_const
use
meteo
,
only
:
METEO_CONST
,
METEO_FROMFILE
,
METEO_FROMEXT
use
halo_zones
,
only
:
update_3d_halo
,
wait_halo
,
D_TAG
,
H_TAG
...
...
@@ -477,6 +477,7 @@
*
(
A
(
i
,
j
)
*
exp
(
-
zz
/
g1
(
i
,
j
))
+
(
1
-
A
(
i
,
j
))
*
exp
(
-
zz
/
g2
(
i
,
j
)))
end
do
end
if
heatflux_net
(
i
,
j
)
=
rad1d
(
kmax
)
-
rad1d
(
0
)
+
shf_loc
do
k
=
0
,
kmax
rad1d
(
k
)
=
rad1d
(
k
)
*
rho_0_cpi
! note this
end
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment