From dea778ff3d0a18c89a571a2f46f178c762360f0b Mon Sep 17 00:00:00 2001 From: Menno Date: Mon, 30 Sep 2024 13:11:16 +0200 Subject: [PATCH] remove unnecessary summations --- src_cuda_rt/Raytracer.cu | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src_cuda_rt/Raytracer.cu b/src_cuda_rt/Raytracer.cu index 5160a4d..10eb3d1 100644 --- a/src_cuda_rt/Raytracer.cu +++ b/src_cuda_rt/Raytracer.cu @@ -124,11 +124,9 @@ namespace Float tau_tot_sum = Float(0.); Float tausca_tot_sum = Float(0.); - Float tau_cld_sum = Float(0.); Float tausca_cld_sum = Float(0.); Float tauscag_cld_sum = Float(0.); - Float tau_aer_sum = Float(0.); Float tausca_aer_sum = Float(0.); Float tauscag_aer_sum = Float(0.); @@ -138,11 +136,9 @@ namespace tau_tot_sum += tau_tot[idx]; tausca_tot_sum += tau_tot[idx] * ssa_tot[idx]; - tau_cld_sum += tau_cld[idx]; tausca_cld_sum += tau_cld[idx] * ssa_cld[idx]; tauscag_cld_sum += tau_cld[idx] * ssa_cld[idx] * asy_cld[idx]; - tau_aer_sum += tau_aer[idx]; tausca_aer_sum += tau_aer[idx] * ssa_aer[idx]; tauscag_aer_sum += tau_aer[idx] * ssa_aer[idx] * asy_aer[idx]; }