Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NRTools
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
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
Alejandra Gonzalez
NRTools
Commits
e036df12
Commit
e036df12
authored
1 year ago
by
Alejandra Gonzalez
Browse files
Options
Downloads
Patches
Plain Diff
added missing lambda values
parent
d9218810
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
nrtools/initialdata/output.py
+11
-5
11 additions, 5 deletions
nrtools/initialdata/output.py
with
11 additions
and
5 deletions
nrtools/initialdata/output.py
+
11
−
5
View file @
e036df12
...
...
@@ -171,16 +171,22 @@ class Output():
if
mb
>
1.5
:
# for mb=1.6
lam
=
1006.2885125921738
kappa
=
get_kappa2t
(
lam
,
mbh
,
mg
)
else
:
# for mb=1.4
lam
=
0
kappa
=
0
elif
mb
>
1.39
:
# for mb=1.4
lam
=
1931.501612858557
kappa
=
get_kappa2t
(
lam
,
mbh
,
mg
)
elif
mb
<
1.36
:
# for mb=1.35
lam
=
2312.470950148368
kappa
=
get_kappa2t
(
lam
,
mbh
,
mg
)
elif
eos
==
'
ALF2
'
:
if
mb
>
1.5
:
# for mb=1.6
lam
=
493.7973627693258
kappa
=
get_kappa2t
(
lam
,
mbh
,
mg
)
el
se
:
# for mb=1.4
lam
=
0
el
if
mb
>
1.39
:
# for mb=1.4
lam
=
1006.3969784624323
kappa
=
0
elif
mb
<
1.36
:
# for mb=1.35
lam
=
1206.8906420652897
kappa
=
get_kappa2t
(
lam
,
mbh
,
mg
)
else
:
lam
=
0
kappa
=
0
...
...
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