/[escript]/trunk/escript/py_src/pdetools.py
ViewVC logotype

Diff of /trunk/escript/py_src/pdetools.py

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

revision 3922 by jfenwick, Mon Jul 9 02:19:51 2012 UTC revision 3928 by jfenwick, Mon Jul 9 23:23:43 2012 UTC
# Line 435  class Locator: Line 435  class Locator:
435        """        """
436        Sets the value of the ``data`` at the Locator.        Sets the value of the ``data`` at the Locator.
437        """        """
       data.expand()  
438        if isinstance(data, escript.Data):        if isinstance(data, escript.Data):
439             if data.getFunctionSpace()!=self.getFunctionSpace():
440               raise TypeError, "setValue: FunctionSpace of Locator and Data object must match."
441             data.expand()  
442           id=self.getId()           id=self.getId()
443           if isinstance(id, list):           if isinstance(id, list):
444            for i in id:            for i in id:

Legend:
Removed from v.3922  
changed lines
  Added in v.3928

  ViewVC Help
Powered by ViewVC 1.1.26