The option dinitIceSheetHeight in POISE allows negative arguments, which shouldn't be allowed. It'd be better to change it so that if the user inputs a negative value, it defaults to meters since the ice sheet height is positive definite.
N-body space simulator that uses the Runge-Kutta 4 numerical integration method to solve two first order differential equations derived from the second order differential equation that governs the motion of an orbiting celestial. Also has preset demos for two-body and three-body circular orbits which use parametric equations. Uses the SFML (Simple and Fast Multimedia Library) library: https://www.sfml-dev.org
I share the exercises I am working through in order to develop a better practical understanding of computer simulations as applied to physics and astrophysics theories and phenomena.
This is a two-dimensional simulation of our solar system to scale, written in Javascript while using the Keplerian Elements for calculating the positions.
Finding the stable orbits of a small comet in the comet–earth–sun 3 body system using the classic Runge–Kutta method as well as the concept of Lagrange points.
The option dinitIceSheetHeight in POISE allows negative arguments, which shouldn't be allowed. It'd be better to change it so that if the user inputs a negative value, it defaults to meters since the ice sheet height is positive definite.