Skip to content

Commit

Permalink
Add missing PTW/RAL copyrights inherited from Fortran code
Browse files Browse the repository at this point in the history
[just because the code was rewritten in C doesn't mean that it's
no longer copyright the original author if the code is a direct port]
  • Loading branch information
timj committed Jul 17, 2014
1 parent 050afe4 commit 9a42a75
Show file tree
Hide file tree
Showing 72 changed files with 110 additions and 8 deletions.
2 changes: 2 additions & 0 deletions pal1Atms.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
* Authors:
* TIMJ: Tim Jenness (JAC, Hawaii)
* PTW: Patrick T. Wallace
* {enter_new_authors_here}
* Notes:
Expand All @@ -50,6 +51,7 @@
* {enter_further_changes_here}
* Copyright:
* Copyright (C) 2004 Patrick T. Wallace
* Copyright (C) 2012 Science and Technology Facilities Council.
* All Rights Reserved.
Expand Down
2 changes: 2 additions & 0 deletions pal1Atmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
* Authors:
* TIMJ: Tim Jenness (JAC, Hawaii)
* PTW: Patrick T. Wallace
* {enter_new_authors_here}
* Notes:
Expand All @@ -69,6 +70,7 @@
* {enter_further_changes_here}
* Copyright:
* Copyright (C) 2004 Patrick T. Wallace
* Copyright (C) 2012 Science and Technology Facilities Council.
* All Rights Reserved.
Expand Down
1 change: 1 addition & 0 deletions palAddet.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
* {enter_further_changes_here}
* Copyright:
* Copyright (C) 1999 Rutherford Appleton Laboratory
* Copyright (C) 2012 Science and Technology Facilities Council.
* All Rights Reserved.
Expand Down
1 change: 1 addition & 0 deletions palAirmas.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
* {enter_further_changes_here}
* Copyright:
* Copyright (C) 1999 Rutherford Appleton Laboratory.
* Copyright (C) 2012 Science and Technology Facilities Council.
* All Rights Reserved.
Expand Down
2 changes: 2 additions & 0 deletions palAmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
* Authors:
* TIMJ: Tim Jenness (JAC, Hawaii)
* PTW: Patrick T. Wallace
* {enter_new_authors_here}
* Notes:
Expand All @@ -48,6 +49,7 @@
* {enter_further_changes_here}
* Copyright:
* Copyright (C) 2001 Rutherford Appleton Laboratory
* Copyright (C) 2012 Science and Technology Facilities Council.
* All Rights Reserved.
Expand Down
1 change: 1 addition & 0 deletions palAmpqk.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
* {enter_further_changes_here}
* Copyright:
* Copyright (C) 2000 Rutherford Appleton Laboratory
* Copyright (C) 2012 Science and Technology Facilities Council.
* All Rights Reserved.
Expand Down
2 changes: 2 additions & 0 deletions palAop.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
* Apparent to observed place for sources distant from the solar system.
* Authors:
* PTW: Patrick T. Wallace
* TIMJ: Tim Jenness (JAC, Hawaii)
* {enter_new_authors_here}
Expand Down Expand Up @@ -194,6 +195,7 @@
* {enter_further_changes_here}
* Copyright:
* Copyright (C) 2005 Patrick T. Wallace
* Copyright (C) 2012 Science and Technology Facilities Council.
* All Rights Reserved.
Expand Down
2 changes: 2 additions & 0 deletions palAoppat.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
* Authors:
* TIMJ: Tim Jenness (JAC, Hawaii)
* PTW: Patrick T. Wallace
* {enter_new_authors_here}
* Notes:
Expand All @@ -45,6 +46,7 @@
* {enter_further_changes_here}
* Copyright:
* Copyright (C) 1995 Rutherford Appleton Laboratory
* Copyright (C) 2012 Science and Technology Facilities Council.
* All Rights Reserved.
Expand Down
2 changes: 2 additions & 0 deletions palAopqk.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
* Authors:
* TIMJ: Tim Jenness (JAC, Hawaii)
* PTW: Patrick T. Wallace
* {enter_new_authors_here}
* Notes:
Expand Down Expand Up @@ -146,6 +147,7 @@
* {enter_further_changes_here}
* Copyright:
* Copyright (C) 2003 Rutherford Appleton Laboratory
* Copyright (C) 2012 Science and Technology Facilities Council.
* All Rights Reserved.
Expand Down
1 change: 1 addition & 0 deletions palCaldj.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
* Copyright:
* Copyright (C) 1995 Rutherford Appleton Laboratory
* Copyright (C) 2012 Science and Technology Facilities Council.
* All Rights Reserved.
Expand Down
2 changes: 2 additions & 0 deletions palDafin.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
* Authors:
* TIMJ: Tim Jenness (JAC, Hawaii)
* PTW: Patrick T. Wallace
* {enter_new_authors_here}
* Example:
Expand Down Expand Up @@ -97,6 +98,7 @@
* {enter_further_changes_here}
* Copyright:
* Copyright (C) 1996 Rutherford Appleton Laboratory
* Copyright (C) 2012 Science and Technology Facilities Council.
* All Rights Reserved.
Expand Down
3 changes: 2 additions & 1 deletion palDat.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
* History:
* 2012-02-08 (TIMJ):
* Initial version
* Adapted with permission from the Fortran SLALIB library.
* Adapted with permission from the Fortran SLALIB library
* although the core algorithm is now from SOFA.
* {enter_further_changes_here}
* Copyright:
Expand Down
1 change: 1 addition & 0 deletions palDe2h.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
* {enter_further_changes_here}
* Copyright:
* Copyright (C) 1995 Rutherford Appleton Laboratory
* Copyright (C) 2012 Science and Technology Facilities Council.
* All Rights Reserved.
Expand Down
1 change: 1 addition & 0 deletions palDeuler.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
* {enter_further_changes_here}
* Copyright:
* Copyright (C) 1997 Rutherford Appleton Laboratory
* Copyright (C) 2012 Science and Technology Facilities Council.
* All Rights Reserved.
Expand Down
3 changes: 2 additions & 1 deletion palDfltin.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@
* History:
* 2012-03-08 (TIMJ):
* Initial version based on strtod
* Adapted with permission from the Fortran SLALIB library.
* Adapted with permission from the Fortran SLALIB library
* although this is a completely distinct implementation of the SLA API.
* 2012-06-21 (TIMJ):
* Provide a backup for missing copysign.
* 2012-06-22 (TIMJ):
Expand Down
1 change: 1 addition & 0 deletions palDh2e.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
* {enter_further_changes_here}
* Copyright:
* Copyright (C) 1996 Rutherford Appleton Laboratory
* Copyright (C) 2012 Science and Technology Facilities Council.
* All Rights Reserved.
Expand Down
1 change: 1 addition & 0 deletions palDjcal.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
* - Uses iauJd2cal
* Copyright:
* Copyright (C) 2004 Patrick T. Wallace
* Copyright (C) 2012 Science and Technology Facilities Council.
* All Rights Reserved.
Expand Down
2 changes: 2 additions & 0 deletions palDmoon.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
* Authors:
* TIMJ: Tim Jenness (JAC, Hawaii)
* PTW: Patrick T. Wallace
* {enter_new_authors_here}
* Notes:
Expand Down Expand Up @@ -59,6 +60,7 @@
* {enter_further_changes_here}
* Copyright:
* Copyright (C) 1998 Rutherford Appleton Laboratory
* Copyright (C) 2012 Science and Technology Facilities Council.
* All Rights Reserved.
Expand Down
2 changes: 2 additions & 0 deletions palDrange.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
* Authors:
* DSB: David S Berry (JAC, Hawaii)
* PTW: Patrick T. Wallace
* {enter_new_authors_here}
* History:
Expand All @@ -35,6 +36,7 @@
* {enter_further_changes_here}
* Copyright:
* Copyright (C) 1995 Rutherford Appleton Laboratory
* Copyright (C) 2012 Science and Technology Facilities Council.
* All Rights Reserved.
Expand Down
1 change: 1 addition & 0 deletions palDs2tp.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
* {enter_further_changes_here}
* Copyright:
* Copyright (C) 1996 Rutherford Appleton Laboratory
* Copyright (C) 2012 Science and Technology Facilities Council.
* All Rights Reserved.
Expand Down
2 changes: 2 additions & 0 deletions palDt.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
* Authors:
* TIMJ: Tim Jenness (JAC, Hawaii)
* PTW: Patrick T. Wallace
* {enter_new_authors_here}
* Notes:
Expand Down Expand Up @@ -66,6 +67,7 @@
* {enter_further_changes_here}
* Copyright:
* Copyright (C) 1995 Rutherford Appleton Laboratory
* Copyright (C) 2012 Science and Technology Facilities Council.
* All Rights Reserved.
Expand Down
1 change: 1 addition & 0 deletions palDtp2s.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
* {enter_further_changes_here}
* Copyright:
* Copyright (C) 1995 Rutherford Appleton Laboratory
* Copyright (C) 2012 Science and Technology Facilities Council.
* All Rights Reserved.
Expand Down
1 change: 1 addition & 0 deletions palDtps2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
* {enter_further_changes_here}
* Copyright:
* Copyright (C) 1995 Rutherford Appleton Laboratory
* Copyright (C) 2012 Science and Technology Facilities Council.
* All Rights Reserved.
Expand Down
2 changes: 2 additions & 0 deletions palDtt.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
* Authors:
* TIMJ: Tim Jenness (JAC, Hawaii)
* PTW: Patrick T. Wallace
* {enter_new_authors_here}
* Notes:
Expand All @@ -44,6 +45,7 @@
* {enter_further_changes_here}
* Copyright:
* Copyright (C) 1995 Rutherford Appleton Laboratory
* Copyright (C) 2012 Science and Technology Facilities Council.
* All Rights Reserved.
Expand Down
1 change: 1 addition & 0 deletions palEcmat.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
* {enter_further_changes_here}
* Copyright:
* Copyright (C) 1996 Rutherford Appleton Laboratory
* Copyright (C) 2012 Science and Technology Facilities Council.
* All Rights Reserved.
Expand Down
1 change: 1 addition & 0 deletions palEl2ue.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@
* {enter_further_changes_here}
* Copyright:
* Copyright (C) 2005 Patrick T. Wallace
* Copyright (C) 2012 Science and Technology Facilities Council.
* All Rights Reserved.
Expand Down
2 changes: 2 additions & 0 deletions palEpco.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
* epoch.
* Authors:
* PTW: Patrick T. Wallace
* TIMJ: Tim Jenness (JAC, Hawaii)
* {enter_new_authors_here}
Expand All @@ -48,6 +49,7 @@
* {enter_further_changes_here}
* Copyright:
* Copyright (C) 1995 Rutherford Appleton Laboratory
* Copyright (C) 2012 Science and Technology Facilities Council.
* All Rights Reserved.
Expand Down
3 changes: 2 additions & 1 deletion palEpv.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
* History:
* 2012-03-12 (TIMJ):
* Initial version
* Adapted with permission from the Fortran SLALIB library.
* Adapted with permission from the Fortran SLALIB library
* but now mainly calls SOFA routines.
* {enter_further_changes_here}
* Copyright:
Expand Down
2 changes: 2 additions & 0 deletions palEqecl.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
* Transform from J2000.0 equatorial coordinates to ecliptic coordinates.
* Authors:
* PTW: Patrick T. Wallace
* TIMJ: Tim Jenness (JAC, Hawaii)
* {enter_new_authors_here}
Expand All @@ -44,6 +45,7 @@
* {enter_further_changes_here}
* Copyright:
* Copyright (C) 1995 Rutherford Appleton Laboratory
* Copyright (C) 2012 Science and Technology Facilities Council.
* All Rights Reserved.
Expand Down
2 changes: 2 additions & 0 deletions palEqgal.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,10 @@
* {enter_further_changes_here}
* Copyright:
* Copyright (C) 1998 Rutherford Appleton Laboratory
* Copyright (C) 2012 Science and Technology Facilities Council.
* All Rights Reserved.
* Licence:
* This program is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down
5 changes: 3 additions & 2 deletions palEtrms.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
* {enter_further_changes_here}
* Copyright:
* Copyright (C) 1996 Rutherford Appleton Laboratory
* Copyright (C) 2012 Science and Technology Facilities Council.
* All Rights Reserved.
Expand Down Expand Up @@ -88,11 +89,11 @@ void palEtrms ( double ep, double ev[3] ) {
e = .01673011 - (t * 1.26e-7 + 4.193e-5) * t;

/* Mean obliquity */
e0 = (84404.836 - ((t * .00181 + .00319) * t + 46.8495) * t) *
e0 = (84404.836 - ((t * .00181 + .00319) * t + 46.8495) * t) *
PAL__DAS2R;

/* Mean longitude of perihelion */
p = (((t * .012 + 1.65) * t + 6190.67) * t + 1015489.951) *
p = (((t * .012 + 1.65) * t + 6190.67) * t + 1015489.951) *
PAL__DAS2R;

/* E-terms */
Expand Down
1 change: 1 addition & 0 deletions palEvp.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
* {enter_further_changes_here}
* Copyright:
* Copyright (C) 2005 Patrick T. Wallace
* Copyright (C) 2012 Science and Technology Facilities Council.
* All Rights Reserved.
Expand Down
1 change: 1 addition & 0 deletions palFk45z.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
* {enter_further_changes_here}
* Copyright:
* Copyright (C) 1998 Rutherford Appleton Laboratory
* Copyright (C) 2012 Science and Technology Facilities Council.
* All Rights Reserved.
Expand Down
1 change: 1 addition & 0 deletions palFk524.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
* {enter_further_changes_here}
* Copyright:
* Copyright (C) 1995 Rutherford Appleton Laboratory
* Copyright (C) 2012 Science and Technology Facilities Council.
* All Rights Reserved.
Expand Down
Loading

0 comments on commit 9a42a75

Please sign in to comment.