Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
yoctoyotta1024 committed Jan 3, 2024
1 parent e46d9b3 commit 09e0d9d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions libs/superdrops/coalbure_flag.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,9 @@ struct TSCoalBuReFlag
or breakup (flag=2) based on coalescence efficiency
from Straub et al. 2010 */

KOKKOS_FUNCTION bool
TSCoalBuReFlag::is_coalescence(const Superdrop &drop1,
const Superdrop &drop2,
const double cke) const;
KOKKOS_FUNCTION bool is_coalescence(const Superdrop &drop1,
const Superdrop &drop2,
const double cke) const;
/* returns truw if comparison of random numnber
with coalescence efficiency from Straub et al. 2010
indicates coalescence should occur */
Expand Down Expand Up @@ -204,7 +203,7 @@ TSCoalBuReFlag::is_coalescence(const Superdrop &drop1,
with coalescence efficiency from Straub et al. 2010
indicates coalescence should occur */
{
const auto ecoal = coalescence_efficiency(drop1, drop2);
const auto ecoal = coalescence_efficiency(drop1, drop2, cke);

URBG<ExecSpace> urbg{genpool4flag.get_state()}; // thread safe random number generator
const auto phi = urbg.drand(0.0, 1.0); // random number in range [0.0, 1.0]
Expand Down

0 comments on commit 09e0d9d

Please sign in to comment.