diff --git a/include/cantera/clib/ctmatlab.h b/include/cantera/clib/ctmatlab.h new file mode 100644 index 000000000..408c71633 --- /dev/null +++ b/include/cantera/clib/ctmatlab.h @@ -0,0 +1,8 @@ +#include "ct.h" +#include "ctfunc.h" +#include "ctmultiphase.h" +#include "ctonedim.h" +#include "ctreactor.h" +#include "ctrpath.h" +#include "ctsurf.h" +#include "ctxml.h" diff --git a/include/cantera/numerics/BandMatrix.h b/include/cantera/numerics/BandMatrix.h index 2da19202c..a7e8a4f5c 100644 --- a/include/cantera/numerics/BandMatrix.h +++ b/include/cantera/numerics/BandMatrix.h @@ -131,6 +131,7 @@ public: * istruct[0] = kl * istruct[1] = ku * @returns the number of rows and columns in the matrix. + * @deprecated Unused. To be removed after Cantera 2.3. */ virtual size_t nRowsAndStruct(size_t* const iStruct = 0) const; diff --git a/include/cantera/numerics/GeneralMatrix.h b/include/cantera/numerics/GeneralMatrix.h index a1a9aa49e..12b2a0225 100644 --- a/include/cantera/numerics/GeneralMatrix.h +++ b/include/cantera/numerics/GeneralMatrix.h @@ -115,6 +115,7 @@ public: * @param iStruct OUTPUT Pointer to a vector of ints that describe the * structure of the matrix. * @returns the number of rows and columns in the matrix. + * @deprecated Unused. To be removed after Cantera 2.3. */ virtual size_t nRowsAndStruct(size_t* const iStruct = 0) const = 0; diff --git a/include/cantera/numerics/SquareMatrix.h b/include/cantera/numerics/SquareMatrix.h index b651ab364..d0adc4a7a 100644 --- a/include/cantera/numerics/SquareMatrix.h +++ b/include/cantera/numerics/SquareMatrix.h @@ -95,6 +95,7 @@ public: * structure of the matrix. not used * * @returns the number of rows and columns in the matrix. + * @deprecated Unused. To be removed after Cantera 2.3. */ size_t nRowsAndStruct(size_t* const iStruct = 0) const; diff --git a/src/numerics/BandMatrix.cpp b/src/numerics/BandMatrix.cpp index 0bcccde96..8f281a00e 100644 --- a/src/numerics/BandMatrix.cpp +++ b/src/numerics/BandMatrix.cpp @@ -173,6 +173,8 @@ size_t BandMatrix::nRows() const size_t BandMatrix::nRowsAndStruct(size_t* const iStruct) const { + warn_deprecated("BandMatrix::nRowsAndStruct", + "To be removed after Cantera 2.3."); if (iStruct) { iStruct[0] = m_kl; iStruct[1] = m_ku; diff --git a/src/numerics/SquareMatrix.cpp b/src/numerics/SquareMatrix.cpp index b4064623c..510934ffa 100644 --- a/src/numerics/SquareMatrix.cpp +++ b/src/numerics/SquareMatrix.cpp @@ -320,6 +320,8 @@ size_t SquareMatrix::nRows() const size_t SquareMatrix::nRowsAndStruct(size_t* const iStruct) const { + warn_deprecated("SquareMatrix::nRowsAndStruct", + "To be removed after Cantera 2.3."); return m_nrows; }