Boost :: sandbox :: odeint install

I would like to use the odeint module from boost :: sandbox, but I'm not sure how to integrate the sandbox code that I got from svn into my boost installation. I increased the bid to $ BOOST_ROOT = / usr / local / boost_1_45_0. Is it right to simply merge the contents of odeint into my boost path, which would put the header in $ BOOST_ROOT / boost / numeric / odeint.hpp.

Is this the right approach or is there a standard way to get and install boost :: sandbox code?

+4
source share
3 answers

I am not aware of any “right” solution, but I can say that you should not encounter any problems if you simply copy boost/numeric/odeint.hpp and boost/numeric/odeint/*.hpp to this directory, since the file will not be overwritten (if something doesn’t work, just delete them and you're done).

Why did I do this for boost :: process and worked without problems.

+2
source

boost.odeint is completely covered only by the header. That way, you can copy the contents of the odeint / boost directory to the $ BOOST_ROOT directory, and everything should work. Alternatively, you can add the odient directory location to your compiler's include flags (for example, for gcc -Ipath_to_odeint).

+3
source

At the moment, we are completely redesigning the library. The interface will be the same, but it will have some additional functions (cuda support, support for structures and tuples as state types) and a few more staplers (hard solvers, implicit solvers, etc.). Error tracking and a separate list do not exist, but you can use boost-users@lists.boost.org for discussion or suggestions.

0
source

Source: https://habr.com/ru/post/1333618/


All Articles