ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
ERF_SuperDropletPCDefinitions.H
Go to the documentation of this file.
1 #ifndef SUPERDROPLET_PC_DEFN_H_
2 #define SUPERDROPLET_PC_DEFN_H_
3 
4 #ifdef ERF_USE_PARTICLES
5 
6 #include <AMReX_Enum.H>
7 #include <AMReX_Array.H>
8 #include <AMReX_REAL.H>
9 #include <AMReX_Particles.H>
10 #include "ERF_IndexDefines.H"
11 #include <cmath>
12 #include "ERF_NumericalConstants.H"
13 #include "ERFPC.H"
14 #include "ERF_SDInitialization.H"
15 
16 /*! \brief Volume of cell (i,j,k): dx dy times its physical thickness, the mean length of
17  * its four vertical edges, when the cells differ in thickness (stretched or
18  * terrain-fitted mesh), else dx dy dz */
19 struct SDCellVolume
20 {
21  amrex::GpuArray<amrex::Real,AMREX_SPACEDIM> dx;
22  amrex::Array4<amrex::Real const> z_nd;
23  bool variable_dz = false;
24 
25  AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
26  amrex::Real operator() (int i, int j, int k) const noexcept
27  {
28  if (!variable_dz) { return dx[0]*dx[1]*dx[2]; }
29  return dx[0]*dx[1]*ERFParticleGeometry::cell_thickness(z_nd, i, j, k);
30  }
31 };
32 
33 namespace SDPCDefn {
34  using SDSpeciesMassArr = amrex::GpuArray<amrex::ParticleReal*,SupDropInit::num_species_max>;
35  using SDAerosolMassArr = amrex::GpuArray<amrex::ParticleReal*,SupDropInit::num_aerosols_max>;
36 
37  /*! \brief Real-type struct-of-array attributes of a super-droplet */
38  using SuperDropletsRealIdx = ERFParticlesRealIdx;
39 
40  /*! \brief Int-type struct-of-array attributes of a super-droplet */
41  using SuperDropletsIntIdx = ERFParticlesIntIdx;
42 
43  /*! \brief Int-type struct-of-array attributes added during runtime */
44  struct SuperDropletsIntIdxSoA_RT
45  {
46  enum {
47  active = 0, /*!< Active/inactive */
48  ncomps
49  };
50  };
51 
52  /*! \brief Real-type struct-of-array attributes added during runtime */
53  struct SuperDropletsRealIdxSoA_RT
54  {
55  enum {
56  radius = 0, /*!< Radius of physical particles */
57  multiplicity, /*!< Number of droplets that this super-droplet represents
58  (Real type to handle large values) */
59  term_vel, /*!< Terminal velocity */
60 #ifdef ERF_USE_ML_UPHYS_DIAGNOSTICS
61  cond_tendency, /*!< Condensation/evaporation tendency */
62 #endif
63  uid, /*!< unique ID */
64  ncomps
65  };
66  };
67 
68  /*! \brief Real-type struct-of-array attributes added during runtime for ice */
69  struct SDIceRealIdxSoA_RT
70  {
71  enum {
72  T_fz = 0, /*!< freezing temperature */
73  a, /*!< equatorial radius */
74  c, /*!< porous radius */
75  m_rime, /*!< rime mass */
76  n_mono, /*!< number of primary ice crystals */
77  ncomps
78  };
79  };
80 }
81 
82 AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
83 static int ridx_a (const int a_i, /*!< Species index */
84  const int a_num_a, /*!< Number of aerosols */
85  const int a_num_s /*!< Number of species */)
86 {
87  amrex::ignore_unused(a_num_a);
88  amrex::ignore_unused(a_num_s);
89  return SDPCDefn::SuperDropletsRealIdxSoA_RT::ncomps
90  + a_i;
91 }
92 
93 AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
94 static int ridx_s (const int a_i, /*!< Species index */
95  const int a_num_a, /*!< Number of aerosols */
96  const int a_num_s /*!< Number of species */)
97 {
98  amrex::ignore_unused(a_num_s);
99  return SDPCDefn::SuperDropletsRealIdxSoA_RT::ncomps
100  + a_num_a
101  + a_i;
102 }
103 
104 AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
105 static int idx_a (const int a_i, /*!< Species index */
106  const int a_num_a, /*!< Number of aerosols */
107  const int a_num_s /*!< Number of species */)
108 {
109  return SDPCDefn::SuperDropletsRealIdx::ncomps + ridx_a(a_i,a_num_a,a_num_s);
110 }
111 
112 AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
113 static int idx_s (const int a_i, /*!< Species index */
114  const int a_num_a, /*!< Number of aerosols */
115  const int a_num_s /*!< Number of species */)
116 {
117  return SDPCDefn::SuperDropletsRealIdx::ncomps + ridx_s(a_i,a_num_a,a_num_s);
118 }
119 
120 AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
121 static int ridx_ice_Tfz (const int a_num_a, /*!< Number of aerosols */
122  const int a_num_s /*!< Number of species */)
123 {
124  return SDPCDefn::SuperDropletsRealIdxSoA_RT::ncomps
125  + a_num_a
126  + a_num_s
127  + SDPCDefn::SDIceRealIdxSoA_RT::T_fz;
128 }
129 
130 AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
131 static int ridx_ice_a (const int a_num_a, /*!< Number of aerosols */
132  const int a_num_s /*!< Number of species */)
133 {
134  return SDPCDefn::SuperDropletsRealIdxSoA_RT::ncomps
135  + a_num_a
136  + a_num_s
137  + SDPCDefn::SDIceRealIdxSoA_RT::a;
138 }
139 
140 AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
141 static int ridx_ice_c (const int a_num_a, /*!< Number of aerosols */
142  const int a_num_s /*!< Number of species */)
143 {
144  return SDPCDefn::SuperDropletsRealIdxSoA_RT::ncomps
145  + a_num_a
146  + a_num_s
147  + SDPCDefn::SDIceRealIdxSoA_RT::c;
148 }
149 
150 AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
151 static int ridx_ice_mrime (const int a_num_a, /*!< Number of aerosols */
152  const int a_num_s /*!< Number of species */)
153 {
154  return SDPCDefn::SuperDropletsRealIdxSoA_RT::ncomps
155  + a_num_a
156  + a_num_s
157  + SDPCDefn::SDIceRealIdxSoA_RT::m_rime;
158 }
159 
160 AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
161 static int ridx_ice_nmono (const int a_num_a, /*!< Number of aerosols */
162  const int a_num_s /*!< Number of species */)
163 {
164  return SDPCDefn::SuperDropletsRealIdxSoA_RT::ncomps
165  + a_num_a
166  + a_num_s
167  + SDPCDefn::SDIceRealIdxSoA_RT::n_mono;
168 }
169 
170 AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
171 static int idx_ice_Tfz (const int a_num_a, /*!< Number of aerosols */
172  const int a_num_s /*!< Number of species */)
173 {
174  return SDPCDefn::SuperDropletsRealIdx::ncomps + ridx_ice_Tfz(a_num_a,a_num_s);
175 }
176 
177 AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
178 static int idx_ice_a (const int a_num_a, /*!< Number of aerosols */
179  const int a_num_s /*!< Number of species */)
180 {
181  return SDPCDefn::SuperDropletsRealIdx::ncomps + ridx_ice_a(a_num_a,a_num_s);
182 }
183 
184 AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
185 static int idx_ice_c (const int a_num_a, /*!< Number of aerosols */
186  const int a_num_s /*!< Number of species */)
187 {
188  return SDPCDefn::SuperDropletsRealIdx::ncomps + ridx_ice_c(a_num_a,a_num_s);
189 }
190 
191 AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
192 static int idx_ice_mrime (const int a_num_a, /*!< Number of aerosols */
193  const int a_num_s /*!< Number of species */)
194 {
195  return SDPCDefn::SuperDropletsRealIdx::ncomps + ridx_ice_mrime(a_num_a,a_num_s);
196 }
197 
198 AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
199 static int idx_ice_nmono (const int a_num_a, /*!< Number of aerosols */
200  const int a_num_s /*!< Number of species */)
201 {
202  return SDPCDefn::SuperDropletsRealIdx::ncomps + ridx_ice_nmono(a_num_a,a_num_s);
203 }
204 
205 AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
206 static auto ice_rho (const amrex::ParticleReal a_a, /*!< polar radius */
207  const amrex::ParticleReal a_c, /*!< equatorial radius */
208  const amrex::ParticleReal a_mass /*!< mass */ )
209 {
210  auto vol = static_cast<amrex::ParticleReal>(four_thirds_pi)*a_a*a_a*a_c;
211  if (vol == amrex::ParticleReal(0)) {
212  AMREX_ALWAYS_ASSERT(a_mass == amrex::ParticleReal(0));
213  return amrex::ParticleReal(0);
214  } else {
215  return a_mass/vol;
216  }
217 }
218 
219 /*! \brief Compute total mass of a droplet from its components */
220 AMREX_GPU_DEVICE AMREX_FORCE_INLINE
221 static amrex::ParticleReal SD_total_mass ( const int a_idx, /*!< Particle index */
222  const int a_num_sp, /*!< number of species */
223  const int a_num_ae, /*!< number of aerosols */
224  const SDPCDefn::SDSpeciesMassArr& a_sp_mass, /*!< species masses */
225  const SDPCDefn::SDAerosolMassArr& a_ae_mass /*!< aerosol masses */ )
226 {
227  amrex::ParticleReal retval = zero;
228  for (int j = 0; j < a_num_sp; j++) {
229  retval += a_sp_mass[j][a_idx];
230  }
231  for (int j = 0; j < a_num_ae; j++) {
232  retval += a_ae_mass[j][a_idx];
233  }
234  return retval;
235 }
236 
237 /*! \brief Compute effective radius of a droplet from its components */
238 AMREX_GPU_DEVICE AMREX_FORCE_INLINE
239 static amrex::ParticleReal SD_effective_radius ( const int a_idx, /*!< Particle index */
240  const int a_idx_w, /*!< Species index of water */
241  amrex::ParticleReal a_rho_w, /*!< density of water */
242  const int a_num_sp, /*!< number of species */
243  const int a_num_ae, /*!< number of aerosols */
244  const int* const a_sp_sol_arr, /*!< solubility of species */
245  const int* const a_ae_sol_arr, /*!< solubility of aerosols */
246  const SDPCDefn::SDSpeciesMassArr& a_sp_mass, /*!< species masses */
247  const SDPCDefn::SDAerosolMassArr& a_ae_mass, /*!< aerosol masses */
248  const amrex::ParticleReal* const a_sp_rho, /*!< species densities */
249  const amrex::ParticleReal* const a_ae_rho /*!< aerosol densities */ )
250 {
251  amrex::ParticleReal m_w = a_sp_mass[a_idx_w][a_idx];
252  amrex::ParticleReal m_s = zero;
253  amrex::ParticleReal m_p = zero;
254  amrex::ParticleReal rho_p = zero;
255  for (int j = 0; j < a_num_sp; j++) {
256  if (j != a_idx_w) {
257  if (a_sp_sol_arr[j]) {
258  m_s += a_sp_mass[j][a_idx];
259  } else {
260  m_p += a_sp_mass[j][a_idx];
261  rho_p += a_sp_rho[j]*a_sp_mass[j][a_idx];
262  }
263  }
264  }
265  for (int j = 0; j < a_num_ae; j++) {
266  if (a_ae_sol_arr[j]) {
267  m_s += a_ae_mass[j][a_idx];
268  } else {
269  m_p += a_ae_mass[j][a_idx];
270  rho_p += a_ae_rho[j]*a_ae_mass[j][a_idx];
271  }
272  }
273  // The optimizer evaluates the division before the selection, so its denominator
274  // must never be zero (0/0 trips amrex.fpe_trap_invalid); equal to m_p for m_p >= min().
275  const auto rho_p_avg = rho_p / amrex::max(m_p, std::numeric_limits<amrex::ParticleReal>::min());
276  rho_p = (m_p > zero) ? rho_p_avg : one;
277  auto m_t = m_w + m_s + (a_rho_w/rho_p)*m_p;
278  auto r_eff = std::cbrt(m_t / (four_thirds_pi*a_rho_w));
279  return r_eff;
280 }
281 
282 /*! \brief Compute "dry" radius of a droplet from its insoluble components */
283 AMREX_GPU_DEVICE AMREX_FORCE_INLINE
284 static amrex::ParticleReal SD_dry_radius ( const int a_idx, /*!< Particle index */
285  const int a_num_sp, /*!< number of species */
286  const int a_num_ae, /*!< number of aerosols */
287  const int* const a_sp_sol_arr, /*!< solubility of species */
288  const int* const a_ae_sol_arr, /*!< solubility of aerosols */
289  const SDPCDefn::SDSpeciesMassArr& a_sp_mass, /*!< species masses */
290  const SDPCDefn::SDAerosolMassArr& a_ae_mass, /*!< aerosol masses */
291  const amrex::ParticleReal* const a_sp_rho, /*!< species densities */
292  const amrex::ParticleReal* const a_ae_rho /*!< aerosol densities */ )
293 {
294  amrex::ParticleReal m_p = zero;
295  amrex::ParticleReal rho_p = zero;
296  for (int j = 0; j < a_num_sp; j++) {
297  if (!a_sp_sol_arr[j]) {
298  m_p += a_sp_mass[j][a_idx];
299  rho_p += a_sp_rho[j]*a_sp_mass[j][a_idx];
300  }
301  }
302  for (int j = 0; j < a_num_ae; j++) {
303  if (!a_ae_sol_arr[j]) {
304  m_p += a_ae_mass[j][a_idx];
305  rho_p += a_ae_rho[j]*a_ae_mass[j][a_idx];
306  }
307  }
308  // Never-zero denominator, as in SD_effective_radius.
309  const auto rho_p_avg = rho_p / amrex::max(m_p, std::numeric_limits<amrex::ParticleReal>::min());
310  rho_p = (m_p > zero) ? rho_p_avg : one;
311  auto r_dry = std::cbrt(m_p / (four_thirds_pi*rho_p));
312  return r_dry;
313 }
314 
315 /*! \brief Compute total surface area of INP (ice-nucleating) components
316  *
317  * The following code is adapted from SCALE-SDM:
318  * https://github.com/Shima-Lab/SCALE-SDM_mixed-phase_Shima2019
319  * Copyright (c) 2012-2015, Team SCALE
320  * All rights reserved.
321  * BSD 2-Clause License
322  */
323 AMREX_GPU_DEVICE AMREX_FORCE_INLINE
324 static amrex::ParticleReal SD_INP_surface_area (
325  const int a_idx, /*!< Particle index */
326  const int a_num_sp, /*!< number of species */
327  const int a_num_ae, /*!< number of aerosols */
328  const int* const a_sp_is_INP, /*!< INP flag for species */
329  const int* const a_ae_is_INP, /*!< INP flag for aerosols */
330  const SDPCDefn::SDSpeciesMassArr& a_sp_mass, /*!< species masses */
331  const SDPCDefn::SDAerosolMassArr& a_ae_mass, /*!< aerosol masses */
332  const amrex::ParticleReal* const a_sp_rho, /*!< species densities */
333  const amrex::ParticleReal* const a_ae_rho /*!< aerosol densities */ )
334 {
335  amrex::ParticleReal total_area = 0.0;
336 
337  // Species contribution
338  for (int j = 0; j < a_num_sp; j++) {
339  if (a_sp_is_INP[j] && a_sp_mass[j][a_idx] > 0.0) {
340  auto vol = a_sp_mass[j][a_idx] / a_sp_rho[j];
341  auto r = std::cbrt(vol * 3.0 / (4.0 * PI));
342  total_area += 4.0 * PI * r * r;
343  }
344  }
345 
346  // Aerosol contribution
347  for (int j = 0; j < a_num_ae; j++) {
348  if (a_ae_is_INP[j] && a_ae_mass[j][a_idx] > 0.0) {
349  auto vol = a_ae_mass[j][a_idx] / a_ae_rho[j];
350  auto r = std::cbrt(vol * 3.0 / (4.0 * PI));
351  total_area += 4.0 * PI * r * r;
352  }
353  }
354 
355  return total_area;
356 }
357 
358 /*! \brief INAS density parameterization for immersion freezing
359  *
360  * Implements the Ice Nucleation Active Site (INAS) density parameterization
361  * of Niemand et al. (2012) for heterogeneous ice nucleation.
362  *
363  * Reference:
364  * - Niemand, M., et al. (2012): A Particle-Surface-Area-Based Parameterization
365  * of Immersion Freezing on Desert Dust Particles. J. Atmos. Sci., 69, 3077-3092.
366  *
367  * The following code is adapted from SCALE-SDM:
368  * https://github.com/Shima-Lab/SCALE-SDM_mixed-phase_Shima2019
369  * Copyright (c) 2012-2015, Team SCALE
370  * All rights reserved.
371  * BSD 2-Clause License
372  */
373 struct INAS_Niemand2012 {
374 
375  // Default constructor
376  INAS_Niemand2012 () = default;
377 
378  amrex::Real a0 = 1.0; /*!< INAS a0 parameter [m^-2] */
379  amrex::Real a1 = 0.517; /*!< INAS a1 parameter [degC^-1] */
380  amrex::Real a2 = 8.934; /*!< INAS a2 parameter [-] */
381 
382  amrex::Real Tfz_min = -36.0; /*!< coldest heterogeneous freezing [degC] */
383  amrex::Real Tfz_max = -12.0; /*!< warmest heterogeneous freezing [degC] */
384  amrex::Real Tfz_homogeneous = -38.0; /*!< homogeneous freezing limit [degC] */
385 
386  /*! \brief Compute INAS density at temperature T
387  * n_s(T) = a0 * exp(-a1*T + a2) [active sites per m^2]
388  * where T is in degrees Celsius */
389  AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
390  amrex::Real n_s (amrex::Real T_degC) const {
391  return a0 * std::exp(-a1 * T_degC + a2);
392  }
393 
394  /*! \brief Compute cumulative freezing probability at temperature T
395  * P(T) = 1 - exp(-A * n_s(T))
396  * where A is the INP surface area */
397  AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
398  amrex::Real P_freeze (amrex::Real T_degC, amrex::Real A) const {
399  return 1.0 - std::exp(-A * n_s(T_degC));
400  }
401 
402  /*! \brief Sample freezing temperature using inverse CDF method
403  *
404  * Given uniform random number u in [0,1] and INP surface area A,
405  * returns Tfz in Kelvin.
406  *
407  * Based on the singular hypothesis: each particle has a characteristic
408  * freezing temperature determined by its coldest active site.
409  */
410  AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
411  amrex::Real sample_Tfz (amrex::Real u, amrex::Real A) const {
412  // No INP surface area -> homogeneous freezing
413  if (A <= 0.0) {
414  return Tfz_homogeneous + 273.15;
415  }
416 
417  // Check if particle is IN-inactive (no active sites even at Tfz_min)
418  // This corresponds to particles that won't nucleate ice heterogeneously
419  auto P_max = P_freeze(Tfz_min, A);
420  if (u > P_max) {
421  // Particle has no active sites -> homogeneous freezing
422  return Tfz_homogeneous + amrex::Real(273.15);
423  }
424 
425  // Inverse CDF: solve P(T) = u for T
426  // P(T) = 1 - exp(-A * a0 * exp(-a1*T + a2))
427  // Let y = -ln(1-u) = A * a0 * exp(-a1*T + a2)
428  // -a1*T + a2 = ln(y / (A*a0))
429  // T = (a2 - ln(y/(A*a0))) / a1
430  auto y = -std::log(amrex::Real(1) - u);
431  auto T_degC = (a2 - std::log(y / (A * a0))) / a1;
432 
433  // Clamp to valid range
434  T_degC = std::max(T_degC, Tfz_min);
435  T_degC = std::min(T_degC, Tfz_max);
436 
437  return T_degC + amrex::Real(273.15); // Convert to Kelvin
438  }
439 };
440 
441 /* \brief SD phase (pure ice, pure water, or mixed ice-water) */
442 AMREX_ENUM (SDPhase,
443  ice,
444  water,
445  mixed
446 );
447 
448 /*! \brief Liquid mass fraction of an SD: m_water/(m_water+m_ice).
449  * Returns 1 for pure water and 0 for pure ice. */
450 AMREX_GPU_DEVICE AMREX_FORCE_INLINE
451 static auto SD_liquid_fraction ( const int a_p, /*!< Particle index */
452  const int a_i_w, /*!< Species index of water */
453  const int a_i_i, /*!< Species index of ice */
454  const SDPCDefn::SDSpeciesMassArr& a_sp_mass /*!< species masses */)
455 {
456  if (a_i_i < 0) { return amrex::ParticleReal(1); } // not modeling ice
457  auto m_water = a_sp_mass[a_i_w][a_p];
458  auto m_ice = a_sp_mass[a_i_i][a_p];
459  auto m_cond = m_water + m_ice;
460  return (m_cond > amrex::ParticleReal(0)) ? (m_water/m_cond) : amrex::ParticleReal(1);
461 }
462 
463 /*! \brief Is the SD pure ice, pure water, or a mixed ice-water particle? */
464 AMREX_GPU_DEVICE AMREX_FORCE_INLINE
465 static auto SD_phase ( const int a_p, /*!< Particle index */
466  const int a_i_w, /*!< Species index of water */
467  const int a_i_i, /*!< Species index of ice */
468  const SDPCDefn::SDSpeciesMassArr& a_sp_mass /*!< species masses */)
469 {
470  if (a_i_i < 0) {
471  return SDPhase::water; // not modeling ice
472  } else {
473  auto m_water = a_sp_mass[a_i_w][a_p];
474  auto m_ice = a_sp_mass[a_i_i][a_p];
475  if (m_ice > 0.0) {
476  return (m_water > 0.0) ? SDPhase::mixed : SDPhase::ice;
477  } else {
478  return SDPhase::water;
479  }
480  }
481 }
482 
483 /*! \brief Types of terminal velocity models */
484 AMREX_ENUM(SDTerminalVelocityType,
485  RogersYau,
486  AtlasUlbrich,
487  CloudRainShima,
488  IceBohm
489 );
490 
491 /*! \brief Types of coalescence kernels */
492 enum struct SDCoalescenceKernelType {
493  golovin,
494  sedimentation,
495  Longs,
496  Halls,
497  geometric
498 };
499 
500 /*! \brief Types of kernel relative velocity calculation: terminal_velocity
501  * (only terminal fall speed; default), absolute_velocity (flow velocity minus
502  * terminal), radial_velocity (radial component of the relative velocity along
503  * the pair separation vector). */
504 AMREX_ENUM(SDKernelRelativeVelocityType,
505  terminal_velocity,
506  absolute_velocity,
507  radial_velocity
508 );
509 
510 /*! \brief Types of phase change ODE time integrator */
511 enum struct SDMassChangeTIMethod {
512  RK3BS, RK4, BE, CN, DIRK2
513 };
514 
515 #endif
516 #endif
517 
GpuArray< Real, AMREX_SPACEDIM > dx
Definition: ERF_ActuatorSpreading.cpp:131
AMREX_ENUM(PlotFileType, None, Amrex, Netcdf)
AMREX_ALWAYS_ASSERT(bx.length()[2]==khi+1)
Dimensionless numeric literals and pure mathematical constants.
constexpr amrex::Real one
Definition: ERF_NumericalConstants.H:37
constexpr amrex::Real zero
Definition: ERF_NumericalConstants.H:36
constexpr amrex::Real PI
Definition: ERF_NumericalConstants.H:46
constexpr amrex::Real four_thirds_pi
Definition: ERF_NumericalConstants.H:48
constexpr int A
Definition: ERF_TwoStreamColumn.H:653
real(c_double), parameter a2
Definition: ERF_module_model_constants.F90:95