Skip to content

Commit

Permalink
Fix interpolation (#30)
Browse files Browse the repository at this point in the history
* WIP: try fix type parameters in TaylorInterpolant

* Update CI

* Fix typing issues in TaylorInterpolant and update tests

* Add TaylorInterpolant function-like behavior for Taylor1{TaylorN{Float64}}

* Uncomment tests

* Fixes in TaylorInterpolant

* Add U to TaylorInterpCallingArgs{T,U}

* Try backwards-compatible fix for TaylorInterpolant serialization

* Fix writeas?

* Bump patch version
  • Loading branch information
PerezHz authored Jan 29, 2024
1 parent a19b559 commit 17f8f5b
Show file tree
Hide file tree
Showing 13 changed files with 325 additions and 277 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: CI
on:
push:
branches:
- main
paths-ignore:
- 'LICENSE.md'
- 'README.md'
tags: ['*']
pull_request:
concurrency:
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "PlanetaryEphemeris"
uuid = "d83715d0-7e5f-11e9-1a59-4137b20d8363"
authors = ["Jorge A. Pérez Hernández", "Luis Benet", "Luis Eduardo Ramírez Montoya"]
version = "0.7.5"
version = "0.7.6"

[deps]
ArgParse = "c7e460c6-2fb9-53a9-8c5b-16f535851c63"
Expand Down
6 changes: 4 additions & 2 deletions src/PlanetaryEphemeris.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@ import JLD2: writeas
include("constants.jl")
include("jpl-de-430-431-earth-orientation-model.jl")
include("initial_conditions.jl")
include("dynamical_model.jl")
include("jetcoeffs.jl")
include("interpolation.jl")
include("propagation.jl")
include("osculating.jl")
include("barycenter.jl")
#include("precompile.jl")

include("dynamics/trivial.jl")
include("dynamics/dynamical_model.jl")
include("dynamics/jetcoeffs.jl")

end # module
File renamed without changes.
File renamed without changes.
8 changes: 8 additions & 0 deletions src/dynamics/trivial.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This file is part of the PlanetaryEphemeris.jl package; MIT licensed

@taylorize function trivialdynamics!(dq, q, params, t)
Threads.@threads for j in eachindex(dq)
dq[j] = zero(q[j])
end
nothing
end
2 changes: 2 additions & 0 deletions src/initial_conditions.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is part of the PlanetaryEphemeris.jl package; MIT licensed

# Planets (+ Sun & Moon) initial conditions file
const ssic_1969_fname = joinpath( src_path, "ss11ic_1969Jun28.txt" )
const ssic_1969 = readdlm( ssic_1969_fname )
Expand Down
Loading

2 comments on commit 17f8f5b

@PerezHz
Copy link
Owner Author

Choose a reason for hiding this comment

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

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Registration pull request created: JuliaRegistries/General/99781

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.7.6 -m "<description of version>" 17f8f5bf2b1d32fab3c876c5ecc030dbde4c7d2d
git push origin v0.7.6

Please sign in to comment.