Commit Graph

6 Commits

Author SHA1 Message Date
Michele Guerini Rocco
45ef9c5eae
src/coreprofiles: make psnbnd fully automatic
1. Fix the mismatch between the psnbnd in coreprofiles and gray_core.
   This happens whenever gray overrides the externally provided one
   (i.e. the density tail would become negative before psnbnd and is so
   rescaled to end exactly on the zero).

2. Make psnbnd no longer required by always computing it as in 1.
   It hasn't been removed, because gray_params.data is sacrosant,
   but it no longer has any effect.

3. Cleanup: mark public functions, restructure the global variables into
   three categories; add comments explaining the analytical profiles
   format, formulae and how the polynomial tail is computed.
2022-05-22 04:06:21 +02:00
Michele Guerini Rocco
6010a9361b
add INI configuration file
This adds a new configuration file based on the INI format.
The new format will allow adding GRAY parameters without breaking
compatibility with existing configurations, unlike as of the old
gray_params.data.
2022-05-22 01:02:19 +02:00
81e1190bf8 added templates for analytical equilibrium/profiles input files 2020-03-06 10:49:23 +00:00
4f0cc7fb47 fixed wrong psi assignment if input profiles are given vs rhot. Added comment for ieccd flag in gray_params.data 2017-02-10 14:14:53 +00:00
a5199b1b24 some additional output prints (2D maps and Bcart, Ncart along central ray) 2016-02-12 16:49:00 +00:00
e89b0730ca removed obsolete branches; added templates for input files in trunk/input and branches/refl/input 2016-01-26 10:32:29 +00:00