-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash when look up table does not cover the range #6100
Open
RanpengLi
wants to merge
1
commit into
geodynamics:main
Choose a base branch
from
RanpengLi:crash-if-out-of-range
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+174
−168
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Changed: The entropy reader throws when the range of the provided look-up table | ||
does not fully cover the entropy-pressure range in the model. | ||
<br> | ||
(Ranpeng Li, 2025/01/10) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# 1: Time step number | ||
# 2: Time (years) | ||
# 3: Time step size (years) | ||
# 4: Number of mesh cells | ||
# 5: Number of Stokes degrees of freedom | ||
# 6: Number of temperature degrees of freedom | ||
# 7: Number of degrees of freedom for all compositions | ||
# 8: Number of nonlinear iterations | ||
# 9: Iterations for temperature solver | ||
# 10: Iterations for composition solver 1 | ||
# 11: Iterations for composition solver 2 | ||
# 12: Iterations for Stokes solver | ||
# 13: Velocity iterations in Stokes preconditioner | ||
# 14: Schur complement iterations in Stokes preconditioner | ||
# 15: Visualization file name | ||
# 16: RMS velocity (m/year) | ||
# 17: Max. velocity (m/year) | ||
# 18: Minimal temperature (K) | ||
# 19: Average temperature (K) | ||
# 20: Maximal temperature (K) | ||
# 21: Average nondimensional temperature (K) | ||
# 22: Outward mass flux through boundary with indicator 0 ("left") (kg/yr) | ||
# 23: Outward mass flux through boundary with indicator 1 ("right") (kg/yr) | ||
# 24: Outward mass flux through boundary with indicator 2 ("bottom") (kg/yr) | ||
# 25: Outward mass flux through boundary with indicator 3 ("top") (kg/yr) | ||
# 26: Minimal value for composition entropy | ||
# 27: Maximal value for composition entropy | ||
# 28: Global mass for composition entropy | ||
# 29: Minimal value for composition density_field | ||
# 30: Maximal value for composition density_field | ||
# 31: Global mass for composition density_field | ||
0 0.000000000000e+00 0.000000000000e+00 100 1408 603 1206 7 25 20 4294967289 2790 3108 2827 output-entropy_initial_lookup/solution/solution-00000 7.88044505e-03 9.98412057e-03 1.59574424e+03 1.60014975e+03 1.60309788e+03 1.16764184e-03 0.00000000e+00 0.00000000e+00 4.08138251e+05 -4.08137893e+05 2.19666723e+03 2.53347698e+03 3.95671887e+13 3.13952225e+03 4.77911946e+03 6.90810628e+13 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# 1: Time step number | ||
# 2: Time (years) | ||
# 3: Time step size (years) | ||
# 4: Number of mesh cells | ||
# 5: Number of Stokes degrees of freedom | ||
# 6: Number of temperature degrees of freedom | ||
# 7: Number of degrees of freedom for all compositions | ||
# 8: Number of nonlinear iterations | ||
# 9: Visualization file name | ||
# 10: RMS velocity (m/year) | ||
# 11: Max. velocity (m/year) | ||
# 12: Minimal temperature (K) | ||
# 13: Average temperature (K) | ||
# 14: Maximal temperature (K) | ||
# 15: Average nondimensional temperature (K) | ||
# 16: Outward mass flux through boundary with indicator 0 ("bottom") (kg/yr) | ||
# 17: Outward mass flux through boundary with indicator 1 ("top") (kg/yr) | ||
# 18: Outward mass flux through boundary with indicator 2 ("west") (kg/yr) | ||
# 19: Outward mass flux through boundary with indicator 3 ("east") (kg/yr) | ||
# 20: Minimal value for composition entropy | ||
# 21: Maximal value for composition entropy | ||
# 22: Global mass for composition entropy | ||
# 23: Minimal value for composition density_field | ||
# 24: Maximal value for composition density_field | ||
# 25: Global mass for composition density_field | ||
# 26: Iterations for temperature solver | ||
# 27: Iterations for composition solver 1 | ||
# 28: Iterations for composition solver 2 | ||
# 29: Iterations for Stokes solver | ||
# 30: Velocity iterations in Stokes preconditioner | ||
# 31: Schur complement iterations in Stokes preconditioner | ||
0 0.000000000000e+00 0.000000000000e+00 384 3739 1649 3298 0 output-entropy_initial_lookup_wb/solution/solution-00000 0.00000000e+00 0.00000000e+00 2.73000000e+02 2.17080114e+03 3.50000000e+03 5.88100755e-01 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00 5.77925312e+02 2.75762818e+03 1.07732840e+17 0.00000000e+00 0.00000000e+00 0.00000000e+00 0 0 0 0 0 0 | ||
0 0.000000000000e+00 0.000000000000e+00 684 7217 3189 6378 0 output-entropy_initial_lookup_wb/solution/solution-00001 0.00000000e+00 0.00000000e+00 2.73000000e+02 2.18276710e+03 3.50000000e+03 5.91808832e-01 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00 5.77925312e+02 2.75762818e+03 1.08621269e+17 0.00000000e+00 0.00000000e+00 0.00000000e+00 0 0 0 0 0 0 | ||
0 0.000000000000e+00 0.000000000000e+00 1023 10982 4851 9702 0 output-entropy_initial_lookup_wb/solution/solution-00002 0.00000000e+00 0.00000000e+00 2.73000000e+02 2.18453715e+03 3.50000000e+03 5.92357344e-01 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00 5.77925312e+02 2.75762818e+03 1.08867722e+17 0.00000000e+00 0.00000000e+00 0.00000000e+00 0 0 0 0 0 0 | ||
0 0.000000000000e+00 0.000000000000e+00 1950 20386 9009 18018 4 output-entropy_initial_lookup_wb/solution/solution-00003 1.37687774e-02 1.23769331e-01 2.73000000e+02 2.18434812e+03 3.50000000e+03 5.92298767e-01 4.61391962e-03 6.57718001e-02 0.00000000e+00 2.20276789e-08 5.77925312e+02 2.75762818e+03 1.08896595e+17 3.22822228e+03 5.59177718e+03 1.93948135e+17 0 0 4294967292 98 106 106 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you document what the parameter represents in the block above the function?