Skip to content

Commit

Permalink
enabled spell checker and fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
jongyoonbae authored and speth committed Mar 18, 2023
1 parent 0d205d1 commit 43b8f80
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
26 changes: 13 additions & 13 deletions include/cantera/thermo/CoverageDependentSurfPhase.h
Expand Up @@ -150,10 +150,10 @@ class CoverageDependentSurfPhase : public SurfPhase
//! Set the polynomial coverage dependece for species
/*!
* enthalpy and entropy are sum of ideal surface species enthalpy and entropy
* and coverage-dependent enthalpy and entropy which are caclulated with
* and coverage-dependent enthalpy and entropy which are calculated with
* a polynomial function of coverages:
*
* For the linear depedence,
* For the linear dependence,
* \f[ h^{cov}_k(\theta) = \sum_j h^{slope}_{k,j} \theta_j \f]
* \f[ s^{cov}_k(\theta) = \sum_j s^{slope}_{k,j} \theta_j \f]
*
Expand All @@ -173,7 +173,7 @@ class CoverageDependentSurfPhase : public SurfPhase
//! Set the piecewise linear coverage dependece for species
/*!
* enthalpy and entropy are sum of ideal surface species enthalpy and entropy
* and coverage-dependent enthalpy and entropy which are caclulated with
* and coverage-dependent enthalpy and entropy which are calculated with
* a piecewise linear function of coverages:
*
* \f[ h^{cov}_k(\theta) = \sum_j h^{low}_{k,j} \theta_j
Expand All @@ -200,7 +200,7 @@ class CoverageDependentSurfPhase : public SurfPhase
//! Set the interpolative coverage dependece for species
/*!
* enthalpy and entropy are sum of ideal surface species enthalpy and entropy
* and coverage-dependent enthalpy and entropy which are caclulated with
* and coverage-dependent enthalpy and entropy which are calculated with
* a linearly interpolated function of coverages:
*
* \f[ h^{cov}_k(\theta) = \sum_j \frac{h^{right}_{k,j}
Expand All @@ -222,8 +222,8 @@ class CoverageDependentSurfPhase : public SurfPhase
//! Set the heat capacity coverage dependece for species
/*!
* heat capacity is sum of ideal surface species heat capacity and coverage-dependent
* heat capacity which is caculated using a function with quadratic depedence on coverages
* and a logarithimic dependence on temperature:
* heat capacity which is calculated using a function with quadratic dependence on coverages
* and a logarithmic dependence on temperature:
* \f[ cp^{cov}_k(\theta) = \sum_j (a_{k,j} ln(T) + b_{k,j}) \theta_j^2 \f]
*
Expand All @@ -234,7 +234,7 @@ class CoverageDependentSurfPhase : public SurfPhase
virtual void initThermo();
virtual bool addSpecies(shared_ptr<Species> spec);

// Functions calculating reference state thermodyanmic properties--------------
// Functions calculating reference state thermodynamic properties--------------

//! Return the nondimensionalized reference state enthalpy.
/*!
Expand Down Expand Up @@ -271,7 +271,7 @@ class CoverageDependentSurfPhase : public SurfPhase
*/
virtual void getGibbs_RT_ref(double* grt) const;

// Functions calculating standard state thermodyanmic properties---------------
// Functions calculating standard state thermodynamic properties---------------

//! Return the nondimensionalized standard state enthalpy.
/*!
Expand Down Expand Up @@ -324,7 +324,7 @@ class CoverageDependentSurfPhase : public SurfPhase
*/
virtual void getStandardChemPotentials(double* mu0) const;

// Functions calculating partial molar thermodyanmic properties----------------
// Functions calculating partial molar thermodynamic properties----------------

//! Return the partial molar enthalpy. Units: J/kmol
/*!
Expand Down Expand Up @@ -362,11 +362,11 @@ class CoverageDependentSurfPhase : public SurfPhase
*/
virtual void getChemPotentials(double* mu) const;

// Functions calculating mixture thermodyanmic properties----------------------
// Functions calculating mixture thermodynamic properties----------------------

//! Return the solution's molar enthalpy. Units: J/kmol
/*!
* Asumming an ideal solution,
* Assuming an ideal solution,
* \f[
* \hat h(T, P, \theta) = \sum_k \theta_k \overline{h}_k(T, \theta)
* = \sum_k \theta_k h^o_k(T, \theta)
Expand All @@ -387,7 +387,7 @@ class CoverageDependentSurfPhase : public SurfPhase

//! Return the solution's molar cp. Units: J/kmol/K
/*!
* Asumming an ideal solution,
* Assuming an ideal solution,
* \f[
* \hat{cp} (T, P, \theta) = \sum_k \theta_k \overline{cp}_k(T, \theta)
* = \sum_k \theta_k cp^o_k(T, \theta)
Expand Down Expand Up @@ -422,7 +422,7 @@ class CoverageDependentSurfPhase : public SurfPhase
mutable vector_fp m_entropy;

//! Temporary storage for the sum of reference state heat capacities and
//! coverage-dependent heat capapcities.
//! coverage-dependent heat capacities.
mutable vector_fp m_heatcapacity;

//! Temporary storage for the sum of reference state chemical potentials
Expand Down
10 changes: 5 additions & 5 deletions src/thermo/CoverageDependentSurfPhase.cpp
Expand Up @@ -251,7 +251,7 @@ bool CoverageDependentSurfPhase::addSpecies(shared_ptr<Species> spec)
return added;
}

// Functions calculating reference state thermodyanmic properties--------------
// Functions calculating reference state thermodynamic properties--------------

void CoverageDependentSurfPhase::getGibbs_RT_ref(double* grt) const
{
Expand All @@ -277,7 +277,7 @@ void CoverageDependentSurfPhase::getCp_R_ref(double* cpr) const
scale(m_cp0.begin(), m_cp0.end(), cpr, 1.0/GasConstant);
}

// Functions calculating standard state thermodyanmic properties---------------
// Functions calculating standard state thermodynamic properties---------------

void CoverageDependentSurfPhase::getEnthalpy_RT(double* hrt) const
{
Expand Down Expand Up @@ -335,7 +335,7 @@ void CoverageDependentSurfPhase::getStandardChemPotentials(double* mu0) const
}
}

// Functions calling partial molar thermodyanmic properties----------------
// Functions calling partial molar thermodynamic properties----------------

void CoverageDependentSurfPhase::getPartialMolarEnthalpies(double* hbar) const
{
Expand Down Expand Up @@ -369,7 +369,7 @@ void CoverageDependentSurfPhase::getChemPotentials(double* mu) const
}
}

// Functions calculating mixture thermodyanmic properties--------------------------
// Functions calculating mixture thermodynamic properties--------------------------

double CoverageDependentSurfPhase::enthalpy_mole() const
{
Expand Down Expand Up @@ -469,7 +469,7 @@ void CoverageDependentSurfPhase::_updateCovDepThermo(bool force) const
* (m_cov[item.j] - lowScov) + lowS;
}

// For coverage-depedent heat capacity
// For coverage-dependent heat capacity
for (auto& item : m_HeatCapacityDependency) {
double a = item.cpcov_a;
double b = item.cpcov_b;
Expand Down

0 comments on commit 43b8f80

Please sign in to comment.