102 correct_current = 1e-3 * pi * self.
solver.js * (
exp(self.
solver.beta) - 1)
103 self.assertAlmostEqual(self.
solver.get_total_current(), correct_current, 3)
104 capacitance = eps0 *
material.GaAs().eps() * pi*1000.**2 / 0.02
106 heat = correct_current * 1.
112 correct_current = 1e-3 * pi * self.
solver.js * (21000 - 1)
113 self.assertAlmostEqual(self.
solver.get_total_current(), correct_current, 3)
114 self.
solver.inTemperature = 250
116 correct_current = 1e-3 * pi * self.
solver.js * (17500 - 1)
117 self.assertAlmostEqual(self.
solver.get_total_current(), correct_current, 3)