Skip to content

Commit

Permalink
Fix typos in code and docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
jongyoonbae authored and speth committed Mar 18, 2023
1 parent c1cabb1 commit 7f33fcf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions include/cantera/thermo/CoverageDependentSurfPhase.h
Expand Up @@ -107,7 +107,7 @@ namespace Cantera
*
* Coverage-dependent heat capacity is calculated using an equation with a
* quadratic dependence on coverages and a logarithmic dependence on temperature.
* Temperature is nondimesionalized with a reference temperature of 1 K.
* Temperature is nondimensionalized with a reference temperature of 1 K.
* The coverage-dependent heat capacity of species \f$ k \f$ is a sum of
* all quantities dependent on coverage of species \f$ j \f$. Coefficients
* \f$ c8_{k,j} \text{ and } c9_{k,j} \f$ are user-provided parameters that can be
Expand All @@ -132,7 +132,7 @@ class CoverageDependentSurfPhase : public SurfPhase
* @param j index of a species whose coverage affects enthalpy and entropy of
* a target species
* @param enthalpy_coeffs array of polynomial coefficients describing
* coverage-depdendent enthalpy [J/kmol] in order of
* coverage-dependent enthalpy [J/kmol] in order of
* 1st-order, 2nd-order, 3rd-order, and 4th-order
* coefficients
* @param entropy_coeffs array of polynomial coefficients describing
Expand Down Expand Up @@ -229,7 +229,7 @@ class CoverageDependentSurfPhase : public SurfPhase
return "coverage-dependent-surface";
}

//! Add interpolative coverage dependece parameters for a species
//! Add interpolative coverage dependence parameters for a species
/*!
* @param int_deps list of parameters as an InterpolativeDependency object
*/
Expand Down
4 changes: 2 additions & 2 deletions samples/python/thermo/coverage_dependent_surf.py
Expand Up @@ -55,7 +55,7 @@
phase = ct.Interface('covdepsurf.yaml',
models_dict[model]['phase_name'])
phase.TP = 300, ct.one_atm
# under the cuurent model, create empty lists to store enthalpy and
# under the current model, create empty lists to store enthalpy and
# entropy
models_dict[model]['hrt'] = []
models_dict[model]['sr'] = []
Expand Down Expand Up @@ -88,7 +88,7 @@
plt.xlabel(r'$\theta_\mathrm{CO*}$')
plt.ylabel(r'$s^{\circ}_\mathrm{CO*}/\mathrm{R}$')
plt.legend(loc='best')
plt.title('CO* standard state enropy\n'
plt.title('CO* standard state entropy\n'
+ 'with four dependency models at 300 K, 1 atm')
plt.show()
plt.clf()
Expand Down
2 changes: 1 addition & 1 deletion test/thermo/CoverageDependentSurfPhase_Test.cpp
Expand Up @@ -26,7 +26,7 @@ class CoverageDependentSurfPhase_Test: public testing::Test
{0.20, 0.23, 0.57, 0.00, 0.00}
})
{
// CoverageDenpendentSurfPhase method values will be
// CoverageDependentSurfPhase method values will be
// compared against SurfPhase method values or explicitly calculated values
covdepsurf_phase.reset(newPhase("copt_covdepsurf_example.yaml", "covdep"));
idealsurf_phase.reset(newPhase("copt_covdepsurf_example.yaml", "ideal"));
Expand Down

0 comments on commit 7f33fcf

Please sign in to comment.