diff options
Diffstat (limited to 'Examples/Tests/ElectrostaticSphere/analysis_electrostatic_sphere.py')
-rwxr-xr-x | Examples/Tests/ElectrostaticSphere/analysis_electrostatic_sphere.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Examples/Tests/ElectrostaticSphere/analysis_electrostatic_sphere.py b/Examples/Tests/ElectrostaticSphere/analysis_electrostatic_sphere.py index 9bb3ff5f5..c718c1a42 100755 --- a/Examples/Tests/ElectrostaticSphere/analysis_electrostatic_sphere.py +++ b/Examples/Tests/ElectrostaticSphere/analysis_electrostatic_sphere.py @@ -17,10 +17,12 @@ the correct speed and that the electric field is accurately modeled against a known analytic solution. While the radius r(t) is not analytically known, its inverse t(r) can be solved for exactly. """ +import sys + import numpy as np from scipy.optimize import fsolve -import sys import yt + yt.funcs.mylog.setLevel(0) # Open plotfile specified in command line |