issues
search
piernik-dev
/
piernik
Piernik MHD Code
GNU General Public License v3.0
15
stars
15
forks
source link
COSM_RAYS CXX flags
#488
Closed
woolt
closed
2 years ago
woolt
commented
2 years ago
redefine CXX flags for COSM_RAYS: COSM_RAY_ELECTRONS renamed to CRESP
COSM_RAYS_SOURCES: include cr_data by default with COSM_RAYS and spallation/decay by logicigal switch
consider electrons only by CRESP and cr_data, made only-electrons simulation available
execute electrons with multigrid, too; fix timestep for that
use consistent units set by spallation/decay routine
parameters ncre, ncra, ncrn, ncrs renamed/redefined to ncrb & nspc, ncr2b, ncrsp & ncrn, ncrtot
add switch to spectral for each CR component (may be used in future), introduce cr_index, cr_spectral
merge cr[n,e]_gpcr_ess, K_cr[n,e]_paral/perp variables to not distinguish between electrons and nucleons
spectral electrons diffusion coefficients taken from K_cr_paral/perp sets; dismiss K_cre_paral/perp_1
woolt
commented
2 years ago
jenkins test this please
woolt
commented
2 years ago
jenkins test this please