PLplot: deltaT_test.c Source File

PLplot 5.10.0

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
deltaT_test.c
Go to the documentation of this file.
1 #include "deltaT.h"
2 #include "qsastime.h"
3 #include "dsplint.h"
4 #include <stdio.h>
5 int main()
6 {
7 int iyear;
8 // double year, delta, ddelta, d2delta;
9 double year, delta;
10 for ( iyear = -1000; iyear <= 2000; ++iyear )
11 {
12 year = (double) iyear;
13 // dsplint(xspline, yspline, y2spline, number_of_entries_in_spline_tables, year, &delta, &ddelta, &d2delta);
14 dsplint( xspline, yspline, y2spline, number_of_entries_in_spline_tables, year, &delta );
15 // printf("%9.0f.%9.0f.%15.6E%15.6E\n", year, delta, ddelta, d2delta);
16 printf( "%9.0f.%9.0f.\n", year, delta );
17 }
18 return 0;
19 }
20