Repository navigation
add continue feature for depletion #3272
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
Changes from 1 commit
1730c21
5ed5a59
48f8478
136289c
46ab8b4
4fdf333
3f96f1a
f3358e4
09df7c1
020aff2
00e575d
220f1a9
1915e6d
384e99c
471e5b6
b27c9df
e2d0ad1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -477,8 +477,8 @@ def get_source_rates(self) -> np.ndarray: | |
| source_rates = np.fromiter( | ||
| (r.source_rate for r in self), | ||
| dtype=self[0].source_rate.dtype, | ||
| count=len(self), | ||
| ) | ||
| count=len(self)-1, | ||
| ) # Results duplicates the final source rate at the final simulation time | ||
|
|
||
| return source_rates | ||
|
Comment on lines
+466
to
+485
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It seems like when I print out the result of this function, it duplicates the final source rate (no matter the integrator chosen). When I change to Thinking about this more, it kind of makes sense since Not sure if this is intended, but the final simulation "time" duplicates the system final source rate. |
||
|
|
||
|
|
||
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.
Let's move this comment above the code.