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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2469 - (hide 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 ahallam 2427 # 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 ahallam 2469 from wavesolver2df import *
12 ahallam 2460 from phones import *
13 ahallam 2427 #exit subdirectory
14     del sys.path[0]

  ViewVC Help
Powered by ViewVC 1.1.26