Toolkit Contents Description |
Table of ContentsToolkit Contents Description Introduction Version Information Directory Structure and Contents DATA DOC ETC EXE INCLUDE LIB SRC BRIEF CHRONOS CKBRIEF COMMNT COOKBOOK FRMDIFF INSPEKT MKSPK MSOPCK SPACIT CSPICE SPKDIFF SPKMERGE CSUPPORT TOBIN TOXFR VERSION Using the Toolkit All Users Repeat Users First Time Users Appendix -- NAIF's File Naming Conventions Toolkit Contents DescriptionIntroduction
Most C compilers come with a large set of compilation options that can be used when compiling source code. The compiler options we (NAIF) used when creating the various object libraries are discussed in the section "LIB" that appears later in this document. Version Information
Creation Date: Thu Jun 10 12:01:50 PDT 2010 Version : CSPICE.............V.N0064 Directory Structure and Contents
(installation directory) | cspice | makeall.batcspice also contains several subdirectories that will be described in more detail in the following sections.
(installation directory) | cspice | data doc etc exe include lib src
DATA
(installation directory) | cspice | data | cook_01.tc cook_01.tls cook_01.tpc cook_01.tsc cook_01.tsp cook_02.tc cook_02.tsp geophysical.ker DOC
(installation directory) | cspice | doc | dscriptn.txt version.txt cspice.idx *.ug *.req *.txtThis package also includes HTML version of the documentation. It is provided in the HTML subdirectory of the DOC directory. The ``index.html'' file contains links to the individual HTML documents spread across numerous branches of this subdirectory tree.
(installation directory) | cspice | doc | html | index.html ... ETC
(installation directory) | cspice | etc EXE
(installation directory) | cspice | exe | brief.exe chronos.exe ckbrief.exe commnt.exe simple.exe states.exe subpt.exe tictoc.exe frmdiff.exe inspekt.exe mkspk.exe msopck.exe spacit.exe spkdiff.exe spkmerge.exe tobin.exe toxfr.exe version.exe INCLUDE
(installation directory) | cspice | include | SpiceCK.h SpiceCel.h SpiceEK.h SpiceEll.h SpiceGF.h SpicePln.h SpiceSPK.h SpiceUsr.h SpiceZad.h SpiceZdf.h SpiceZfc.h SpiceZim.h SpiceZmc.h SpiceZpl.h SpiceZpr.h SpiceZst.h f2c.h f2cMang.h fio.h fmt.h fp.h lio.h rawio.h signal1.h zzalloc.h zzerror.h LIB
All static libraries are compiled using the following compiler options:
/c /O2 -D_COMPLEX_DEFINED -DMSDOS -DOMIT_BLANK_CC -DNON_ANSI_STDIOOne routine, zzsecprt.c, is compiled without the /O2 optimization option, because the MS Visual C++/C compiler is unable to process the routine correctly when using this optimization feature. The libraries contained in this directory are listed below. Each library is discussed in more detail later in the section devoted to the SRC directory.
(installation directory) | cspice | lib | cspice.lib csupport.lib SRC
(installation directory) | cspice | src | brief_c chrnos_c ckbref_c commnt_c cook_c frmdif_c inspkt_c mkspk_c msopck_c spacit_c cspice spkdif_c spkmrg_c csupport tobin_c toxfr_c versn_c BRIEF
This directory contains the BRIEF main program, supporting routines, and a script to create the executable program brief.
(installation directory) | cspice | src | brief_c | main.x brief.pgm *.c *.h mkprodct.bat CHRONOS
This directory contains the CHRONOS main program, supporting routines, and a script to create the executable program chronos.
(installation directory) | cspice | src | chrnos_c | main.x chronos.pgm *.c mkprodct.bat CKBRIEF
This directory contains the CKBRIEF main program, supporting routines, and a script to create the executable program ckbrief.
(installation directory) | cspice | src | ckbref_c | main.x ckbrief.pgm *.c mkprodct.bat COMMNT
This directory contains the COMMNT main program and a script to create the executable file commnt.
(installation directory) | cspice | src | commnt_c | main.x commnt.pgm *.h mkprodct.bat COOKBOOK
This directory contains the COOKBOOK source files and a script to create the executable files.
(installation directory) | cspice | src | cook_c | simple.pgm states.pgm subpt.pgm tictoc.pgm mkprodct.bat FRMDIFF
This directory contains the FRMDIFF main program, supporting routines, and a script to create the executable program frmdiff.
(installation directory) | cspice | src | frmdif_c | main.x frmdiff.pgm *.c *.h mkprodct.bat INSPEKT
This directory contains the INSPEKT main program, supporting routines, and a script to create the executable program inspekt.
(installation directory) | cspice | src | inspkt_c | main.x inspekt.pgm *.c *.h mkprodct.bat MKSPK
This directory contains the MKSPK main program, supporting routines, and a script to create the executable program mkspk.
(installation directory) | cspice | src | mkspk_c | main.x mkspk.pgm *.c *.h mkprodct.bat MSOPCK
This directory contains the MSOPCK main program, supporting routines, and a script to create the executable program msopck.
(installation directory) | cspice | src | msopck_c | main.x msopck.pgm *.c *.h mkprodct.bat SPACIT
This directory contains the SPACIT main program, supporting routines, and a script to create the executable program spacit.
(installation directory) | cspice | src | spacit_c | main.x spacit.pgm *.c *.h mkprodct.bat CSPICE
This directory also contains a script for creating CSPICE.
(installation directory) | cspice | src | cspice | *.c *.h mkprodct.bat SPKDIFF
This directory contains the SPKDIFF main program, supporting routines, and a script to create the executable program spkdiff.
(installation directory) | cspice | src | spkdif_c | main.x spkdiff.pgm *.c *.h mkprodct.bat SPKMERGE
This directory contains the SPKMERGE main program, supporting routines, and a script to create the executable file spkmerge.
(installation directory) | cspice | src | spkmrg_c | main.x spkmerge.pgm *.c *.h mkprodct.bat CSUPPORT
This directory contains the CSUPPORT library source files and a batch file to create the object library csupport.a.
(installation directory) | cspice | src | csupport | *.c *.h mkprodct.bat TOBIN
This directory contains the TOBIN main program, supporting routines, and a script to create the executable program tobin.
(installation directory) | cspice | src | tobin_c | main.x tobin.pgm *.h mkprodct.bat TOXFR
This directory contains the TOXFR main program, supporting routines, and a script to create the executable program toxfr.
(installation directory) | cspice | src | toxfr_c | main.x toxfr.pgm *.h mkprodct.bat VERSION
This directory contains the VERSION main program. and a script to create the executable program version.
(installation directory) | cspice | src | version | main.x version.pgm mkprodct.bat Using the ToolkitAll Users
The Toolkit contains two styles of documentation: a plain text version and a hyper-linked HTML version. NAIF recommends you use the HTML version because of the convenience of the hyper-linking. To do that load the top level index of the HTML documentation -- ``doc/html/index.html'' -- into a web browser. Repeat Users
Be aware that sometimes a bug fix or a small algorithmic change in the new SPICE code could result in small changes in numeric results; this could show up in your regression test cases. First Time Users
Please note that NAIF assumes you are familiar with how to write code in the language you have chosen, and that you know how to compile, link (``make'') and execute programs on your computer. If this is not the case you should first take some generic programming lessons before trying to tackle SPICE. Appendix -- NAIF's File Naming Conventions
Source code modules:
*.pgm Fortran or C source files for program modules. *.for Fortran source code files. *.f *.inc Fortran include files. *.c C source code files. *.h C header files. *.pro IDL source code files. *.m MATLAB source code files. *.java Java source code files.Executables, libraries, object files:
(no ext) Executable files. *.exe *.o Object files. *.obj *.a Object library files. *.lib *.olb *.so Shared object library files. *.dll *.mex* MATLAB shared object library files. *.dlm IDL and MATLAB library definition modules. *.def *.class Java class files.Documents:
*.req Text format Required Reading files. *.ug Text format User's Guides. *.idx Permuted index files. *.txt Text format documentation files. *.tex TeX files. *.dvi Device independent files produced by TeX. *.ps Postscript files. *.pdf PDF files. *.htm HTML files. *.html *.css Style sheet files. *.args Javadoc arguments files.SPICE Kernel files:
*.bsp Binary SPK (ephemeris) files. *.tsp Transfer format SPK files. *.xsp *.bc Binary CK (pointing) files. *.tc Transfer format CK files. *.xc *.tpc Text PCK (planetary constants) files. *.bpc Binary PCK files. *.xpc Transfer format PCK files. *.ti Text IK (instrument parameters) files. *.tls Text LSK (leapseconds) files. *.tsc Text SCLK (spacecraft clock) files. *.tf Text FK (frame definitions) files. *.bes Binary EK (events) Sequence files. *.tes Transfer format EK Sequence files. *.xes *.ten Text EK Experimenter's Notebook files. *.tep Text EK Science Plan files. *.bdb Binary SPICE Database files. *.xdb Transfer format SPICE Database files. *.tm Text meta-kernels (``furnsh'') files.Build scripts:
mkprodct.csh Unix build scripts. mkprodct.sh mkprodct.tcsh mkprodct.com VAX/Dec Alpha build scripts. mkprodct.bat PC/DOS, PS/WIN build scripts. mkprodct.mpw MAC MPW build scripts. mkprodct.mas MAC Apple Script build scripts. |