Skip to content

Commit

Permalink
Prepare forr v0.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bjodah committed Feb 6, 2018
1 parent c154898 commit 507f400
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
v0.9.1
======
- Update AnyODE (11)

v0.9.0
======
- Update AnyODE (8)
Expand Down
7 changes: 5 additions & 2 deletions external/anyode/include/anyode/anyode.hpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#ifdef ANYODE_HPP_D47BAD58870311E6B95F2F58DEFE6E37

#if ANYODE_HPP_D47BAD58870311E6B95F2F58DEFE6E37 != 8
#if ANYODE_HPP_D47BAD58870311E6B95F2F58DEFE6E37 != 11
#error "Multiple anyode.hpp files included with version mismatch"
#endif

#else
#define ANYODE_HPP_D47BAD58870311E6B95F2F58DEFE6E37 8
#define ANYODE_HPP_D47BAD58870311E6B95F2F58DEFE6E37 11


#include <string>
Expand All @@ -21,16 +21,19 @@ namespace AnyODE {
struct OdeSysBase {
int nfev=0, njev=0;
void * integrator = nullptr;
void * user_data = nullptr;
std::unordered_map<std::string, int> last_integration_info;
std::unordered_map<std::string, double> last_integration_info_dbl;
std::unordered_map<std::string, std::vector<double> > last_integration_info_vecdbl;
std::unordered_map<std::string, std::vector<int> > last_integration_info_vecint;
Real_t default_dx0 = 0.0; // *may* be used by `get_dx0`, 0 signifies solver default
bool autonomous_exprs = false;
bool use_get_dx_max = false; // whether get_dx_max should be called
bool record_rhs_xvals = false;
bool record_jac_xvals = false;
bool record_order = false;
bool record_fpe = false;
bool record_steps = false;
virtual ~OdeSysBase() {}
virtual int get_ny() const = 0;
virtual int get_mlower() const { return -1; } // -1 denotes "not banded"
Expand Down

0 comments on commit 507f400

Please sign in to comment.