[ascl:2602.020]
Spartan: Modeling advection-dominated accretion flows and their spectra
Spartan calculates the structure and spectrum of optically thin advection-dominated accretion flows (ADAFs) by solving the disk equations numerically under a geometrically thin-disk assumption, using height-integrated equation sets. It reads physical and numerical parameters, including black hole mass, accretion rate, viscosity, pressure ratio, adiabatic index, spin, electron heating fraction, frequency and radial grids, radial step-size controls, specific angular momentum limits, and inclination angle. Spartan returns intrinsic and observed spectra, global disk solutions, and spectra at each radius, and supplies tools to visualize the disk structure and spectral output.
[ascl:1403.012]
YNOGKM: Time-like geodesics in the Kerr-Newmann Spacetime calculations
YNOGKM (Yun-Nan observatories geodesic in a Kerr-Newman spacetime for massive particles) performs fast calculation of time-like geodesics in the Kerr-Newman (K-N) spacetime; it is a direct extension of
YNOGK (Yun-Nan observatories geodesic Kerr) calculating null geodesics in a Kerr spacetime. The four Boyer-Lindquis coordinates and proper time are expressed as functions of a parameter p semi-analytically by using the Weierstrass' and Jacobi's elliptic functions and integrals. The elliptic integrals are computed by Carlson's elliptic integral method, which guarantees the fast speed of the code. The source Fortran file ynogkm.f90 contains three modules: constants, rootfind, ellfunction, and blcoordinates.