Releases: Astroshaper/AsteroidThermoPhysicalModels.jl
Releases · Astroshaper/AsteroidThermoPhysicalModels.jl
v0.1.0
First stable release with critical bug fixes and API improvements.
🚨 Breaking changes
- Updated to
AsteroidShapeModels.jlv0.4.1 with critical eclipse shadowing bug fixes - Changed coordinate transformation arguments from translation vectors (
t₁₂) to position vectors (r₁₂) update_flux_sun!now takesr₁₂(position vector) instead oft₁₂(translation vector)
✨ Features
- Unified flux calculation API (
update_flux_all!) for cleaner code organization - Improved coordinate transformation handling in binary systems
- Enhanced performance with 27x faster shadow calculations
- Comprehensive benchmark suite with latest performance metrics
🐛 Bug fixes
- Fixed coordinate transformation bug in binary asteroid systems (
r₂₁calculation) - Corrected
apply_eclipse_shadowing!function usage for compatibility withAsteroidShapeModels.jlv0.4.1 - Fixed benchmark package version handling
📚 Documentation
- Updated examples with unified API usage
- Added comprehensive migration guide
- Updated benchmark results (2025-07-13)
- Improved physical model documentation with binary system details
🔧 Migration guide
Single asteroid
# Old API
update_flux_sun!(stpm, r☉)
update_flux_scat_single!(stpm)
update_flux_rad_single!(stpm)
# New unified API (recommended)
update_flux_all!(stpm, r☉)Binary asteroid
# Old API (note: t₁₂ is now r₁₂)
update_flux_sun!(btpm, r☉₁, t₁₂, R₁₂) # Old: used translation vector
update_flux_scat_single!(btpm)
update_flux_rad_single!(btpm)
mutual_heating!(btpm, r_s, R₂₁)
# New unified API (recommended)
update_flux_all!(btpm, r☉₁, r₁₂, R₁₂) # Now: uses position vectorSee CHANGELOG.md for complete details.
v0.0.7
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.
[0.0.7] - 2025-01-06
Added
- Implicit solvers for heat conduction equation (#161)
ImplicitEulerSolver: First-order implicit (backward) Euler methodCrankNicolsonSolver: Second-order Crank-Nicolson method- Both solvers are unconditionally stable
- Functions to calculate thermal radiation flux (#145)
- Store thermal force on every facet in
face_forcesfield (#117) - Basic documentation improvements (#166)
Changed
- Breaking: Renamed abstract and concrete types (#159)
- Added
AbstractAsteroidThermoPhysicalModelas the abstract type - Added type aliases:
AbstractAsteroidTPM,SingleAsteroidTPM,BinaryAsteroidTPM
- Added
- Breaking: Refactored flux representation in
SingleAsteroidThermoPhysicalModel(#164)- Split
fluxintoflux_sun,flux_scat, andflux_rad - Renamed
flux_totaltoabsorbed_energy_flux(#167)
- Split
- Breaking: Unified
UniformThermoParamsandNonUniformThermoParamsinto singleThermoParamstype (#148)- Now supports both uniform and non-uniform thermophysical properties
- Breaking: Replaced (
A_TH,A_B) with (R_ir,R_vis) for reflectance parameters (#143) - Dimensional depth and time in heat conduction equation (#160)
- Give uniform thermophysical properties to all surface facets automatically (#155)
- Use
NaNforE_consinstead ofmissing(#136)
Fixed
- Fixed kernel URL in tests (#157)
- Fixed typos in documentation and comments (#165)
- Clipped arguments of inverse trigonometric functions (#126)
Removed
- Removed dependency on
SPICE.jlfromsrcdirectory (#158) - Removed Git dependency in tests (#156)
- Removed
constants.jlfile (#115)
Dependencies
v0.0.6
The data output format was modified.
v0.0.5
Update the interfaces and backends.
v0.0.4
Rename ThermoPhysicalModeling.jl to AsteroidThermoPhysicalModels.jl.
v0.0.3
Rename Astroshaper.jl to ThermoPhysicalModeling.jl.
v0.0.2
update (downgrade) version to v0.0.2 (#35)
v0.0.1
update (downgrade) version to v0.0.1