/[escript]/trunk/downunder/py_src/forwardmodels/dcresistivity.py
ViewVC logotype

Diff of /trunk/downunder/py_src/forwardmodels/dcresistivity.py

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

revision 5789 by sshaw, Mon Aug 31 05:37:39 2015 UTC revision 5790 by jduplessis, Wed Sep 9 04:56:37 2015 UTC
# Line 158  class DcRes(ForwardModel): Line 158  class DcRes(ForwardModel):
158          :rtype: ``Data`` of shape (1,)          :rtype: ``Data`` of shape (1,)
159          """          """
160          pde = self.setUpPDE()          pde = self.setUpPDE()
161          X = (self.__sigmaPrimary - sigma) * grad(self.__phiPrimary)          X = (sigma - self.__sigmaPrimary) * grad(self.__phiPrimary)
162          pde.setValue(A=sigma * kronecker(self.__domain), X=X)          pde.setValue(A=sigma * kronecker(self.__domain), X=X)
163          phi = pde.getSolution()          phi = pde.getSolution()
164          loc = self.__locator          loc = self.__locator

Legend:
Removed from v.5789  
changed lines
  Added in v.5790

  ViewVC Help
Powered by ViewVC 1.1.26