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

Contents of /trunk/doc/examples/cookbook/cblib.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2469 - (show annotations)
Thu Jun 11 04:52:14 2009 UTC (11 years, 8 months ago) by ahallam
Original Path: trunk/doc/cookbook/cblib.py
File MIME type: text/x-python
File size: 340 byte(s)
Week 11: Close to finishing wave equation, looking at adding friction to wave equation.
1 # This is the cookbook library for generic scripts.
2 # Imports come from the folder cblib and contain script definitions.
3
4 import sys
5 import os
6
7 #set the subdirectory path
8 sys.path.insert(0,'cblib')
9 #import all examples to library
10 from wavesolver2d import *
11 from wavesolver2df import *
12 from phones import *
13 #exit subdirectory
14 del sys.path[0]

  ViewVC Help
Powered by ViewVC 1.1.26