Пример #1
0
CSteadyStateTask * CLNAProblem::getSubTask() const
{
  if (isSteadyStateRequested())
    return dynamic_cast<CSteadyStateTask *>(CRootContainer::getKeyFactory()->get(getValue< std::string >("Steady-State")));
  else
    return NULL;
}
Пример #2
0
CSteadyStateTask * CLNAProblem::getSubTask() const
{
  if (isSteadyStateRequested())
    return dynamic_cast<CSteadyStateTask *>(CCopasiRootContainer::getKeyFactory()->get(* getValue("Steady-State").pKEY));
  else
    return NULL;
}