Doxygen change

Changed a function to be const
This commit is contained in:
Harry Moffat 2011-09-21 16:18:26 +00:00
parent 436bed3868
commit fd1e408f25
2 changed files with 12 additions and 4 deletions

View file

@ -548,7 +548,13 @@ namespace Cantera {
addUniqueElement(symbol);
}
}
// True if freezeElements has been called.
bool Elements::elementsFrozen() const
{
return m_elementsFrozen;
}
/*
* clear()
*
@ -562,7 +568,7 @@ namespace Cantera {
m_elem_type.resize(0);
m_elementsFrozen = false;
}
/*
* ready():
*

View file

@ -294,6 +294,8 @@ namespace Cantera {
* The default is to specify an ENTROPY298_UNKNOWN value,
* which will cause a throw error if its ever
* needed.
* @param elem_type New elem type to be assigned.
* The default is a regular element, CT_ELEM_TYPE_ABSPOS
*/
void addUniqueElement(const std::string& symbol,
doublereal weight = -12345.0, int atomicNumber = 0,
@ -316,8 +318,8 @@ namespace Cantera {
//! Prohibit addition of more elements, and prepare to add species.
void freezeElements();
/// True if freezeElements has been called.
bool elementsFrozen() { return m_elementsFrozen; }
//! True if freezeElements has been called.
bool elementsFrozen() const;
/// Remove all elements
void clear();