Skip to content

Commit 6712fc1

Browse files
author
Menno Veerman
committed
update RGB variant
1 parent e279b7f commit 6712fc1

File tree

6 files changed

+156
-167
lines changed

6 files changed

+156
-167
lines changed

include_rt/Raytracer_bw.h

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,15 @@ class Raytracer_bw
2323
const int n_col_x, const int n_col_y, const int nz, const int n_lay,
2424
const Float dx_grid, const Float dy_grid, const Float dz_grid,
2525
const Array_gpu<Float,1>& z_lev,
26-
const Optical_props_2str_rt& optical_props,
27-
const Optical_props_2str_rt& cloud_optical_props,
26+
const Array_gpu<Float,2>& tau_gas,
27+
const Array_gpu<Float,2>& ssa_gas,
28+
const Array_gpu<Float,2>& asy_gas,
29+
const Array_gpu<Float,2>& tau_cloud,
30+
const Array_gpu<Float,2>& ssa_cloud,
2831
const Array_gpu<Float,2>& surface_albedo,
2932
const Float zenith_angle,
3033
const Float azimuth_angle,
31-
const Float tod_inc_direct,
32-
const Float tod_inc_diffuse,
34+
const Float toa_src,
3335
const Float toa_factor,
3436
const Float rayleigh,
3537
const Array_gpu<Float,2>& col_dry,
@@ -49,8 +51,7 @@ class Raytracer_bw
4951
const Array_gpu<Float,2>& surface_albedo,
5052
const Float zenith_angle,
5153
const Float azimuth_angle,
52-
const Float tod_inc_direct,
53-
const Float tod_inc_diffuse,
54+
const Float toa_src,
5455
const Array_gpu<Float,1>& cam_data,
5556
Array_gpu<Float,2>& flux_camera);
5657

include_rt/raytracer_kernels_bw.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ void ray_tracer_kernel_bw(
4545
const Int photons_to_shoot,
4646
const Grid_knull* __restrict__ k_null_grid,
4747
Float* __restrict__ camera_count,
48-
Float* __restrict__ camera_diff,
4948
Float* __restrict__ camera_shot,
5049
int* __restrict__ counter,
5150
const int cam_nx, const int cam_ny, const Float* __restrict__ cam_data,

0 commit comments

Comments
 (0)