示例#1
0
 def show(self, f=None, format=None):
   if (f is None): f = sys.stdout
   if (self.max_error is None):
     e = ""
   else:
     e = ", max_error: %.4f" % self.max_error
   print >> f, "stol: %.2f # d_min: %.2f%s" % (self.stol, 1/(2*self.stol), e)
   return gaussian.show(self, f, format)
示例#2
0
 def show(self, f=None, format=None):
   if (f is None): f = sys.stdout
   if (self.max_error is None):
     e = ""
   else:
     e = ", max_error: %.4f" % self.max_error
   print >> f, "stol: %.2f # d_min: %.2f%s" % (self.stol, 1/(2*self.stol), e)
   return gaussian.show(self, f, format)