50 mpTimeSeriesRequested(NULL),
51 mpOutputStartTime(NULL),
52 mStepNumberSetLast(true)
69 mpTimeSeriesRequested(NULL),
70 mpOutputStartTime(NULL),
71 mStepNumberSetLast(src.mStepNumberSetLast)
215 if (fabs(StepSize) < 100.0 * std::numeric_limits< C_FLOAT64 >::epsilon() * fabs(*
mpDuration))
220 StepSize = 100.0 * std::numeric_limits< C_FLOAT64 >::epsilon() * fabs(*
mpDuration);
222 StepSize = (Tmp < 0.0) ? - fabs(StepSize) : fabs(StepSize);
223 StepNumber = fabs(ceil(Tmp / StepSize));
228 if (fabs(StepSize) < 100.0 * std::numeric_limits< C_FLOAT64 >::epsilon() * fabs(*
mpDuration))
233 StepSize = 100.0 * std::numeric_limits< C_FLOAT64 >::epsilon() * fabs(*
mpDuration);
236 StepSize = (Tmp < 0.0) ? - fabs(StepSize) : fabs(StepSize);
239 StepNumber = fabs(ceil(Tmp / StepSize));
248 StepSize = Tmp / StepNumber;
254 StepSize = (Tmp < 0.0) ? - fabs(StepSize) : fabs(StepSize);
260 if (!success)
throw 1;
267 std::ostream & os = *ostream;
270 assert(pDataModel != NULL);
272 dynamic_cast<const CTSSATask *
>((*
const_cast<CCopasiDataModel*
>(pDataModel)->getTaskList())[
"Time Scale Separation Analysis"]);
CCopasiDataModel * getObjectDataModel()
void setOutputStartTime(const C_FLOAT64 &endTime)
const C_FLOAT64 & getOutputStartTime() const
virtual void printResult(std::ostream *ostream) const
bool timeSeriesRequested() const
virtual void print(std::ostream *ostream) const
void setStepNumber(const unsigned C_INT32 &stepNumber)
CCopasiObject * getValueReference() const
unsigned C_INT32 * mpStepNumber
void setUpdateMethod(CType *pType, void(CType::*method)(const C_FLOAT64 &))
const C_FLOAT64 & getStepSize() const
bool removeParameter(const std::string &name)
const Value & getValue() const
const unsigned C_INT32 & getStepNumber() const
CCopasiParameter * getParameter(const std::string &name)
virtual bool elevateChildren()
void setStepSize(const C_FLOAT64 &stepSize)
CCopasiMethod * getMethod()
C_FLOAT64 * mpOutputStartTime
CTSSAProblem(const CCopasiContainer *pParent=NULL)
void initializeParameter()
bool * mpTimeSeriesRequested
void setDuration(const C_FLOAT64 &duration)
CCopasiParameter * assertParameter(const std::string &name, const CCopasiParameter::Type type, const CType &defaultValue)
void setTimeSeriesRequested(bool flag)
void printResult(std::ostream *ostream) const
#define CONSTRUCTOR_TRACE
const C_FLOAT64 & getDuration() const