Skip to content

Commit 88d906e

Browse files
committed
comment debug output in relax
1 parent 413e60b commit 88d906e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/impl/particles_impl_rlx_dry_distros.ipp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,9 @@ namespace libcloudphxx
194194
auto new_end = thrust::reduce_by_key(count_k.begin(), count_k.begin() + count_n, count_mom.begin(), hor_sum_k.begin(), hor_sum_count.begin());
195195

196196
//std::cerr << "hor_sum_k:" << std::endl;
197-
debug::print(hor_sum_k.begin(), hor_sum_k.end());
197+
//debug::print(hor_sum_k.begin(), hor_sum_k.end());
198198
//std::cerr << "hor_sum_count:" << std::endl;
199-
debug::print(hor_sum_count.begin(), hor_sum_count.end());
199+
//debug::print(hor_sum_count.begin(), hor_sum_count.end());
200200

201201
int number_of_levels_with_droplets = new_end.first - hor_sum_k.begin(); // number of levels with any SD, not with SD in this size and kappa range
202202
//std::cerr << "number_of_levels_with_droplets: " << number_of_levels_with_droplets << std::endl;
@@ -240,22 +240,22 @@ namespace libcloudphxx
240240
//std::cerr << std::endl;
241241

242242
//std::cerr << "hor_sum:" << std::endl;
243-
debug::print(hor_sum);
243+
//debug::print(hor_sum);
244244

245245
//std::cerr << "expected_hor_sum:" << std::endl;
246-
debug::print(expected_hor_sum);
246+
//debug::print(expected_hor_sum);
247247
// calculate how many CCN are missing
248248
thrust::transform(expected_hor_sum.begin(), expected_hor_sum.end(), hor_sum.begin(), hor_missing.begin(), arg::_1 - arg::_2);
249249
thrust::replace_if(hor_missing.begin(), hor_missing.end(), arg::_1 < 0, 0);
250250

251251
//std::cerr << "hor_missing:" << std::endl;
252-
debug::print(hor_missing);
252+
//debug::print(hor_missing);
253253

254254
// set number of SDs to init; create only if concentration is lower than expected with a tolerance
255255
thrust::transform(hor_missing.begin(), hor_missing.end(), expected_hor_sum.begin(), n_SD_to_create.begin(), detail::calc_n_sd_to_create<real_t>(config.rlx_conc_tolerance, opts_init.rlx_sd_per_bin));
256256

257257
//std::cerr << "n_SD_to_create:" << std::endl;
258-
debug::print(n_SD_to_create);
258+
//debug::print(n_SD_to_create);
259259

260260
n_part_old = n_part;
261261
n_part_to_init = thrust::reduce(n_SD_to_create.begin(), n_SD_to_create.end());

0 commit comments

Comments
 (0)