Started implementing new config structure.

这个提交包含在:
Craig Warren
2019-10-11 17:35:14 +01:00
父节点 c2042af1ad
当前提交 0359cef4d6
共有 28 个文件被更改,包括 315 次插入360 次删除

查看文件

@@ -51,11 +51,11 @@ class Source:
"""
# Waveform values for electric sources - calculated half a timestep later
self.waveformvaluesJ = np.zeros((G.iterations),
dtype=config.dtypes['float_or_double'])
dtype=config.sim_config.dtypes['float_or_double'])
# Waveform values for magnetic sources
self.waveformvaluesM = np.zeros((G.iterations),
dtype=config.dtypes['float_or_double'])
dtype=config.sim_config.dtypes['float_or_double'])
waveform = next(x for x in G.waveforms if x.ID == self.waveformID)