Skip to content

Commit

Permalink
BUG: Need a real ion temperature
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronjridley committed Dec 10, 2023
1 parent 5df1b10 commit df91d18
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/calc_ion_temperature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,11 @@ void Ions::calc_ion_temperature(Neutrals neutrals, Grid grid,
// Get the time step size
precision_t dt = time.get_dt();

for (iIon = 0; iIon < nSpecs; iIon++)
species[iIon].temperature_scgc =
neutrals.temperature_scgc +
1.5 * (neutrals.temperature_scgc - neutrals.temperature_scgc(2,2,2));

temperature_scgc = neutrals.temperature_scgc +
1.5 * (neutrals.temperature_scgc - neutrals.temperature_scgc(2,2,2));
for (iIon = 0; iIon < nSpecies; iIon++)
species[iIon].temperature_scgc = neutrals.temperature_scgc;

temperature_scgc = neutrals.temperature_scgc;

report.exit(function);
return;

Expand Down

0 comments on commit df91d18

Please sign in to comment.