We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1dba3ec commit b25db54Copy full SHA for b25db54
src/evolve_energy.cxx
@@ -336,7 +336,7 @@ void EvolveEnergy::finally(const Options& state) {
336
if (species.isSet("energy_source")) {
337
Se += get<Field3D>(species["energy_source"]); // For diagnostic output
338
}
339
- if (species.isSet("energy_source")) {
+ if (species.isSet("momentum_source")) {
340
Se += V * get<Field3D>(species["momentum_source"]);
341
342
ddt(E) += Se;
0 commit comments