PySDM icon indicating copy to clipboard operation
PySDM copied to clipboard

formulae.__vectorize doesn't work and not tested

Open claresinger opened this issue 2 years ago • 1 comments

requires work around like here

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'])

implemented here, but untested https://github.com/open-atmos/PySDM/blob/29e22e31e485b9f5d89d0a2a6b7ac33d02e1885a/PySDM/formulae.py#L167-L181

claresinger avatar Jan 25 '24 22:01 claresinger

Stale issue message

github-actions[bot] avatar Apr 25 '24 15:04 github-actions[bot]