Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Gyacomo
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
Antoine Cyril David Hoffmann
Gyacomo
Commits
900a61c8
Commit
900a61c8
authored
2 years ago
by
Antoine Cyril David Hoffmann
Browse files
Options
Downloads
Patches
Plain Diff
solve nan heatflux and provide last value of heat flux at the end of the run
parent
fe27490c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/diagnose.F90
+9
-8
9 additions, 8 deletions
src/diagnose.F90
with
9 additions
and
8 deletions
src/diagnose.F90
+
9
−
8
View file @
900a61c8
...
@@ -13,20 +13,21 @@ SUBROUTINE diagnose(kstep)
...
@@ -13,20 +13,21 @@ SUBROUTINE diagnose(kstep)
INQUIRE
(
unit
=
lu_in
,
name
=
input_fname
)
INQUIRE
(
unit
=
lu_in
,
name
=
input_fname
)
CLOSE
(
lu_in
)
CLOSE
(
lu_in
)
ENDIF
ENDIF
IF
(
kstep
.GE.
0
)
THEN
!! End diag
! Terminal info
IF
(
kstep
.EQ.
-1
)
THEN
IF
(
MOD
(
cstep
,
INT
(
1.0
/
dt
))
==
0
.AND.
(
my_id
.EQ.
0
))
THEN
! WRITE(*,"(F6.0,A,F6.0)") time,"/",tmax
WRITE
(
*
,
"(A,F6.0,A1,F6.0,A8,G10.2,A8,G10.2,A)"
)
'|t/tmax = '
,
time
,
"/"
,
tmax
,
'| Gxi = '
,
gflux_ri
,
'| Qxi = '
,
hflux_xi
,
'|'
ENDIF
ELSEIF
(
kstep
.EQ.
-1
)
THEN
CALL
cpu_time
(
finish
)
CALL
cpu_time
(
finish
)
! Display computational time cost
! Display computational time cost
IF
(
my_id
.EQ.
0
)
CALL
display_h_min_s
(
finish
-
start
)
IF
(
my_id
.EQ.
0
)
CALL
display_h_min_s
(
finish
-
start
)
! Show last state transport values
IF
(
my_id
.EQ.
0
)
&
WRITE
(
*
,
"(A,G10.2,A8,G10.2,A)"
)
'Final transport values : | Gxi = '
,
gflux_ri
,
'| Qxi = '
,
hflux_xi
,
'|'
END
IF
END
IF
!! Specific diagnostic calls
!! Specific diagnostic calls
CALL
diagnose_full
(
kstep
)
CALL
diagnose_full
(
kstep
)
! Terminal info
IF
((
kstep
.GT.
0
)
.AND.
(
MOD
(
cstep
,
INT
(
1.0
/
dt
))
==
0
)
.AND.
(
my_id
.EQ.
0
))
THEN
WRITE
(
*
,
"(A,F6.0,A1,F6.0,A8,G10.2,A8,G10.2,A)"
)
'|t/tmax = '
,
time
,
"/"
,
tmax
,
'| Gxi = '
,
gflux_ri
,
'| Qxi = '
,
hflux_xi
,
'|'
ENDIF
CALL
cpu_time
(
t1_diag
);
tc_diag
=
tc_diag
+
(
t1_diag
-
t0_diag
)
CALL
cpu_time
(
t1_diag
);
tc_diag
=
tc_diag
+
(
t1_diag
-
t0_diag
)
END
SUBROUTINE
diagnose
END
SUBROUTINE
diagnose
...
...
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