I use a number of different computer codes in my research, some of which I have written myself, and am happy to share them with anyone who wishes to use them. See below for information about some of the codes I have written and how to acquire them. If you don't see what you are looking for, or want further advice, please contact me


HERCULES is a open-source code that uses a potential field method to model the internal structure of planets. I developed the code for Lock & Stewart 2017 to investigate the structure of terrestrial planets but it has many other applications. The most recent version of the code can be found in this GitHub repository.

All photos used on this site are either available under a creative commons license, or are the property of Brian Lock or NASA.