Comments (3)
From a brief look, I think what is happening is that CVODES sets the stop time when integrating backwards, but the tstop interp check is guarded by (tout - cv_mem->cv_tstop) * cv_mem->cv_h >= ZERO
to ensure tout >= tstop
which is obviously false when tout < tstop
as it may be when integrating backwards.
from sundials.
I believe this is a duplicate of #339 and should be fixed by #349 in v6.7.0 (the reporter is using v6.6.2). I've asked them to try v6.7.0 and let us know if the problem persists.
The check (tout - cv_mem->cv_tstop) * cv_mem->cv_h >= ZERO
is correct as the multiplication by cv_h
accounts for the direction of integration.
from sundials.
Closed as a duplicate
from sundials.
Related Issues (20)
- sundials/sundial.context.h not found HOT 1
- Sundials installation issue on Windows -- unresolved externals HOT 2
- Documentation Clarification HOT 5
- use oneMKL to provide CPU LAPACK functions HOT 2
- Update to uses-sundials page HOT 2
- Cannot install 6.6.2 HOT 3
- Can I use SUNDIALS as simulink solver? HOT 1
- Sundials using all of the available GitHub Actions CI/CD runners HOT 3
- 6.7.0 failed to build with open-mpi 5.0 HOT 4
- library does not support the 'bdf' method HOT 2
- Duplicated symbols in libsundials_ida.a and libsundials_sunlinsolklu.a HOT 2
- Type conversion (maybe corrupting data)? HOT 5
- Possible incorrect build order when building FORTRAN interface HOT 4
- API inconsistency: some SUNDIALS "Space" functions use `sunindextype` and some use `long int` HOT 5
- Crash when using dense linear solver and Netwon nonlinear solver with relative large number of equations HOT 3
- 7.0.0 release build failure HOT 1
- Update SUNDIALS source tree figure in documentation HOT 1
- Error when building both static and shared libs on Windows with MSVC HOT 4
- ARKODE error messages are being cutoff HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sundials.