lesgourg / class_public

Public repository of the Cosmic Linear Anisotropy Solving System (master for the most recent version of the standard code; GW_CLASS to include Cosmic Gravitational Wave Background anisotropies; classnet branch for acceleration with neutral networks; ExoCLASS branch for exotic energy injection; class_matter branch for FFTlog)
218 stars 291 forks source link

shooting failed while constraining a new density parameter #562

Open deSitter2 opened 7 months ago

deSitter2 commented 7 months ago

Error in Class: background_init(L:849) :condition (pba->shooting_failed == TRUE) is true; Shooting failed, try optimising input_get_guess(). Error message:

input_shooting(L:646) :error in input_find_root(&xzero, &fevals, ppr->tol_shooting_deltax_rel, &fzw, errmsg); =>input_find_root(L:928) :error in input_fzerofun_1d(x1, pfzw, &f1, errmsg); =>input_fzerofun_1d(L:997) :error in input_try_unknown_parameters(&input, 1, pfzw, output, error_message); =>input_try_unknown_parameters(L:1373) :error in background_init(&pr,&ba); =>background_init(L:865) :error in background_solve(ppr,pba); =>background_solve(L:1996) :error in generic_evolver(background_derivs, loga_ini, loga_final, pvecback_integration, used_in_output, pba->bi_size, &bpaw, ppr->tol_background_integration, ppr->smallest_allowed_variation, background_timescale, ppr->background_integration_stepsize, pba->loga_table, pba->bt_size, background_sources, ((void *)0), pba->error_message); =>evolver_ndf15(L:497) :condition (absh <= hmin) is true; Step size too small: step:5.15779e-14, minimum:5.15779e-14, in interval: [-32.2362:0]

I added a new density parameter "rho_cc" in the class as other parameters exist there like "rho_fld", I followed the same procedure as other density parameters added like ''rho_lamda, fld, ..." and "Omega_Lambda,... Omega_fld" but while running montepython I am getting this issue in class, it would be a great help for me if anybody can help. thanks in advance !!