/[escript]/trunk/downunder/py_src/domainbuilder.py
ViewVC logotype

Diff of /trunk/downunder/py_src/domainbuilder.py

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

revision 4126 by gross, Fri Dec 21 01:35:43 2012 UTC revision 4127 by azadeh, Thu Jan 10 00:46:56 2013 UTC
# Line 261  class DomainBuilder(object): Line 261  class DomainBuilder(object):
261          # amount of padding per dimension          # amount of padding per dimension
262          pad, pt = self._padding          pad, pt = self._padding
263          for i in range(DIM):          for i in range(DIM):
264              if pad[i] is None: continue              if pad[i] is None:
265            frac.append(0.)
266            continue
267              if pt == 'f': # fraction of side length              if pt == 'f': # fraction of side length
268                  frac.append(2.*pad[i])                  frac.append(2.*pad[i])
269              elif pt == 'e': # number of elements              elif pt == 'e': # number of elements

Legend:
Removed from v.4126  
changed lines
  Added in v.4127

  ViewVC Help
Powered by ViewVC 1.1.26