/[escript]/trunk/doc/examples/cookbook/example10a.py
ViewVC logotype

Diff of /trunk/doc/examples/cookbook/example10a.py

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

revision 5288 by sshaw, Tue Dec 2 23:18:40 2014 UTC revision 5361 by jfenwick, Mon Dec 15 00:53:41 2014 UTC
# Line 59  if getMPISizeWorld() > 1: Line 59  if getMPISizeWorld() > 1:
59      print("This example will not run in an MPI world.")      print("This example will not run in an MPI world.")
60      sys.exit(0)      sys.exit(0)
61    
62  if HAVE_FINLEY:  try:
63        from mpl_toolkits.natgrid import _natgrid
64        HAVE_NATGRID=True
65    except ImportError:
66        HAVE_NATGRID=False
67    
68    
69    if HAVE_FINLEY and HAVE_NATGRID:
70      #################################################ESTABLISHING VARIABLES      #################################################ESTABLISHING VARIABLES
71      #Domain related.      #Domain related.
72      mx = 5000*m #meters - model length      mx = 5000*m #meters - model length

Legend:
Removed from v.5288  
changed lines
  Added in v.5361

  ViewVC Help
Powered by ViewVC 1.1.26