@@ -64,6 +64,9 @@ namespace libcloudphxx
6464 // should aerosol concentration init be independent of rhod (assumed to be in cm^{-3} and not at STP)
6565 bool aerosol_independent_of_rhod;
6666
67+ // is it allowed to change dt during simulation through opts.dt
68+ bool variable_dt_switch;
69+
6770 // or, alternatively to sd_conc_mean, multiplicity of all SDs = const
6871 unsigned long long sd_const_multi;
6972
@@ -100,17 +103,16 @@ namespace libcloudphxx
100103 // coalescence kernel parameters
101104 std::vector<real_t > kernel_parameters;
102105
103- // chem
104106 bool chem_switch, // if false no chemical reactions throughout the whole simulation (no memory allocation)
105107 coal_switch, // if false no coalescence throughout the whole simulation
106108 sedi_switch, // if false no sedimentation throughout the whole simulation
107109 subs_switch, // if false no subsidence throughout the whole simulation
108110 src_switch, // if false no source throughout the whole simulation
109- exact_sstp_cond, // if true, use per-particle sstp_cond logic, if false, use per-cell
110111 turb_adve_switch, // if true, turbulent motion of SDs is modeled
111112 turb_cond_switch, // if true, turbulent condensation of SDs is modeled
112- turb_coal_switch; // if true, turbulent coalescence kernels can be used
113-
113+ turb_coal_switch, // if true, turbulent coalescence kernels can be used
114+ exact_sstp_cond; // if true, use per-particle sstp_cond logic, if false, use per-cell
115+
114116 int sstp_chem;
115117 real_t chem_rho;
116118
@@ -121,7 +123,8 @@ namespace libcloudphxx
121123 real_t RH_max;
122124
123125 // rng seed
124- int rng_seed;
126+ int rng_seed,
127+ rng_seed_init; // seed used to init SD (positions and dry sizes)
125128
126129 // no of GPUs per MPI node to use, 0 for all available
127130 int dev_count;
@@ -168,6 +171,7 @@ namespace libcloudphxx
168171 RH_max (.95 ), // value seggested in Lebo and Seinfeld 2011
169172 chem_rho (0 ), // dry particle density //TODO add checking if the user gave a different value (np w init) (was 1.8e-3)
170173 rng_seed (44 ),
174+ rng_seed_init (rng_seed),
171175 terminal_velocity (vt_t ::undefined),
172176 kernel (kernel_t ::undefined),
173177 adve_scheme (as_t ::implicit),
@@ -186,7 +190,8 @@ namespace libcloudphxx
186190 diag_incloud_time (false ),
187191 no_ccn_at_init (false ),
188192 open_side_walls (false ),
189- periodic_topbot_walls (false )
193+ periodic_topbot_walls (false ),
194+ variable_dt_switch (false )
190195 {}
191196
192197 // dtor (just to silence -Winline warnings)
0 commit comments