Exemple #1
0
void CILDMMethod::initializeParameter()
{
  addObjectReference("Number of slow variables", mSlow, CCopasiObject::ValueInt);
  addMatrixReference("Contribution of Species to Slow Space", mVslow, CCopasiObject::ValueDbl);

  initializeIntegrationsParameter();

  assertParameter("Deuflhard Tolerance", CCopasiParameter::UDOUBLE, (C_FLOAT64) 1.0e-6);


  createAnnotationsM();
  emptyVectors();
}
void CILDMModifiedMethod::start(const CState * initialState)
{
  mReducedModel = true;

  integrationMethodStart(initialState);

  /* ILDM related staff  */

  mDtol = * getValue("Deuflhard Tolerance").pUDOUBLE;

  mVslow.resize(mData.dim, mData.dim);
  mVslow_metab.resize(mData.dim, mData.dim);
  mVslow_space.resize(mData.dim);
  mVfast_space.resize(mData.dim);

  emptyVectors();

  return;
}
Exemple #3
0
void CILDMMethod::start(const CState * initialState)
{

  integrationMethodStart(initialState);

  mDtol = * getValue("Deuflhard Tolerance").pUDOUBLE;

  /* ILDM related staff  */

  //mDtol = mpProblem->getDeufelhardTol();

  mVslow.resize(mData.dim, mData.dim);
  mVslow_metab.resize(mData.dim, mData.dim);
  mVslow_space.resize(mData.dim);
  mVfast_space.resize(mData.dim);

  //createAnnotationsM();
  emptyVectors();

  return;
}