Skip to content

Commit

Permalink
convert energy deposit to fluence
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Nov 15, 2017
1 parent 8e2f5ea commit 96c4eda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmc/trunk/src/tettracing.c
Expand Up @@ -774,7 +774,7 @@ float branchless_badouel_raytet(ray *r, raytracer *tracer, mcconfig *cfg, visito

if(prop->mua>0.f){
r->Eabsorb+=ww;
if(cfg->outputdomain==odMesh && (cfg->outputtype==otFlux || cfg->outputtype==otJacobian))
if(cfg->outputtype==otFlux || cfg->outputtype==otJacobian)
ww/=prop->mua;
}

Expand Down

0 comments on commit 96c4eda

Please sign in to comment.