Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 80393 invoked from network); 3 Apr 2010 20:49:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Apr 2010 20:49:49 -0000 Received: (qmail 35189 invoked by uid 500); 3 Apr 2010 20:49:49 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 35005 invoked by uid 500); 3 Apr 2010 20:49:48 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 34907 invoked by uid 99); 3 Apr 2010 20:49:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Apr 2010 20:49:48 +0000 X-ASF-Spam-Status: No, hits=-1212.8 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Apr 2010 20:49:47 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 98192234C4AC for ; Sat, 3 Apr 2010 20:49:27 +0000 (UTC) Message-ID: <1996588748.676951270327767622.JavaMail.jira@brutus.apache.org> Date: Sat, 3 Apr 2010 20:49:27 +0000 (UTC) From: "Phil Steitz (JIRA)" To: issues@commons.apache.org Subject: [jira] Closed: (MATH-322) during ODE integration, the last event in a pair of very close event may not be detected In-Reply-To: <1564916399.1260140598060.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MATH-322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Phil Steitz closed MATH-322. ---------------------------- > during ODE integration, the last event in a pair of very close event may not be detected > ---------------------------------------------------------------------------------------- > > Key: MATH-322 > URL: https://issues.apache.org/jira/browse/MATH-322 > Project: Commons Math > Issue Type: Bug > Affects Versions: 2.0 > Environment: All > Reporter: Luc Maisonobe > Assignee: Luc Maisonobe > Fix For: 2.1 > > > When an events follows a previous one very closely, it may be ignored. The occurrence of the bug depends on the side of the bracketing interval that was selected. For example consider a switching function that is increasing around first event around t = 90, reaches its maximum and is decreasing around the second event around t = 135. If an integration step spans from 67.5 and 112.5, the switching function values at start and end of step will have opposite signs, so the first event will be detected. The solver will find the event really occurs at 90.0 and will therefore truncate the step at 90.0. The next step will start from where the first step ends, i.e. it will start at 90.0. Let's say this step spans from 90.0 to 153.0. The switching function switches once again in this step. > If the solver for the first event converged to a value slightly before 90.0 (say 89.9999999), then the switch will not be detected because g(89.9999999) and g(153.0) are both negative. > This bug was introduced as of r781157 (2009-06-02) when special handling of events very close to step start was added. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.