/[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 1121 by gross, Thu Apr 19 02:14:18 2007 UTC revision 1122 by gross, Tue May 1 03:21:04 2007 UTC
# Line 139  class Projector: Line 139  class Projector:
139      @param input_data: The input_data to be projected.      @param input_data: The input_data to be projected.
140      """      """
141      out=escript.Data(0.,input_data.getShape(),self.__pde.getFunctionSpaceForSolution())      out=escript.Data(0.,input_data.getShape(),self.__pde.getFunctionSpaceForSolution())
142        self.__pde.setValue(Y = escript.Data(), Y_reduced = escript.Data())
143      if input_data.getRank()==0:      if input_data.getRank()==0:
144          self.__pde.setValue(Y = input_data)          self.__pde.setValue(Y = input_data)
145          out=self.__pde.getSolution()          out=self.__pde.getSolution()

Legend:
Removed from v.1121  
changed lines
  Added in v.1122

  ViewVC Help
Powered by ViewVC 1.1.26