refactoring and code cleaning

This commit is contained in:
Guille Gutierrez 2020-06-09 11:33:35 -04:00
parent 4b7c536307
commit 2c018832a7

View File

@ -69,8 +69,6 @@ class UsBasePhysicsParameters:
material.no_mass = 'no_mass' in material_lib material.no_mass = 'no_mass' in material_lib
if 'thermal_resistance' in material_lib: if 'thermal_resistance' in material_lib:
material.thermal_resistance_m2k_w = material_lib['thermal_resistance']['#text'] material.thermal_resistance_m2k_w = material_lib['thermal_resistance']['#text']
else:
material.thermal_resistance_m2k_w = None
layer.material = material layer.material = material
thermal_boundary.layers.append(layer) thermal_boundary.layers.append(layer)
for opening in thermal_boundary.thermal_openings: for opening in thermal_boundary.thermal_openings: