diff --git a/samples/matlab_experimental/diamond_cvd.m b/samples/matlab_experimental/diamond_cvd.m index fd5803df71..651d4ec6f6 100644 --- a/samples/matlab_experimental/diamond_cvd.m +++ b/samples/matlab_experimental/diamond_cvd.m @@ -56,7 +56,7 @@ %% Advance Coverages -iC = surf_phase.kineticsSpeciesIndex('C(d)', 'diamond'); +iC = surf_phase.kineticsSpeciesIndex('C(d)'); xx = []; rr = []; diff --git a/samples/python/kinetics/diamond_cvd.py b/samples/python/kinetics/diamond_cvd.py index 60354a42f5..6c249701d6 100644 --- a/samples/python/kinetics/diamond_cvd.py +++ b/samples/python/kinetics/diamond_cvd.py @@ -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