Commit 2d6daa26 authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

slimParticle pre/post comp in days

parent 14a48325
......@@ -388,8 +388,8 @@ public:
_settleFlag = true;
_settleType = 1;
_settRate_max = settleRate;
_t_preComp = tPreComp;
_t_postComp = tPostComp;
_t_preComp = tPreComp*24*3600;
_t_postComp = tPostComp*24*3600;
_reefs = reefs;
}
......@@ -398,9 +398,9 @@ public:
_settleFlag = true;
_settleType = 2;
_settRate_max = maxRate;
_t_preComp = tPreComp;
_t_postComp = tPostComp;
_t_settMax = tSettleMax;
_t_preComp = tPreComp*24*3600;
_t_postComp = tPostComp*24*3600;
_t_settMax = tSettleMax*24*3600;
_reefs = reefs;
}
......@@ -411,8 +411,8 @@ public:
_compAcquisitionRate = 1-pow(1-compAcquisitionRate, _dt/(24.0*3600.0));
_compLossRate = 1-pow(1-compLossRate, _dt/(24.0*3600.0));
_reefs = reefs;
_t_preComp = tPreComp;
_t_postComp = tPostComp;
_t_preComp = tPreComp*24*3600;
_t_postComp = tPostComp*24*3600;
}
/* type :
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment