From 1f0779d0e3aca3ce6ddff7c9450a0e36425d71ef Mon Sep 17 00:00:00 2001 From: James Osborn Date: Mon, 22 Jul 2024 13:24:12 -0500 Subject: [PATCH] add acacaca --- src/experimental/stagag.nim | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/src/experimental/stagag.nim b/src/experimental/stagag.nim index 2cfd00e..8c69038 100644 --- a/src/experimental/stagag.nim +++ b/src/experimental/stagag.nim @@ -875,6 +875,41 @@ proc setupMDabacaba = addG(g0) addT(t0) +proc setupMDacacaca = + if pt0 == 0: pt0 = 0.116438749543126 + if pg0 == 0: pg0 = 0.283216992495952 + if pf0 == 0: pf0 = 0.283216992495952 + if pgf0 == 0: pgf0 = 0.001247201195115*(2.0/pg0) + if pff0 == 0: pff0 = 0.001247201195115*(2.0/pf0) + if pgf1 == 0: pgf1 = 0.002974030329635*(2.0/(1-2*pg0)) + if pff1 == 0: pff1 = 0.002974030329635*(2.0/(1-2*pf0)) + let t0 = vtau * pushParam(pt0) + let t02 = 2 * t0 + let g0 = vtau * pushParam(pg0) + let f0 = if nf==0: g0 else: vtau * pushParam(pf0) + let t1 = 0.5 * vtau - t0 + let g1 = vtau - 2 * g0 + let f1 = vtau - 2 * f0 + let gf0 = vtau*vtau*pushParam(pgf0) + let ff0 = if nf==0: gf0 else: vtau*vtau*pushParam(pff0) + let gf1 = vtau*vtau*pushParam(pgf1) + let ff1 = if nf==0: gf1 else: vtau*vtau*pushParam(pff1) + addT(t0) + for i in 0..