/[escript]/trunk/pycad/py_src/extras.py
ViewVC logotype

Diff of /trunk/pycad/py_src/extras.py

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

revision 3070 by ahallam, Wed Jul 21 03:24:48 2010 UTC revision 3071 by gross, Wed Jul 21 05:37:30 2010 UTC
# Line 138  def layer_cake(domain,xwidth,ywidth,dept Line 138  def layer_cake(domain,xwidth,ywidth,dept
138      '''      '''
139            
140      #get number of layers      #get number of layers
141        if not hasattr(depths,"__len__"): depths = [ depths, ]
142      ndepths=len(depths)      ndepths=len(depths)
143    
144      if domain.getDim() <> 3:      if domain.getDim() <> 3:

Legend:
Removed from v.3070  
changed lines
  Added in v.3071

  ViewVC Help
Powered by ViewVC 1.1.26