Pythonic particle-based (super-droplet) warm-rain/aqueous-chemistry cloud microphysics package with box, parcel & 1D/2D prescribed-flow examples in Python, Julia and Matlab
if model in ("CompressedFilmRuehl", "SzyszkowskiLangmuir"):
for j,vw in enumerate(v_wet):
sigma[j] = formulae.surface_tension.sigma(T, vw, v_dry, aerosol.modes[0]['f_org'])
else:
sigma = formulae.surface_tension.sigma(T, v_wet, v_dry, aerosol.modes[0]['f_org'])
requires work around like here
implemented here, but untested https://github.com/open-atmos/PySDM/blob/29e22e31e485b9f5d89d0a2a6b7ac33d02e1885a/PySDM/formulae.py#L167-L181