More testing and such. It's super slow now!

This commit is contained in:
Putnam
2020-11-10 20:04:32 -08:00
parent ff1a1aa8ae
commit 43d4ad8c12
6 changed files with 4 additions and 3 deletions
@@ -255,7 +255,8 @@
total_thermal_energy += G.thermal_energy()
total_heat_capacity += G.heat_capacity()
total_gas_mixture.set_temperature(total_heat_capacity ? total_thermal_energy/total_heat_capacity : 0)
if(total_heat_capacity)
total_gas_mixture.set_temperature(total_thermal_energy/total_heat_capacity)
if(total_gas_mixture.return_volume() > 0)
//Update individual gas_mixtures by volume ratio