/[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 4060 by caltinay, Fri Nov 9 03:50:19 2012 UTC revision 4097 by caltinay, Fri Dec 7 01:18:35 2012 UTC
# Line 27  __all__ = ['DomainBuilder'] Line 27  __all__ = ['DomainBuilder']
27  import logging  import logging
28  import numpy as np  import numpy as np
29  from esys.escript.util import *  from esys.escript.util import *
30  import esys.escript.unitsSI as U  from esys.escript import unitsSI as U
31  from esys.ripley import Brick, Rectangle  from esys.ripley import Brick, Rectangle
32  from .datasources import DataSource  from .datasources import DataSource
33    
# Line 127  class DomainBuilder(object): Line 127  class DomainBuilder(object):
127          if self._dim < 3:          if self._dim < 3:
128              return np.array([0., -B_r])              return np.array([0., -B_r])
129          else:          else:
130                #return np.array([3.0281e-5, 2.356e-6, -4.3346e-5])
131              return np.array([-B_theta, 0., -B_r])              return np.array([-B_theta, 0., -B_r])
132    
133      def getSetDensityMask(self):      def getSetDensityMask(self):

Legend:
Removed from v.4060  
changed lines
  Added in v.4097

  ViewVC Help
Powered by ViewVC 1.1.26