Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/ein16/synth/d2/test_createField.py
ViewVC logotype

Diff of /branches/ein16/synth/d2/test_createField.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4482, Thu Sep 1 20:43:01 2016 UTC revision 4483, Fri Sep 2 05:07:01 2016 UTC
# Line 29  Line 29 
29      for i in range(dim):      for i in range(dim):
30          psize = psize * outSize          psize = psize * outSize
31      sizecmd = " -s 1 "+str(psize)      sizecmd = " -s 1 "+str(psize)
32      print  " sizecmd ",  sizecmd      #print  " sizecmd ",  sizecmd
33      return (filename, sizecmd)      return (filename, sizecmd)
34    
35  def coeffToBase_d1(pre, v):  def coeffToBase_d1(pre, v):
# Line 299  Line 299 
299          else:          else:
300              raise "dim not supported:"              raise "dim not supported:"
301      PARAMS = get_Params()      PARAMS = get_Params()
302      print "params", PARAMS      #print "params", PARAMS
303      # get program name and which command      # get program name and which command
304      #print "create field A"      #print "create field A"
305      (e_Orig, w_shape) = progName(itype, outSize)      (e_Orig, w_shape) = progName(itype, outSize)
# Line 338  Line 338 
338      for j in range(len(flds)):      for j in range(len(flds)):
339          i = flds[j]          i = flds[j]
340          itypes.append(i.fldty)          itypes.append(i.fldty)
341          print "j:",j,"itypes",itypes[j].name          #print "j:",j,"itypes",itypes[j].name
342      exps = flds      exps = flds
343      #print "exps", exps      #print "exps", exps
344      #print "coeffs", coeffs      #print "coeffs", coeffs

Legend:
Removed from v.4482  
changed lines
  Added in v.4483

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0