copasi/steadystate/CSteadyStateMethod.cpp
/**
 * This function has to be called at the return of any implementation
 * of the protected function process
 * @param bool success
 * @param const C_FLOAT64 & factor
 * @param const C_FLOAT64 & resolution
 * @return CSteadyStateMethod::ReturnCode returnCode
 */
This function has to be called at the return of any implementation
of the protected function process
@param bool success
@param const C_FLOAT64 & factor
@param const C_FLOAT64 & resolution
@return CSteadyStateMethod::ReturnCode returnCode
This function has to be called at the return of any implementation of the protected function process @param bool success @param const C_FLOAT64 & factor @param const C_FLOAT64 & resolution @return CSteadyStateMethod :: ReturnCode returnCode
CSteadyStateMethod::ReturnCode
CSteadyStateMethod::returnProcess(bool steadyStateFound)
{
  mSteadyState = mpContainer->getState(true);
  if (!steadyStateFound)
    return CSteadyStateMethod::notFound;
  if (!allPositive())
    return CSteadyStateMethod::foundNegative;
  if (isEquilibrium(*mpSSResolution))
    return CSteadyStateMethod::foundEquilibrium;
  return CSteadyStateMethod::found;
}
CSteadyStateMethod :: ReturnCode CSteadyStateMethod :: returnProcess ( bool steadyStateFound ) { mSteadyState = mpContainer -> getState ( true ) ; if ( ! steadyStateFound ) return CSteadyStateMethod :: notFound ; if ( ! allPositive ( ) ) return CSteadyStateMethod :: foundNegative ; if ( isEquilibrium ( * mpSSResolution ) ) return CSteadyStateMethod :: foundEquilibrium ; return CSteadyStateMethod :: found ; }
This function has to be called at the return of any implementation
 of the protected function process
 @param bool success
 @param const C_FLOAT64 & factor
 @param const C_FLOAT64 & resolution
 @return CSteadyStateMethod::ReturnCode returnCode
This function has to be called at the return of any implementation of the protected function process @param bool success @param const C_FLOAT64 & factor @param const C_FLOAT64 & resolution @return CSteadyStateMethod :: ReturnCode returnCode