Skip to content
This repository has been archived by the owner on Dec 24, 2023. It is now read-only.

Reword *Programming language support* (2) #2

Open
GregoireHENRY opened this issue Dec 1, 2021 · 9 comments
Open

Reword *Programming language support* (2) #2

GregoireHENRY opened this issue Dec 1, 2021 · 9 comments

Comments

@GregoireHENRY
Copy link
Member

For meeting note of requirements 2 of n (see 9bb5030), I wanted to mention that C can call FORTRAN, instead of the other way around. But both are fine, see this.

Maybe we can edit this bullet or add the url, but I wanted to clarify this.

@ChristopherRabotin
Copy link
Member

If we wanted C to called FORTRAN, wouldn't we need "native" FORTRAN support? I was hoping that we could write the C interface and call ANISE-C from FORTRAN using the C ABI (or the FFI).

@GregoireHENRY
Copy link
Member Author

@pwnorbitals what do you think on that?
You can have a read on that example to call FORTRAN from Rust.

@GregoireHENRY
Copy link
Member Author

GregoireHENRY commented Dec 1, 2021

I think I misunderstood, I'll re-word it

@GregoireHENRY
Copy link
Member Author

The goal is to call Rust from FORTRAN, or the binary that is created. Maybe we don't need to "call ANICE-C from FORTRAN". Just call the Rust functions from FORTRAN or the binary created by Rust directly.

@GregoireHENRY
Copy link
Member Author

or yeah, calling the produced C code from FORTRAN might be the best option.

@pwnorbitals
Copy link

@GregoireHENRY wanna open a small PR to clarify it ?

@ChristopherRabotin
Copy link
Member

Hey folks! It's been a while, but good news: we finally have a proof of concept of ANISE! I would love to schedule a video call (on Jitsi?) when you guys are free over an upcoming weekend as I know you're both busy with the missions you're working on.

Features

  1. Convert NAIF JPL DE files into ANISE (will always require an allocator)
  2. Query the ANISE files for translations with different units (that was a request Juno made IIRC)
  3. Thread safety
  4. No allocs (although the crate isn't no-std yet)

My plan is to add the Hermite interpolation storage, add the covariance storage, add gravity fields (spherical harmonics), and then switch Nyx over to using ANISE within a few weeks. I also think that the errors in ANISE so far can be much much improved. After that, rotation information from the earth_high_prec kernel should also be added.

nyx-space/anise#23

@GregoireHENRY
Copy link
Member Author

Congrats @ChristopherRabotin, must have a lot of work. I see 100+ commits in #23..
I'm available Saturday the whole day, if it does not match with @pwnorbitals we can set a www.when2meet.com

@ChristopherRabotin
Copy link
Member

ChristopherRabotin commented Sep 29, 2022 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants