Skip to content
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

TPM result output: Time steps to save temperature #103

Merged
merged 15 commits into from
Dec 2, 2023

Conversation

MasanoriKanamaru
Copy link
Member

Timesteps to save the temperature are given as a vector.

Copy link

codecov bot commented Nov 21, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (b7cd460) 93.84% compared to head (96b2b87) 93.90%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #103      +/-   ##
==========================================
+ Coverage   93.84%   93.90%   +0.05%     
==========================================
  Files          10       10              
  Lines         650      656       +6     
==========================================
+ Hits          610      616       +6     
  Misses         40       40              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Change the arguments of the struct to store the TPM result from `time_begin` and `time_end ` to `times_to_save`.
Add `times` in `SingleTPMResult` to store the time steps of the entire simulation.
Use `result.times` instead of `ephem.time`
- Use `result.times` instead of `ephem.time`
- Remove unnecessary arguments
- Use `result.times_to_save`
- Add `depth_nodes` in `SingleTPMResult` to store the depths of the calculation nodes for the 1-D heat conduction equation.
Copy link
Member

@hyrodium hyrodium left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added minor comments. Other changes looks good to me.

test/TPM_Didymos.jl Outdated Show resolved Hide resolved
test/TPM_Ryugu.jl Outdated Show resolved Hide resolved
test/non-uniform_thermoparams.jl Outdated Show resolved Hide resolved
MasanoriKanamaru and others added 4 commits December 2, 2023 16:49
Co-authored-by: Yuto Horikawa <[email protected]>
Co-authored-by: Yuto Horikawa <[email protected]>
Use the `range` function for `et_range`
@MasanoriKanamaru MasanoriKanamaru merged commit 38422ed into main Dec 2, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants