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

Give the uniform thermophysical properties to all surface facets. #155

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

MasanoriKanamaru
Copy link
Member

If all facets have the same thermophysical properties, they are given as scalars rather than vectors.

Add an outer constructor of `ThermoParams`
Add `broadcast_thermo_params!`
@MasanoriKanamaru MasanoriKanamaru marked this pull request as draft January 19, 2025 04:26
Copy link

codecov bot commented Jan 19, 2025

Codecov Report

Attention: Patch coverage is 95.23810% with 1 line in your changes missing coverage. Please review.

Project coverage is 93.97%. Comparing base (2d0a7e9) to head (bf1a245).

Files with missing lines Patch % Lines
src/TPM.jl 94.44% 1 Missing ⚠️
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.
📢 Have feedback on the report? Share it here.

@MasanoriKanamaru MasanoriKanamaru marked this pull request as ready for review January 19, 2025 06:52

# Arguments
- `thermo_params` : Thermophysical parameters
- `n_face` : Number of faces of the shape model
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- `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] =##
Copy link
Member

@hyrodium hyrodium Feb 2, 2025

Choose a reason for hiding this comment

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

Suggested change
##= Thermal properties of Didymos & Dimorphos [c.f. Michel+2016; Naidu+2020] =##
##= Thermal properties of Didymos & Dimorphos [cf. Michel+2016; Naidu+2020] =##

Cf. https://en.wikipedia.org/wiki/Cf.

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