Skip to content

Commit

Permalink
Fix a few spelling errors/typos
Browse files Browse the repository at this point in the history
  • Loading branch information
speth authored and ischoegl committed Nov 9, 2024
1 parent 019b298 commit ce858af
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion interfaces/cython/cantera/composite.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class Solution(Transport, Kinetics, ThermoPhase):
spec = ct.Species.list_from_file("gri30.yaml")
spec_gas = ct.Solution(thermo='ideal-gas', species=spec)
rxns = ct.Reaction.list_from_file("gri30.yaml", spec_gas)
gas = ct.Solution(thermo='ideal-tas', kinetics='gas',
gas = ct.Solution(thermo='ideal-gas', kinetics='gas',
species=spec, reactions=rxns, name='my_custom_name')
where the ``thermo`` and ``kinetics`` keyword arguments are strings
Expand Down
2 changes: 1 addition & 1 deletion interfaces/dotnet/examples/SoundSpeed/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Application example
var p1 = p0 * 1.0001;

// Set the gas to a state with the same entropy and composition but
// the perturbed pressure..
// the perturbed pressure.
gas.SetPair(ThermoPair.EntropyPressure, s0, p1);

// frozen sound speed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ def _get_property_text(self, clib_area: str, c_name: str, cs_name: str,

if prop_type == "string":
# for get-string type functions we need to look up the type of the second
# (index 1) param for a cast because sometimes it"s an int and other times
# its a nuint (size_t)
# (index 1) param for a cast because sometimes it's an int and other times
# it's a nuint (size_t)
template = _loader.from_string(self._templates["csharp-property-string"])
return template.render(
cs_name=cs_name, p_type=getter.arglist[1].p_type,
Expand Down
4 changes: 2 additions & 2 deletions samples/python/reactors/ic_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Diesel-type internal combustion engine simulation with gaseous fuel
===================================================================
The simulation uses n-Dodecane as fuel, which is injected close to top dead
The simulation uses n-dodecane as fuel, which is injected close to top dead
center. Note that this example uses numerous simplifying assumptions and
thus serves for illustration purposes only.
Expand Down Expand Up @@ -239,7 +239,7 @@ def ca_ticks(t):
ax.plot(t, states('o2').X, label='O2')
ax.plot(t, states('co2').X, label='CO2')
ax.plot(t, states('co').X, label='CO')
ax.plot(t, states('c12h26').X * 10, label='n-Dodecane x10')
ax.plot(t, states('c12h26').X * 10, label='n-dodecane x10')
ax.legend(loc=0)
ax.set_ylabel('$X_i$ [-]')
ax.set_xlabel(r'$\phi$ [deg]')
Expand Down
2 changes: 1 addition & 1 deletion test/python/test_transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def test_add_species_multi(self, cantera_data_path):
assert gas1.thermal_conductivity == approx(gas2.thermal_conductivity)
assert gas1.multi_diff_coeffs == approx(gas2.multi_diff_coeffs)

def test_species_visosities(self, phase):
def test_species_viscosities(self, phase):
for species_name in phase.species_names:
# check that species viscosity matches overall for single-species
# state
Expand Down

0 comments on commit ce858af

Please sign in to comment.