Changeset 10148
- Timestamp:
- 10/08/11 17:00:14 (13 years ago)
- Location:
- issm/trunk
- Files:
-
- 1 added
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/py/classes/model.py
r10119 r10148 1 from mesh import * 2 1 3 class model: 2 4 """Python model class""" 3 x = [] 4 y = [] 5 elements = [] 5 mesh=mesh() 6 6 def __init__(self): 7 7 print 'new model created' 8 def __repr__(self): 9 return " mesh: mesh properties" -
issm/trunk/src/py/modules/TriMesh/Makefile
r10119 r10148 1 all: 1 all: ogive 2 3 ice: 2 4 g++ -bundle -bind \ 3 5 -I$(ISSM_TIER)/externalpackages/boost/install/include \ … … 5 7 -L/usr/lib/python2.6/config/ -lpython2.6 \ 6 8 TriMeshmodule.cpp -o TriMesh.so 7 #-I/usr/include/python2.6/ \ 9 10 ogive: 11 g++ \ 12 -I$(ISSM_TIER)/externalpackages/boost/install/include \ 13 -I/opt/local/include/python2.5/ \ 14 -L$(ISSM_TIER)/externalpackages/boost/install/lib -lboost_python \ 15 -L/usr/lib/ -lpython2.5 \ 16 TriMeshmodule.cpp -o TriMesh.so -bundle 17 18 clean: 19 rm TriMesh.so -
issm/trunk/src/py/modules/hello/Makefile
r10119 r10148 1 all: 1 all: ogive 2 3 ice: 2 4 g++ -bundle -bind \ 3 5 -I$(ISSM_TIER)/externalpackages/boost/install/include \ … … 6 8 -L/usr/lib/python2.6/config/ -lpython2.6 \ 7 9 hellomodule.cpp -o hello.so 10 11 ogive: 12 g++ \ 13 -I$(ISSM_TIER)/externalpackages/boost/install/include \ 14 -I/usr/include/python2.5/ \ 15 -L$(ISSM_TIER)/externalpackages/boost/install/lib -lboost_python \ 16 -L/usr/lib/python2.5/config/ -lpython2.5 \ 17 hellomodule.cpp -o hello.so -bundle 18 19 clean: 20 rm hello.so -
issm/trunk/startup.py
r10119 r10148 22 22 sys.path.append(ISSM_TIER+'/src/py') 23 23 sys.path.append(ISSM_TIER+'/src/py/classes') 24 import model 24 sys.path.append(ISSM_TIER+'/src/py/modules/TriMesh') 25 sys.path.append(ISSM_TIER+'/src/py/modules/hello') 26 from model import * 25 27 26 28 print "\n To get started with ISSM, type issmdoc at the command prompt.\n\n"
Note:
See TracChangeset
for help on using the changeset viewer.