IGRF v.4code

IGRF v.4: Determines the Earth's magnetic field components, written by Mark W Hounslow
The source code (Version 4.0) is written using Microsoft Visual C++, and Compaq Fortran. It was originally written in Version 1, but the latest changes have been in version 6.0. The code contains the complete source code specific to IGRF. This is apart from some linked libraries and source codes for the linked dll's, which are available in both debug and release versions with the distributed code below. You will clearly need to have Microsoft Visual C++ 6.0 and a compatible 32-bit Fortran compiler, in order to modify the program functionality. The Fortran part of the code is exclusively located in a companion DLL, the source code of which is also present, along with debug and release versions of the DLL, if Fortran is not available.
To Install this c++ code:

1) Unzip the file into a directory from the root drive called "\Geophys\".
If this is not done, the references to header files in other folders
will not work.
2) You may need to change some other references also such as those to MFC
standard help files, which reside where visual studio is installed

The zip file contains in addition, the release and debug libraries of external linked
code not made available here.
Download the code

Before downloading, please read the license agreement for using this freeware, which is applicable to both the compiled program and the source code.

Atlas Software MPTS Butlers book