/[escript]/trunk/finley/py_src/factorywrappers.py
ViewVC logotype

Diff of /trunk/finley/py_src/factorywrappers.py

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

revision 5593 by jfenwick, Fri Apr 24 01:36:26 2015 UTC revision 5705 by sshaw, Mon Jun 29 01:07:07 2015 UTC
# Line 69  def Rectangle(n0=1, n1=1, order=1, l0=1. Line 69  def Rectangle(n0=1, n1=1, order=1, l0=1.
69      if 'diracTags' in kwargs:      if 'diracTags' in kwargs:
70          tags=kwargs['diracTags']          tags=kwargs['diracTags']
71      faceon=useElementsOnFace      faceon=useElementsOnFace
72      if useElementsOnFace is None:   #We want to use 1 as the default, but only where it makes sense      if useElementsOnFace is None:       #We want to use 1 as the default, but only where it makes sense
73          if useFullElementOrder or order==-1:          if useFullElementOrder or order==-1:
74              faceon=0    #Don't use it              faceon=0    #Don't use it
75          else:          else:
76              faceon=1              faceon=1
77      args=[n0, n1, order, l0, l1, periodic0, periodic1, integrationOrder,      args=[n0, n1, order, l0, l1, periodic0, periodic1, integrationOrder,
# Line 94  def Brick(n0=1, n1=1, n2=1, order=1, l0= Line 94  def Brick(n0=1, n1=1, n2=1, order=1, l0=
94      if 'diracTags' in kwargs:      if 'diracTags' in kwargs:
95          tags=kwargs['diracTags']          tags=kwargs['diracTags']
96      faceon=useElementsOnFace      faceon=useElementsOnFace
97      if useElementsOnFace is None:   #We want to use 1 as the default, but only where it makes sense      if useElementsOnFace is None:       #We want to use 1 as the default, but only where it makes sense
98          if useFullElementOrder or order==-1:          if useFullElementOrder or order==-1:
99              faceon=0    #Don't use it              faceon=0    #Don't use it
100          else:          else:
101              faceon=1              faceon=1
102      args=[n0, n1, n2, order, l0, l1, l2, periodic0,  periodic1, periodic2,      args=[n0, n1, n2, order, l0, l1, l2, periodic0,  periodic1, periodic2,

Legend:
Removed from v.5593  
changed lines
  Added in v.5705

  ViewVC Help
Powered by ViewVC 1.1.26