-
Notifications
You must be signed in to change notification settings - Fork 5
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
Give the uniform thermophysical properties to all surface facets. #155
base: main
Are you sure you want to change the base?
Conversation
Add an outer constructor of `ThermoParams`
Add `broadcast_thermo_params!`
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #155 +/- ##
==========================================
+ Coverage 93.96% 93.97% +0.01%
==========================================
Files 11 11
Lines 663 681 +18
==========================================
+ Hits 623 640 +17
- Misses 40 41 +1 ☔ View full report in Codecov by Sentry. |
Remove an unnecessary comment
Move `broadcast_thermo_params!` function into the `SingleTPM` constructor.
|
||
# Arguments | ||
- `thermo_params` : Thermophysical parameters | ||
- `n_face` : Number of faces of the shape model |
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.
- `n_face` : Number of faces of the shape model | |
- `n_face` : Number of faces on the shape model |
I think "on" would be more natural.
@@ -89,7 +89,7 @@ | |||
n_face_shape1 = length(shape1.faces) # Number of faces of Didymos | |||
n_face_shape2 = length(shape2.faces) # Number of faces of Dimorphos | |||
|
|||
##= Thermal properties =## | |||
##= Thermal properties of Didymos & Dimorphos [c.f. Michel+2016; Naidu+2020] =## |
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.
##= Thermal properties of Didymos & Dimorphos [c.f. Michel+2016; Naidu+2020] =## | |
##= Thermal properties of Didymos & Dimorphos [cf. Michel+2016; Naidu+2020] =## |
If all facets have the same thermophysical properties, they are given as scalars rather than vectors.