From 6a4bf693b7239e7d5299e6b23e8ffc1a42f2a55a Mon Sep 17 00:00:00 2001 From: Clara Levante Date: Thu, 18 Jan 2024 19:58:05 +0100 Subject: [PATCH] setup with coalbure 0d box model --- src/main.cpp | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index fc8a7958..fc37a51b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -126,17 +126,17 @@ config_condensation(const Config &config, const Timesteps &tsteps) inline MicrophysicalProcess auto config_collisions(const Config &config, const Timesteps &tsteps) { - // const PairProbability auto collprob = LongHydroProb(); - // // const NFragments auto nfrags = ConstNFrags(5.0); - // const NFragments auto nfrags = CollisionKineticEnergyNFrags{}; - // // const CoalBuReFlag auto coalbure_flag = SUCoalBuReFlag{}; - // const CoalBuReFlag auto coalbure_flag = TSCoalBuReFlag{}; - // const MicrophysicalProcess auto colls = CoalBuRe(tsteps.get_collstep(), - // &step2realtime, - // collprob, - // nfrags, - // coalbure_flag); - // return colls; + const PairProbability auto collprob = LongHydroProb(); + // const NFragments auto nfrags = ConstNFrags(5.0); + const NFragments auto nfrags = CollisionKineticEnergyNFrags{}; + // const CoalBuReFlag auto coalbure_flag = SUCoalBuReFlag{}; + const CoalBuReFlag auto coalbure_flag = TSCoalBuReFlag{}; + const MicrophysicalProcess auto colls = CoalBuRe(tsteps.get_collstep(), + &step2realtime, + collprob, + nfrags, + coalbure_flag); + return colls; // const PairProbability auto buprob = LowListBuProb(); // const NFragments auto nfrags = ConstNFrags(5.0); @@ -145,14 +145,14 @@ config_collisions(const Config &config, const Timesteps &tsteps) // buprob, // nfrags); - // const PairProbability auto coalprob = LowListCoalProb(); - // const PairProbability auto coalprob = GolovinProb(); - const PairProbability auto coalprob = LongHydroProb(1.0); - const MicrophysicalProcess auto coal = CollCoal(tsteps.get_collstep(), - &step2realtime, - coalprob); + // // const PairProbability auto coalprob = LowListCoalProb(); + // // const PairProbability auto coalprob = GolovinProb(); + // const PairProbability auto coalprob = LongHydroProb(1.0); + // const MicrophysicalProcess auto coal = CollCoal(tsteps.get_collstep(), + // &step2realtime, + // coalprob); - return coal; + // return coal; // // return coal >> bu; }