Skip to content

Releases: Astroshaper/AsteroidThermoPhysicalModels.jl

v0.1.0

13 Jul 23:21

Choose a tag to compare

First stable release with critical bug fixes and API improvements.

🚨 Breaking changes

  • Updated to AsteroidShapeModels.jl v0.4.1 with critical eclipse shadowing bug fixes
  • Changed coordinate transformation arguments from translation vectors (t₁₂) to position vectors (r₁₂)
  • update_flux_sun! now takes r₁₂ (position vector) instead of t₁₂ (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 with AsteroidShapeModels.jl v0.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 vector

See CHANGELOG.md for complete details.

v0.0.7

06 Jun 09:58

Choose a tag to compare

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 method
    • CrankNicolsonSolver: 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_forces field (#117)
  • Basic documentation improvements (#166)

Changed

  • Breaking: Renamed abstract and concrete types (#159)
    • Added AbstractAsteroidThermoPhysicalModel as the abstract type
    • Added type aliases: AbstractAsteroidTPM, SingleAsteroidTPM, BinaryAsteroidTPM
  • Breaking: Refactored flux representation in SingleAsteroidThermoPhysicalModel (#164)
    • Split flux into flux_sun, flux_scat, and flux_rad
    • Renamed flux_total to absorbed_energy_flux (#167)
  • Breaking: Unified UniformThermoParams and NonUniformThermoParams into single ThermoParams type (#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 NaN for E_cons instead of missing (#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.jl from src directory (#158)
  • Removed Git dependency in tests (#156)
  • Removed constants.jl file (#115)

Dependencies

  • Updated MeshIO.jl and GeometryBasics.jl versions (#154)
  • Now uses MeshIO.jl for mesh I/O operations (#147)

v0.0.6

09 Jan 05:17
1885f54

Choose a tag to compare

The data output format was modified.

v0.0.5

14 Oct 11:49
820637b

Choose a tag to compare

Update the interfaces and backends.

v0.0.4

18 Mar 03:50
d5c26c7

Choose a tag to compare

Rename ThermoPhysicalModeling.jl to AsteroidThermoPhysicalModels.jl.

v0.0.3

18 Mar 03:49
5c0063a

Choose a tag to compare

Rename Astroshaper.jl to ThermoPhysicalModeling.jl.

v0.0.2

18 Jan 09:29
afcc7c2

Choose a tag to compare

update (downgrade) version to v0.0.2 (#35)

v0.0.1

17 Jan 11:04

Choose a tag to compare

update (downgrade) version to v0.0.1