solstice-solver

Solver library of the solstice app
git clone git://git.meso-star.com/solstice-solver.git
Log | Files | Refs | README | LICENSE

commit 592d9279520ac5efb2a3da2ba656571da9324ceb
parent 1e3b889ba897632a4561dc287f96b4519f451ab5
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Fri,  8 Sep 2017 15:06:17 +0200

BugFix: conservation of energy check was wrong.

Diffstat:
Msrc/ssol_solver.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/ssol_solver.c b/src/ssol_solver.c @@ -849,6 +849,7 @@ trace_radiative_path } else { ACCUM_WEIGHT(thread_ctx->other_absorbed, pt.incoming_flux * pt.kabs_at_pt); + pt.energy_loss -= (pt.incoming_flux * pt.kabs_at_pt); } /* Stop the radiative random walk if no more flux */