Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sfx
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
inmcm-mirror
sfx
Commits
86ca70e2
Commit
86ca70e2
authored
2 weeks ago
by
Debolskiy Andrey
Browse files
Options
Downloads
Patches
Plain Diff
fixed lake interface
parent
6cc1de8a
No related branches found
No related tags found
No related merge requests found
Pipeline
#1815
canceled
2 weeks ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
srcF/sfx_api_lake.f90
+15
-13
15 additions, 13 deletions
srcF/sfx_api_lake.f90
with
15 additions
and
13 deletions
srcF/sfx_api_lake.f90
+
15
−
13
View file @
86ca70e2
...
...
@@ -27,7 +27,7 @@ contains
real_f
=>
c_float
! 4-byte real
implicit
none
type
(
meteoDataType
),
intent
(
inout
)
::
meteo
real
(
kind
=
real_
d
),
dimension
(
6
),
intent
(
in
)
::
arg
real
(
kind
=
real_
f
),
dimension
(
6
),
intent
(
in
)
::
arg
integer
,
intent
(
in
)
::
IVEG_sfx
real
(
kind
=
real_d
),
intent
(
in
)
::
depth_inm
real
(
kind
=
real_d
),
intent
(
in
)
::
lai_inm
...
...
@@ -52,24 +52,26 @@ contains
subroutine
sfx_to_lake_out_cell
(
arg
,
sfx
)
!> @brief converts sfx cell output to legacy arg [AR2 INMCM format] array
! ----------------------------------------------------------------------------
use
,
intrinsic
::
iso_c_binding
,
only
:
real_d
=>
c_double
! 8-byte real
use
,
intrinsic
::
iso_c_binding
,
only
:
real_d
=>
c_double
,
&
real_d
=>
c_float
! 8-byte real
implicit
none
type
(
sfxDataType
),
intent
(
in
)
::
sfx
real
(
kind
=
real_
d
),
dimension
(
11
),
intent
(
inout
)
::
arg
real
(
kind
=
real_
f
),
dimension
(
11
),
intent
(
inout
)
::
arg
! ----------------------------------------------------------------------------
arg
(
1
)
=
dble
(
sfx
%
zeta
)
arg
(
2
)
=
dble
(
sfx
%
Rib
)
arg
(
3
)
=
dble
(
sfx
%
Re
)
arg
(
4
)
=
dble
(
sfx
%
B
)
arg
(
5
)
=
dble
(
sfx
%
z0_m
)
arg
(
6
)
=
dble
(
sfx
%
z0_t
)
arg
(
1
)
=
sfx
%
zeta
arg
(
2
)
=
sfx
%
Rib
arg
(
3
)
=
sfx
%
Re
arg
(
4
)
=
sfx
%
B
arg
(
5
)
=
sfx
%
z0_m
arg
(
6
)
=
sfx
%
z0_t
!arg(7) = 0.0 ! arg(7) is never used in legacy code
arg
(
8
)
=
dble
(
sfx
%
Cm
)
arg
(
9
)
=
dble
(
sfx
%
Ct
)
arg
(
10
)
=
dble
(
sfx
%
Km
)
arg
(
11
)
=
dble
(
sfx
%
Pr_t_inv
)
arg
(
8
)
=
sfx
%
Cm
arg
(
9
)
=
sfx
%
Ct
arg
(
10
)
=
sfx
%
Km
arg
(
11
)
=
sfx
%
Pr_t_inv
end
subroutine
sfx_to_lake_out_cell
! --------------------------------------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment