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
3bacd398
Commit
3bacd398
authored
3 years ago
by
Wiarda, Dorothea
Committed by
Holcomb, Andrew
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update the precision if writing particle pair masses.
parent
ee9f9b58
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sammy/src/fin/mfin3.f90
+9
-2
9 additions, 2 deletions
sammy/src/fin/mfin3.f90
sammy/src/mas/mmas6a.f
+2
-2
2 additions, 2 deletions
sammy/src/mas/mmas6a.f
with
11 additions
and
4 deletions
sammy/src/fin/mfin3.f90
+
9
−
2
View file @
3bacd398
...
...
@@ -724,8 +724,15 @@ module fin3
Em1
,
Em2
WRITE
(
36
,
10300
)
pair
%
getIa
(
1
),
pair
%
getIa
(
2
),
&
Em1
,
Em2
10300
FORMAT
(
5X
,
'Sa='
,
F5.1
,
5X
,
'Sb='
,
F6.1
,
5x
,
'Ma='
,
F15.8
,
&
5X
,
'Mb='
,
F15.8
)
! The precision for the printing is set high to
! ensure that sufficient precision for the neutron mass is
! available. The mass is set explictly if generating
! a PAR file from an ENDF file and here
! we need to be sure we preserve all digits available
! in SammyConstants
10300
FORMAT
(
5X
,
'Sa='
,
F5.1
,
5X
,
'Sb='
,
F6.1
,
5x
,
'Ma='
,
F20.15
,
&
5X
,
'Mb='
,
F20.15
)
IF
(
pair
%
getQ
()
.NE.
Zero
)
THEN
WRITE
(
38
,
10400
)
pair
%
getQ
()
WRITE
(
36
,
10400
)
pair
%
getQ
()
...
...
This diff is collapsed.
Click to expand it.
sammy/src/mas/mmas6a.f
+
2
−
2
View file @
3bacd398
...
...
@@ -50,7 +50,7 @@ C *** True Particle-Pair
10400
FORMAT
(
' Particle a=neutron'
)
A
=
Em1
*
Aneutr
WRITE
(
39
,
10500
)
A
,
Kz1
,
Spin1
10500
FORMAT
(
' Mb='
,
F20.1
0
,
' Zb='
,
I2
,
10500
FORMAT
(
' Mb='
,
F20.1
5
,
' Zb='
,
I2
,
*
' Sb='
,
F5.1
)
ELSE
IF
(
Mt
.GT.
50
.AND.
Mt
.LT.
99
)
THEN
C
Inelastic
...
...
@@ -88,7 +88,7 @@ C Inelastic
ELSE
A
=
Em2
*
Aneutr
WRITE
(
39
,
11200
)
A
,
Kz2
,
Spin2
11200
FORMAT
(
' Ma='
,
F20.1
0
,
' Za='
,
I2
,
11200
FORMAT
(
' Ma='
,
F20.1
5
,
' Za='
,
I2
,
*
' Sa='
,
F5.1
)
A
=
Em1
*
Aneutr
WRITE
(
39
,
10500
)
A
,
Kz1
,
Spin1
...
...
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