Skip to content

Commit

Permalink
[Examples] Fix use of kineticsSpeciesIndex in diamond_cvd
Browse files Browse the repository at this point in the history
Fixes #1806
  • Loading branch information
speth authored and ischoegl committed Nov 16, 2024
1 parent 70521b7 commit f3d77f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion samples/matlab_experimental/diamond_cvd.m
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@

%% Advance Coverages

iC = surf_phase.kineticsSpeciesIndex('C(d)', 'diamond');
iC = surf_phase.kineticsSpeciesIndex('C(d)');

xx = [];
rr = [];
Expand Down
2 changes: 1 addition & 1 deletion samples/python/kinetics/diamond_cvd.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
writer.writerow(['H mole Fraction', 'Growth Rate (microns/hour)'] +
d.species_names)

iC = d.kinetics_species_index(dbulk.species_index('C(d)'), 1)
iC = d.kinetics_species_index('C(d)')

for n in range(20):
x[ih] /= 1.4
Expand Down

0 comments on commit f3d77f4

Please sign in to comment.