Skip to content

Commit

Permalink
minor bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
yoctoyotta1024 committed Nov 23, 2023
1 parent ed49dc0 commit f331400
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion libs/superdrops/coalbure.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ If flag = 2 -> breakup. Otherwise -> rebound. */
switch (flag)
{
case 1: // coalescence
is_null = coalesce_superdroplet_pair(gamma, drop1, drop2);
is_null = coal.coalesce_superdroplet_pair(gamma, drop1, drop2);
break;
case 2: // breakup
bu.breakup_superdroplet_pair(drop1, drop2);
Expand Down
6 changes: 3 additions & 3 deletions libs/superdrops/collisionkinetics.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@

#include <Kokkos_Core.hpp>

#include "../../cleoconstants.hpp"
#include "../superdrop.hpp"
#include "../terminalvelocity.hpp"
#include "../cleoconstants.hpp"
#include "./superdrop.hpp"
#include "./terminalvelocity.hpp"

namespace dlc = dimless_constants;
namespace DC = dimmed_constants;
Expand Down
3 changes: 2 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@

#include "superdrops/breakup_nfrags.hpp"
#include "superdrops/breakup.hpp"
#include "superdrops/coalbure.hpp"
#include "superdrops/coalescence.hpp"
#include "superdrops/collisionprobs/golovinprob.hpp"
#include "superdrops/collisionprobs/longhydroprob.hpp"
Expand Down Expand Up @@ -125,7 +126,7 @@ config_collisions(const Config &config, const Timesteps &tsteps)
{
const PairProbability auto collprob = LongHydroProb();
const NFragments auto nfrags = ConstNFrags(5.0);
const MicrophysicalProcess auto colls = CoalBuRe(steps.get_collstep(),
const MicrophysicalProcess auto colls = CoalBuRe(tsteps.get_collstep(),
&step2realtime,
collprob,
nfrags);
Expand Down

0 comments on commit f331400

Please sign in to comment.