Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Méso-NH code
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RODIER Quentin
Méso-NH code
Commits
f74601cb
Commit
f74601cb
authored
5 months ago
by
RODIER Quentin
Browse files
Options
Downloads
Patches
Plain Diff
Quentin 26/09/2024: add kernels ice4_nucleation
parent
c4040f2e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/PHYEX/micro/mode_ice4_nucleation.f90
+11
-2
11 additions, 2 deletions
src/PHYEX/micro/mode_ice4_nucleation.f90
with
11 additions
and
2 deletions
src/PHYEX/micro/mode_ice4_nucleation.f90
+
11
−
2
View file @
f74601cb
...
...
@@ -76,8 +76,10 @@ ELSEWHERE
ENDWHERE
!$mnh_end_expand_where(JI=1:KSIZE)
!$acc kernels
ZUSW
(:)
=
0.
ZZW
(:)
=
0.
!$acc end kernels
!$mnh_expand_where(JI=1:KSIZE)
WHERE
(
GNEGT
(:))
ZZW
(:)
=
ALOG
(
PT
(:))
...
...
@@ -85,8 +87,9 @@ WHERE(GNEGT(:))
ZZW
(:)
=
EXP
(
CST
%
XALPI
-
CST
%
XBETAI
/
PT
(:)
-
CST
%
XGAMI
*
ZZW
(:))
! es_i
END
WHERE
!$mnh_end_expand_where(JI=1:KSIZE)
!$acc kernels
ZSSI
(:)
=
0.
!$acc end kernels
!$mnh_expand_where(JI=1:KSIZE)
WHERE
(
GNEGT
(:))
ZZW
(:)
=
MIN
(
PPABST
(:)/
2.
,
ZZW
(:))
! safety limitation
...
...
@@ -104,7 +107,9 @@ WHERE(GNEGT(:))
END
WHERE
!$mnh_end_expand_where(JI=1:KSIZE)
!$acc kernels
ZZW
(:)
=
0.
!$acc loop independent
DO
JI
=
1
,
KSIZE
IF
(
GNEGT
(
JI
))
THEN
IF
(
PT
(
JI
)
<
CST
%
XTT
-5.0
.AND.
ZSSI
(
JI
)
>
0.0
)
THEN
...
...
@@ -115,14 +120,16 @@ DO JI=1,KSIZE
ENDIF
ENDIF
ENDDO
!$acc end kernels
!$mnh_expand_where(JI=1:KSIZE)
WHERE
(
GNEGT
(:))
ZZW
(:)
=
ZZW
(:)
-
PCIT
(:)
ZZW
(:)
=
MIN
(
ZZW
(:),
50.E3
)
! limitation provisoire a 50 l^-1
END
WHERE
!$mnh_end_expand_where(JI=1:KSIZE)
!$acc kernels
PRVHENI_MR
(:)
=
0.
!$acc end kernels
!$mnh_expand_where(JI=1:KSIZE)
WHERE
(
GNEGT
(:))
!
...
...
@@ -134,7 +141,9 @@ END WHERE
!$mnh_end_expand_where(JI=1:KSIZE)
!Limitation due to 0 crossing of temperature
IF
(
PARAMI
%
LFEEDBACKT
)
THEN
!$acc kernels
ZW
(:)
=
0.
!$acc end kernels
!$mnh_expand_where(JI=1:KSIZE)
WHERE
(
GNEGT
(:))
ZW
(:)
=
MIN
(
PRVHENI_MR
(:),
&
...
...
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