Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
UVic-updates-opem
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
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
Markus Pahlow
UVic-updates-opem
Commits
7c7601b0
Commit
7c7601b0
authored
Aug 24, 2020
by
Markus Pahlow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
raise the threshold for mu0 in si_tchss to prevent division by 0
parent
1b4749c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
f90/cmo.f90
f90/cmo.f90
+1
-1
No files found.
f90/cmo.f90
View file @
7c7601b0
...
...
@@ -337,7 +337,7 @@ CONTAINS
REAL
(
dp
),
INTENT
(
INOUT
)
::
RC
REAL
(
dp
),
INTENT
(
IN
)
::
phin
,
zN
REAL
(
dp
)
::
paravg
,
PARb
,
aim
,
depfrac
,
l1
,
l2
IF
((
phy
%
PARs
.GT.
phy
%
I0
)
.AND.
(
phy
%
mu0
.GT.
1E-
3
0_dp
))
THEN
! (A4)
IF
((
phy
%
PARs
.GT.
phy
%
I0
)
.AND.
(
phy
%
mu0
.GT.
1E-
1
0_dp
))
THEN
! (A4)
PARb
=
MAX
(
phy
%
I0
,
phy
%
PARb
)
depfrac
=
LOG
(
phy
%
PARs
/
PARb
)
paravg
=
(
phy
%
PARs
-
PARb
)/
depfrac
...
...
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