Adding printing of material types, i.e. builtin, user-defined, debye etc...

这个提交包含在:
Craig Warren
2016-08-08 18:00:29 +01:00
父节点 c5573a2027
当前提交 4d50f22c37
共有 6 个文件被更改,包括 29 次插入18 次删除

查看文件

@@ -108,6 +108,7 @@ class VoltageSource(Source):
newmaterial.ID = material.ID + '+VoltageSource_' + str(self.resistance)
newmaterial.numID = len(G.materials)
newmaterial.average = False
newmaterial.type = 'dielectric-smoothed, voltage source'
# Add conductivity of voltage source to underlying conductivity
if self.polarisation == 'x':