This is the master page for the SOFA Library Issue 2021-05-12 for ANSI C. From here you can find your way to all the resources comprising this Issue, including notes and source download pages.
Issue 2021-05-12 is the eighteenth release of the SOFA Library for ANSI C.
The complete SOFA Library source set is available in a single download bundle for Unix (including macOS) or Windows systems. This is the preferred method of obtaining the SOFA Library. The ANSI C SOFA Library Issue 2021-05-12 is available to download in various formats.
Please note: Tarballs contain files with Unix line-terminations and Zip archives contain files with DOS line-terminations. Please download the appropriate file for your operating system.
Structure created by unpacking the ANSI C release tar / zip files:
| ---- sofa | ---- 20210512 (issue date) ---- ... any other (sub-)releases ---- ... | | ---- c (00READ.ME) ---- c (00READ.ME) | | ---- doc (*.lis, *.pdf) ---- doc (*.lis, *.pdf) | | ---- src (*.c, *.h, makefile) ---- src (*.c, *.h, makefile)
The information in sofa.h and sofam.h has been rearranged to eliminate problems
encountered by C++ developers. The change has
The consequence of this change for SOFA functions is that an explicit #include "sofam.h" has had to be added to some of them.
Previously, sofam.h contained both structure definitions and constants, and was #included by sofa.h, which was otherwise dedicated to function prototypes. The difficulty was that short uppercase names in sofam.h were colliding with C++ variables.
The consequence of the change for developers is that any application that uses
constants from sofa.h will now need an explicit #include
This problem does not affect the Fortran library.
The SOFA product documentation is available in Adobe Portable Document Format (pdf) or plain ASCII text files to guarantee platform independence.The manual may be downloaded as a single file or in sections if you prefer.
PLEASE NOTE: Any updates, improvements or corrections to the documentation for this release will be posted here.