mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 12:04:48 +01:00
Added some asserts for FEA code, to help fix a runtime error.
This commit is contained in:
@@ -1030,6 +1030,8 @@ datum
|
||||
var/heat = conduction_coefficient*delta_temperature* \
|
||||
(self_heat_capacity*model.heat_capacity/(self_heat_capacity+model.heat_capacity))
|
||||
|
||||
ASSERT(self_heat_capacity != 0) // Trying to solve a runtime error - Abi79
|
||||
ASSERT(group_multiplier != 0)
|
||||
if(border_multiplier)
|
||||
temperature -= heat*border_multiplier/(self_heat_capacity*group_multiplier)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user