/[escript]/trunk/downunder/test/python/run_forward.py
ViewVC logotype

Diff of /trunk/downunder/test/python/run_forward.py

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

revision 5555 by caltinay, Tue Mar 24 06:31:43 2015 UTC revision 5556 by gross, Wed Mar 25 00:11:28 2015 UTC
# Line 540  class TestMT2DModelTEMode(unittest.TestC Line 540  class TestMT2DModelTEMode(unittest.TestC
540          acw=MT2DModelTEMode(domain, omega, x, Z_XY, eta, mu=mu0, fixAtTop=True, Ex_top=Ex0_ex*[1.,0]+ Ex1_ex*[0,1.], tol=1e-9,  directSolver=True)          acw=MT2DModelTEMode(domain, omega, x, Z_XY, eta, mu=mu0, fixAtTop=True, Ex_top=Ex0_ex*[1.,0]+ Ex1_ex*[0,1.], tol=1e-9,  directSolver=True)
541    
542          # this is the base line:          # this is the base line:
543          SIGMA0=1.          xx=domain.getX()[0]
544            SIGMA0=3.*(xx+0.3)
545          args0=acw.getArguments(SIGMA0)          args0=acw.getArguments(SIGMA0)
546          d0=acw.getDefect(SIGMA0, *args0)          d0=acw.getDefect(SIGMA0, *args0)
547          dg0=acw.getGradient(SIGMA0, *args0)          dg0=acw.getGradient(SIGMA0, *args0)
# Line 682  class TestMT2DModelTMMode(unittest.TestC Line 683  class TestMT2DModelTMMode(unittest.TestC
683          acw=MT2DModelTMMode(domain, omega, x, Z_XY, eta, mu=mu0, tol=1e-9,  directSolver=True)          acw=MT2DModelTMMode(domain, omega, x, Z_XY, eta, mu=mu0, tol=1e-9,  directSolver=True)
684    
685          # this is the base line:          # this is the base line:
686          RHO0=2. # was 100.15          xx=domain.getX()[0]
687            RHO0=3.*(xx+0.3)
688          args0=acw.getArguments(RHO0)          args0=acw.getArguments(RHO0)
689          d0=acw.getDefect(RHO0, *args0)          d0=acw.getDefect(RHO0, *args0)
690          dg0=acw.getGradient(RHO0, *args0)          dg0=acw.getGradient(RHO0, *args0)

Legend:
Removed from v.5555  
changed lines
  Added in v.5556

  ViewVC Help
Powered by ViewVC 1.1.26