/[escript]/release/4.1/doc/examples/inversion/test_commemi4.py
ViewVC logotype

Diff of /release/4.1/doc/examples/inversion/test_commemi4.py

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

revision 5768 by sshaw, Tue Jul 28 05:36:39 2015 UTC revision 5769 by sshaw, Wed Jul 29 02:15:25 2015 UTC
# Line 446  mode = 'TE' Line 446  mode = 'TE'
446  # Read the mesh file and define the 'finley' domain:  # Read the mesh file and define the 'finley' domain:
447  #mesh_file = "commemi4_tm.fly"  #mesh_file = "commemi4_tm.fly"
448  #domain = finley.ReadMesh(mesh_file, numDim=2)  #domain = finley.ReadMesh(mesh_file, numDim=2)
449  if escript.getEscriptParamInt('HAVE_GMSH'):  if escript.getEscriptParamInt('GMSH_SUPPORT'):
450      domain=generateCommemi4Mesh()      domain=generateCommemi4Mesh()
451    
452  # Sounding frequencies (in Hz):  # Sounding frequencies (in Hz):
# Line 531  if mt2d.MT_2D._solver == "DIRECT" and es Line 531  if mt2d.MT_2D._solver == "DIRECT" and es
531      print("Direct solvers and multiple MPI processes are not currently supported")      print("Direct solvers and multiple MPI processes are not currently supported")
532  elif mt2d.MT_2D._solver == "DIRECT" and not escript.getEscriptParamInt('PASO_DIRECT'):  elif mt2d.MT_2D._solver == "DIRECT" and not escript.getEscriptParamInt('PASO_DIRECT'):
533      print("escript was not built with support for direct solvers, aborting")      print("escript was not built with support for direct solvers, aborting")
534  elif escript.getEscriptParamInt('HAVE_GMSH'):  elif not escript.getEscriptParamInt('GMSH_SUPPORT'):
535      print("This example requires gmsh")      print("This example requires gmsh")
536  else:  else:
537    

Legend:
Removed from v.5768  
changed lines
  Added in v.5769

  ViewVC Help
Powered by ViewVC 1.1.26