This is an old revision of the document!


General Settings

In addition to the tests, we will here consider the general settings of the ASWNS code. These settings can be found in the file ASWNS.f90 and determine fundamental constants, but also the grid setup, or iteration details.

If you open ASWNS.f90, you will find the following parameters

integer, parameter system::nr = 6000 total number of radial grid points More…

integer, parameter system::nth = 50 number of angular mesh points (1 = 1D TOV solution) More…

integer, parameter system::mls = 30 number of Legendre polinomials for the expansion in theta (0 = 1D) More…

logical, parameter system::verbose = .true. determine the amount of logging More…

double precision, parameter system::rhalf = 30d0 end of the inner radial grid / begin of the outer radial grid More…

double precision, parameter system::rmax = 1000d0 outer radius (end of the radial grid) More…

logical, parameter system::planar_symmetry = .true. if planar_symmetry == .true., only even harmonics are used (for the metric) More…

double precision, parameter system::qfactor = .1d0 damping factor for the metric quantities in the convergence loop More…

double precision, parameter system::abs_tol = 1d-11 criterion for the absolute convergence of the configuration More…

integer system::wait_iters = 50 number of iterations before start checking for convergence after hydro relaxation More…

double precision, parameter system::mn = 8.42335d-58 neutron mass [Msun] More…

double precision, parameter system::rhon = 4.339d-4 nuclear saturation density [Msun^-2] More…

double precision, parameter system::km_to_msol = 0.677218135d0 convertion from km to solar masses More…

double precision, parameter system::pi =DACOS(-1d0) greek pi More…

double precision, dimension(0:nr+1) system::r radial grid (1 ghost zone per side) More…

double precision, dimension(0:nth+1) system::th angular grid (1 ghost zone per side) More…

Last modified: le 2022/08/16 13:53