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
398f4749
Commit
398f4749
authored
1 year ago
by
数学の武士
Committed by
Debolskiy Andrey
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
hotfix
parent
5b106de1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
srcC/sfx_call_cxx.c
+1
-1
1 addition, 1 deletion
srcC/sfx_call_cxx.c
srcF/sfx_esm.f90
+3
-2
3 additions, 2 deletions
srcF/sfx_esm.f90
srcF/sfx_fc_wrapper.F90
+2
-2
2 additions, 2 deletions
srcF/sfx_fc_wrapper.F90
with
6 additions
and
5 deletions
srcC/sfx_call_cxx.c
+
1
−
1
View file @
398f4749
...
...
@@ -2,7 +2,7 @@
#include
<stdio.h>
#include
"../includeCXX/sfx_call_class_func.h"
// -------------------------------------------------------------------------- //
void
surf_flux
(
float
*
zeta_
,
float
*
Rib_
,
float
*
Re_
,
float
*
B_
,
float
*
z0_m_
,
float
*
z0_t_
,
float
*
Rib_conv_lim_
,
float
*
Cm_
,
float
*
Ct_
,
float
*
Km_
,
float
*
Pr_t_inv_
,
void
get_
surf
ace
_flux
es
(
float
*
zeta_
,
float
*
Rib_
,
float
*
Re_
,
float
*
B_
,
float
*
z0_m_
,
float
*
z0_t_
,
float
*
Rib_conv_lim_
,
float
*
Cm_
,
float
*
Ct_
,
float
*
Km_
,
float
*
Pr_t_inv_
,
float
*
U_
,
float
*
dT_
,
float
*
Tsemi_
,
float
*
dQ_
,
float
*
h_
,
float
*
in_z0_m_
,
const
float
*
kappa
,
const
float
*
Pr_t_0_inv
,
const
float
*
Pr_t_inf_inv
,
const
float
*
alpha_m
,
const
float
*
alpha_h
,
const
float
*
alpha_h_fix
,
...
...
This diff is collapsed.
Click to expand it.
srcF/sfx_esm.f90
+
3
−
2
View file @
398f4749
...
...
@@ -55,7 +55,7 @@ contains
integer
i
! ----------------------------------------------------------------------------
#if defined(INCLUDE_CUDA) || defined(INCLUDE_CXX)
call
surf_flux
(
sfx
%
zeta
,
sfx
%
Rib
,
sfx
%
Re
,
sfx
%
B
,
sfx
%
z0_m
,
sfx
%
z0_t
,
&
call
get_
surf
ace
_flux
es
(
sfx
%
zeta
,
sfx
%
Rib
,
sfx
%
Re
,
sfx
%
B
,
sfx
%
z0_m
,
sfx
%
z0_t
,
&
sfx
%
Rib_conv_lim
,
sfx
%
Cm
,
sfx
%
Ct
,
sfx
%
Km
,
sfx
%
Pr_t_inv
,
&
meteo
%
U
,
meteo
%
dT
,
meteo
%
Tsemi
,
meteo
%
dQ
,
meteo
%
h
,
meteo
%
z0_m
,
&
kappa
,
Pr_t_0_inv
,
Pr_t_inf_inv
,
&
...
...
@@ -86,6 +86,7 @@ contains
end
subroutine
get_surface_fluxes_vec
! --------------------------------------------------------------------------------
#if !defined(INCLUDE_CUDA) && !defined(INCLUDE_CXX)
! --------------------------------------------------------------------------------
subroutine
get_surface_fluxes
(
sfx
,
meteo
,
numerics
)
!< @brief surface flux calculation for single cell
...
...
@@ -260,7 +261,7 @@ contains
end
subroutine
get_surface_fluxes
! --------------------------------------------------------------------------------
#endif
! convection universal functions shortcuts
! --------------------------------------------------------------------------------
function
f_m_conv
(
zeta
)
...
...
This diff is collapsed.
Click to expand it.
srcF/sfx_fc_wrapper.F90
+
2
−
2
View file @
398f4749
module
C_FUNC
INTERFACE
#if defined(INCLUDE_CUDA) || defined(INCLUDE_CXX)
SUBROUTINE
surf_flux
(
zeta
,
Rib
,
Re
,
B
,
z0_m
,
z0_t
,
Rib_conv_lim
,
&
SUBROUTINE
get_
surf
ace
_flux
es
(
zeta
,
Rib
,
Re
,
B
,
z0_m
,
z0_t
,
Rib_conv_lim
,
&
Cm
,
Ct
,
Km
,
Prt_inv
,
&
U
,
dT
,
Tsemi
,
dQ
,
h
,
in_z0_m
,
&
kappa
,
Pr_t_0_inv
,
Pr_t_inf_inv
,
&
...
...
@@ -22,7 +22,7 @@ module C_FUNC
B_max_lake
,
gamma_c
,
Re_visc_min
,
Pr_m
,
nu_air
,
g
REAL
(
C_FLOAT
),
dimension
(
grid_size
)
::
U
,
dT
,
Tsemi
,
dQ
,
h
,
in_z0_m
,
zeta
,
Rib
,
Re
,
&
Rib_conv_lim
,
z0_m
,
z0_t
,
B
,
Cm
,
Ct
,
Km
,
Prt_inv
END
SUBROUTINE
surf_flux
END
SUBROUTINE
get_
surf
ace
_flux
es
#endif
END
INTERFACE
end
module
C_FUNC
...
...
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