Skip to content

Commit

Permalink
Move jplint.f to examples, since it provides a default implementation…
Browse files Browse the repository at this point in the history
… only.
  • Loading branch information
attipaci committed May 27, 2024
1 parent b157542 commit 58532ec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -870,11 +870,11 @@ That's all, except the warning that this method will not work with newer JPL eph

#### 2.b. Planets via JPL's `pleph` FORTRAN interface

To use the FORTRAN `pleph` interface for planet ephemerides, you must either build SuperNOVAS with
`BUILTIN_SOLSYS2 = 1` in `config.mk`, or else link your application with `solsys2.c` and `jplint.f` from SuperNOVAS
explicitly (as well as `pleph.f` etc. from the JPL library). If you want the JPL `pleph`-based interface to be your
default ephemeris provider (the old way) you might also want to set `DEFAULT_SOLSYS = 2` in `config.mk`. Otherwise,
your application should set your planetary ephemeris provider at runtime via:
To interface eith the JPL PLEPH library (FORTRAN) for planet ephemerides, you must either build SuperNOVAS with
`BUILTIN_SOLSYS2 = 1` in `config.mk`, or else link your application with `solsys2.c` and your appropriately modified
`jplint.f` (from the `examples` sub-directory) explicitly, together with the JPL PLEPH library. If you want this to
be your default ephemeris provider (the old way) you might also want to set `DEFAULT_SOLSYS = 2` in `config.mk`.
Otherwise, your application should set your planetary ephemeris provider at runtime via:

```c
set_planet_provider(planet_jplint);
Expand All @@ -883,7 +883,7 @@ your application should set your planetary ephemeris provider at runtime via:
Integrating JPL ephemeris data this way can be arduous. You will need to compile and link FORTRAN with C (not the end
of the world), but you may also have to modify `jplint.f` (providing the intermediate FORTRAN `jplint_()` /
`jplihp_()` interfaces to `pleph`) to work with the version of `pleph.f` that you will be using. Unless you already
`jplihp_()` interfaces to `pleph_()`) to work with the version of `pleph.f` that you will be using. Unless you already
have code that relies on this method, you are probably better off choosing one of the other ways for integrating
planetary ephemeris data with SuperNOVAS.
Expand Down
File renamed without changes.

0 comments on commit 58532ec

Please sign in to comment.