[Equil] Deprecate some unused VCS-related functions
This commit is contained in:
parent
ba3a0ee3e9
commit
9a309ee410
3 changed files with 9 additions and 0 deletions
|
|
@ -419,6 +419,7 @@ public:
|
|||
* @param stateCalc Determines where to get the mole numbers from.
|
||||
* - VCS_STATECALC_OLD -> from m_molNumSpecies_old
|
||||
* - VCS_STATECALC_NEW -> from m_molNumSpecies_new
|
||||
* @deprecated Unused. To be removed after Cantera 2.3.
|
||||
*/
|
||||
void vcs_printSpeciesChemPot(const int stateCalc) const;
|
||||
|
||||
|
|
@ -454,6 +455,7 @@ public:
|
|||
* work in species that are zeroed by element constraints.
|
||||
*
|
||||
* @returns the number of problems that must be checked.
|
||||
* @deprecated Unused. To be removed after Cantera 2.3.
|
||||
*/
|
||||
int vcs_phasePopDeterminePossibleList();
|
||||
|
||||
|
|
@ -1268,6 +1270,7 @@ private:
|
|||
double l2normdg(double dg[]) const;
|
||||
|
||||
//! Print out and check the elemental abundance vector
|
||||
//! @deprecated Unused. To be removed after Cantera 2.3.
|
||||
void prneav() const;
|
||||
|
||||
void checkDelta1(double* const ds, double* const delTPhMoles, size_t kspec);
|
||||
|
|
|
|||
|
|
@ -104,6 +104,8 @@ bool VCS_SOLVE::vcs_popPhasePossible(const size_t iphasePop) const
|
|||
|
||||
int VCS_SOLVE::vcs_phasePopDeterminePossibleList()
|
||||
{
|
||||
warn_deprecated("VCS_SOLVE::vcs_phasePopDeterminePossibleList",
|
||||
"Unused. To be removed after Cantera 2.3.");
|
||||
int nfound = 0;
|
||||
phasePopProblemLists_.clear();
|
||||
|
||||
|
|
|
|||
|
|
@ -3092,6 +3092,8 @@ void VCS_SOLVE::vcs_dfe(const int stateCalc,
|
|||
|
||||
void VCS_SOLVE::vcs_printSpeciesChemPot(const int stateCalc) const
|
||||
{
|
||||
warn_deprecated("VCS_SOLVE::vcs_printSpeciesChemPot",
|
||||
"Unused. To be removed after Cantera 2.3.");
|
||||
double mfValue = 1.0;
|
||||
bool zeroedPhase = false;
|
||||
|
||||
|
|
@ -3167,6 +3169,8 @@ void VCS_SOLVE::vcs_printSpeciesChemPot(const int stateCalc) const
|
|||
|
||||
void VCS_SOLVE::prneav() const
|
||||
{
|
||||
warn_deprecated("VCS_SOLVE::prneav",
|
||||
"Unused. To be removed after Cantera 2.3.");
|
||||
vector_fp eav(m_numElemConstraints, 0.0);
|
||||
|
||||
for (size_t j = 0; j < m_numElemConstraints; ++j) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue