Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SAMMY
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor 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
RNSD
SAMMY
Commits
fd33d5b7
Commit
fd33d5b7
authored
2 years ago
by
Wiarda, Dorothea
Browse files
Options
Downloads
Patches
Plain Diff
Since Maxkda is no longer used, don't compare against it
parent
24ac1b53
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
sammy/src/dat/mdat5.f
+3
-14
3 additions, 14 deletions
sammy/src/dat/mdat5.f
with
3 additions
and
14 deletions
sammy/src/dat/mdat5.f
+
3
−
14
View file @
fd33d5b7
...
...
@@ -327,23 +327,14 @@ C *** Determine the size of the adjustment to be Made
IF
(
X1
(
I
)
.LT.
0.1667D0
)
A
=
X21
(
I
)
*
2.0D0
IF
(
X1
(
I
)
.GE.
0.1667D0
)
A
=
X21
(
I
)
call
reallocate_real_data
(
Energb
,
Ii
,
100
)
Energb
(
Ii
)
=
X2
(
I
+1
)
IF
(
Ii
.GT.
Maxkda
)
STOP
'[#6 in Adjust_Auxil in dat/mdat5]'
Energb
(
Ii
)
=
X2
(
I
+1
)
Ii
=
Ii
+
1
C
IF
(
X1
(
I
)
.LT.
0.1667D0
)
THEN
C
***
Here
we
need
to
subdivide
region
i
several
times
200
CONTINUE
call
reallocate_real_data
(
Energb
,
Ii
,
100
)
Energb
(
Ii
)
=
Energb
(
Ii
-1
)
+
A
IF
(
Ii
.GT.
Maxkda
)
THEN
DO
M
=
Ii
-10
,
Ii
De
=
Energb
(
M
)
-
Energb
(
M
-1
)
WRITE
(
6
,
40000
)
M
,
Energb
(
M
),
De
40000
FORMAT
(
' M, E, De='
,
I8
,
1P2G20.10
)
END
DO
STOP
'[#7 in Adjust_Auxil in dat/mdat5]'
END
IF
Energb
(
Ii
)
=
Energb
(
Ii
-1
)
+
A
Ii
=
Ii
+
1
A
=
A
*
2.0D0
IF
(
Energb
(
Ii
-1
)
+
A
.LT.
X2
(
I
+2
))
GO TO
200
...
...
@@ -363,9 +354,7 @@ C
END IF
C
220 CONTINUE
Kdatb = Ii - 1
IF (Kdatb.GT.Maxkda) WRITE (6,20100) Kdatb, Maxkda
20100 FORMAT (/'
###########
WARNING
#########
Kdatb
,
Maxkda
=
', 2I10)
Kdatb = Ii - 1
Size = B
C
C
...
...
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