Last change
on this file since 0765c00 was
d85c194,
checked in by Piotr Rozyczko <piotr.rozyczko@…>, 9 years ago
|
Remaining modules refactored
|
-
Property mode set to
100644
|
File size:
945 bytes
|
Line | |
---|
1 | #!/usr/bin/env python |
---|
2 | # |
---|
3 | # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4 | # |
---|
5 | # Michael A.G. Aivazis |
---|
6 | # California Institute of Technology |
---|
7 | # (C) 1998-2005 All Rights Reserved |
---|
8 | # |
---|
9 | # <LicenseText> |
---|
10 | # |
---|
11 | # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
12 | # |
---|
13 | |
---|
14 | if __name__ == "__main__": |
---|
15 | |
---|
16 | from SASsimulation import geoshapespy |
---|
17 | |
---|
18 | print |
---|
19 | print "module information:" |
---|
20 | print " file:", geoshapespy.__file__ |
---|
21 | print " doc:", geoshapespy.__doc__ |
---|
22 | print " contents:", dir(geoshapespy) |
---|
23 | |
---|
24 | sp = geoshapespy.new_sphere(10) |
---|
25 | # geoshapespy.set_orientation(sp,10,20,10) |
---|
26 | cy = geoshapespy.new_cylinder(2,6) |
---|
27 | |
---|
28 | el = geoshapespy.new_ellipsoid(25,15,10) |
---|
29 | |
---|
30 | hs = geoshapespy.new_hollowsphere(10,2) |
---|
31 | |
---|
32 | sh = geoshapespy.new_singlehelix(10,2,30,2) |
---|
33 | |
---|
34 | # version |
---|
35 | __id__ = "$Id$" |
---|
36 | |
---|
37 | # End of file |
---|
Note: See
TracBrowser
for help on using the repository browser.