Deprecate support for Sundials 2.2 and 2.3.

This commit is contained in:
Ray Speth 2013-06-05 17:09:30 +00:00
parent 633576afe6
commit 64bfdcc952
2 changed files with 8 additions and 0 deletions

View file

@ -38,6 +38,10 @@ public:
*
* @see FuncEval.h. Classes that use CVodeInt:
* ImplicitChem, ImplicitSurfChem, Reactor
*
* @deprecated Support for Sundials 2.2 and 2.3 is deprecated. Starting with
* %Cantera 2.2, only Sundials versions 2.4 and newer will be supported.
* (The CVodesIntegrator class itself is not deprecated).
*/
class CVodesIntegrator : public Integrator
{

View file

@ -128,6 +128,10 @@ CVodesIntegrator::CVodesIntegrator() :
m_mupper(0), m_mlower(0),
m_sens_ok(false)
{
#if SUNDIALS_VERSION <= 23
warn_deprecated("Use of Sundials 2.2 and 2.3",
"Support for these versions will be removed in Cantera 2.2.");
#endif
//m_ropt.resize(OPT_SIZE,0.0);
//m_iopt = new long[OPT_SIZE];
//fill(m_iopt, m_iopt+OPT_SIZE,0);