Updates canister process() to use atmos helper procs

This commit is contained in:
mwerezak
2015-04-02 00:04:44 -04:00
parent 6f5b5bfdd2
commit a116723fcd
3 changed files with 56 additions and 16 deletions

View File

@@ -80,7 +80,7 @@
transfer_moles = min(transfer_moles, calculate_transfer_moles(air1, air2, pressure_delta, (network2)? network2.volume : 0))
//pump_gas() will return a negative number if no flow occurred
returnval = pump_gas(src, air1, air2, transfer_moles, available_power=0) //available_power=0 means we only move gas if it would flow naturally
returnval = pump_gas_passive(src, air1, air2, transfer_moles)
if (returnval >= 0)
if(network1)