Deprecate support for Sundials 2.2 and 2.3.
This commit is contained in:
parent
633576afe6
commit
64bfdcc952
2 changed files with 8 additions and 0 deletions
|
|
@ -38,6 +38,10 @@ public:
|
||||||
*
|
*
|
||||||
* @see FuncEval.h. Classes that use CVodeInt:
|
* @see FuncEval.h. Classes that use CVodeInt:
|
||||||
* ImplicitChem, ImplicitSurfChem, Reactor
|
* 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
|
class CVodesIntegrator : public Integrator
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -128,6 +128,10 @@ CVodesIntegrator::CVodesIntegrator() :
|
||||||
m_mupper(0), m_mlower(0),
|
m_mupper(0), m_mlower(0),
|
||||||
m_sens_ok(false)
|
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_ropt.resize(OPT_SIZE,0.0);
|
||||||
//m_iopt = new long[OPT_SIZE];
|
//m_iopt = new long[OPT_SIZE];
|
||||||
//fill(m_iopt, m_iopt+OPT_SIZE,0);
|
//fill(m_iopt, m_iopt+OPT_SIZE,0);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue