solv_conc_lag.Rd
Lagrangian formulation
solv_conc_lag(t, z, C0, Psp0, Pmu0, lambda, S, final = FALSE)
time vector (a)
depth vector (g/cm2), same length as t
initial concentration (at/g)
SLHL spallation production profile (at/g/a) at depth corresponding to z
muonic production profil at depth corresponding to z
radioactive decay constant (1/a)
scaling parameters for PsP0 and Pmu0 (2 columns), at times corresponding to t (same number of rows)
if TRUE only compute the final concentration (default=FALSE)