74 mpProblem(src.mpProblem)
98 if ((pParm =
getParameter(
"Newton.DerivationFactor")) != NULL)
104 if ((pParm =
getParameter(
"Newton.Resolution")) != NULL)
153 if (!steadyStateFound)
178 for (; it != end; ++it)
180 const CCompartment * pCompartment = (*it)->getLargestCompartment();
182 if (pCompartment != NULL &&
183 (*it)->getFlux() / pCompartment->
getValue() > resolution)
200 for (; pIt != pEnd; ++pIt, ++ppEntity)
201 if (dynamic_cast< const CCompartment *>(*ppEntity) != NULL ||
202 dynamic_cast< const CMetab *>(*ppEntity) != NULL)
206 for (; pIt != pEnd; ++pIt, ++ppEntity)
208 if (dynamic_cast< const CCompartment *>(*ppEntity) == NULL)
220 for (; pIt != pEnd; ++pIt, ++ppEntity)
222 if (dynamic_cast< const CMetab *>(*ppEntity) == NULL)
225 if (*pIt < ParticleResolution)
230 for (; pIt != pEnd; ++pIt, ++ppEntity)
232 if (dynamic_cast< CCompartment *>(*ppEntity) == NULL)
C_FLOAT64 * mpDerivationFactor
CMatrix< C_FLOAT64 > * mpJacobianX
virtual bool isValidProblem(const CCopasiProblem *pProblem)
void updateSimulatedValues(const bool &updateMoieties)
void calculateJacobianX(CMatrix< C_FLOAT64 > &jacobianX, const C_FLOAT64 &derivationFactor, const C_FLOAT64 &resolution)
std::ostringstream mMethodLog
void calculateJacobian(CMatrix< C_FLOAT64 > &jacobian, const C_FLOAT64 &derivationFactor, const C_FLOAT64 &resolution)
virtual bool isValidProblem(const CCopasiProblem *pProblem)
C_FLOAT64 * endDependent()
std::string getMethodLog() const
bool removeParameter(const std::string &name)
const C_FLOAT64 & getQuantity2NumberFactor() const
void setState(const CState &state)
void calculateJacobianX(const C_FLOAT64 &oldMaxRate)
const Value & getValue() const
bool setValue(const std::string &name, const CType &value)
virtual CSteadyStateMethod::ReturnCode returnProcess(bool steadyStateFound)
CSteadyStateTask * mpParentTask
CModelEntity ** beginIndependent()
void initializeParameter()
CCopasiParameter * getParameter(const std::string &name)
virtual bool initialize(const CSteadyStateProblem *pProblem)
const CSteadyStateProblem * mpProblem
C_FLOAT64 * mpDerivationResolution
static CSteadyStateMethod * createMethod(CCopasiMethod::SubType subType=CCopasiMethod::Newton)
virtual CSteadyStateMethod::ReturnCode processInternal()
const C_FLOAT64 & getValue() const
const CStateTemplate & getStateTemplate() const
CCopasiVectorNS< CReaction > & getReactions()
CSteadyStateMethod::ReturnCode process(CState *pState, CMatrix< C_FLOAT64 > &jacobianX, CProcessReport *handler)
C_FLOAT64 * mpSSResolution
CCopasiParameter * assertParameter(const std::string &name, const CCopasiParameter::Type type, const CType &defaultValue)
C_FLOAT64 getStabilityResolution()
void doJacobian(CMatrix< C_FLOAT64 > &jacobian, CMatrix< C_FLOAT64 > &jacobianX)
const CState & getState() const
bool isEquilibrium(const C_FLOAT64 &resolution) const
CProcessReport * mpCallBack
CModel * getModel() const
CCopasiContainer * getObjectParent() const
C_FLOAT64 * beginIndependent()
#define CONSTRUCTOR_TRACE