Example, Electrostatic Calculation
Simple Calculation of ES Energy
t0 = time.clock()
n = 1000
charge,x,y,z = getBoxOfCharge(n,-10.,10.,
-10.,10.,-10.,10.)
t1 = time.clock()
print "Setup Time = ",t1-t0
E = calcESEnergy(n,charge,x,y,z,distance)
t2 = time.clock()
print "ES Energy, Time = ",E,t2-t1
4