Deprecated SpeciesThermo::modifyParams

This commit is contained in:
Ray Speth 2012-02-27 18:14:29 +00:00
parent b955395ed1
commit a4a81b94eb
4 changed files with 10 additions and 5 deletions

View file

@ -210,8 +210,9 @@ public:
* @param index Species index
* @param c Vector of coefficients used to set the
* parameters for the standard state.
* @deprecated
*/
virtual void modifyParams(size_t index, doublereal* c);
DEPRECATED(virtual void modifyParams(size_t index, doublereal* c));
#ifdef H298MODIFY_CAPABILITY

View file

@ -356,8 +356,9 @@ public:
* @param c Vector of coefficients used to set the
* parameters for the standard state.
* Must be length >= 4.
* @deprecated
*/
virtual void modifyParams(size_t index, doublereal* c) {
DEPRECATED(virtual void modifyParams(size_t index, doublereal* c)) {
size_t loc = m_loc[index];
if (loc == npos) {
throw CanteraError("SimpleThermo::modifyParams",

View file

@ -360,8 +360,9 @@ public:
* @param index Species index
* @param c Vector of coefficients used to set the
* parameters for the standard state.
* @deprecated
*/
virtual void modifyParams(size_t index, doublereal* c) = 0;
DEPRECATED(virtual void modifyParams(size_t index, doublereal* c)) = 0;
#ifdef H298MODIFY_CAPABILITY
//! Report the 298 K Heat of Formation of the standard state of one species (J kmol-1)

View file

@ -317,8 +317,9 @@ public:
* @param index Species index
* @param c Vector of coefficients used to set the
* parameters for the standard state.
* @deprecated
*/
virtual void modifyParams(size_t index, doublereal* c);
DEPRECATED(virtual void modifyParams(size_t index, doublereal* c));
#ifdef H298MODIFY_CAPABILITY
@ -480,8 +481,9 @@ public:
* @param index Species index
* @param c Vector of coefficients used to set the
* parameters for the standard state.
* @deprecated
*/
virtual void modifyParams(size_t index, doublereal* c);
DEPRECATED(virtual void modifyParams(size_t index, doublereal* c));
#ifdef H298MODIFY_CAPABILITY
//! Report the 298 K Heat of Formation of the standard state of one species (J kmol-1)