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

Diff of /release/4.1/doc/examples/inversion/test_commemi1.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 369  mode = 'TE' Line 369  mode = 'TE'
369  # Read the mesh file and define the 'finley' domain:  # Read the mesh file and define the 'finley' domain:
370  #mesh_file = "data/commemi1_te.fly"  #mesh_file = "data/commemi1_te.fly"
371  #domain = finley.ReadMesh(mesh_file, numDim=2)  #domain = finley.ReadMesh(mesh_file, numDim=2)
372  if escript.getEscriptParamInt('HAVE_GMSH'):  if escript.getEscriptParamInt('GMSH_SUPPORT'):
373      domain = generateCommemi1Mesh()      domain = generateCommemi1Mesh()
374    
375  # Sounding frequencies (in Hz):  # Sounding frequencies (in Hz):
# Line 429  if mt2d.MT_2D._solver == "DIRECT" and es Line 429  if mt2d.MT_2D._solver == "DIRECT" and es
429      print("Direct solvers and multiple MPI processes are not currently supported")      print("Direct solvers and multiple MPI processes are not currently supported")
430  elif mt2d.MT_2D._solver == "DIRECT" and not escript.getEscriptParamInt('PASO_DIRECT'):  elif mt2d.MT_2D._solver == "DIRECT" and not escript.getEscriptParamInt('PASO_DIRECT'):
431      print("escript was not built with support for direct solvers, aborting")      print("escript was not built with support for direct solvers, aborting")
432  elif not escript.getEscriptParamInt('HAVE_GMSH'):  elif not escript.getEscriptParamInt('GMSH_SUPPORT'):
433      print("This example requires gmsh")      print("This example requires gmsh")
434  else:  else:
435      # Instantiate an MT_2D object with required & optional parameters:      # Instantiate an MT_2D object with required & optional parameters:

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

  ViewVC Help
Powered by ViewVC 1.1.26