source:
issm/oecreview/Archive/20545-21336/ISSM-20845-20846.diff@
21337
Last change on this file since 21337 was 21337, checked in by , 8 years ago | |
---|---|
File size: 3.4 KB |
-
TabularUnified ../trunk-jpl/src/m/modules/BamgConvertMesh.py
1 from BamgConvertMesh_python import BamgConvertMesh_python 2 3 def BamgConvertMesh(index,x,y): 4 """ 5 BAMGCONVERTMESH - Convert [index, x, y] to a bamg geom and mesh geom 6 7 Usage: 8 [bamggeom, bamgmesh] = BamgConvertMesh(index, x, y) 9 index: index of the mesh 10 x,y: coordinates of the nodes 11 """ 12 13 #Call mex module 14 [bamggeom, bamgmesh] = BamgConvertMesh_python(index,x,y); 15 16 #return 17 return [bamggeom, bamgmesh] -
TabularUnified ../trunk-jpl/src/m/modules/BamgConvertMesh.m
1 function [bamggeom, bamgmesh] = BamgConvertMesh(index,x,y); 2 %BAMGCONVERTMESH - Convert [x y index] to a bamg geom and mesh geom 3 % 4 % Usage: 5 % [bamggeom, bamgmesh] = BamgConvertMesh(index,x,y); 6 % 7 % index: index of the mesh 8 % x,y: coordinates of the nodes 9 10 % Check usage 11 if nargin~=3 12 help BamgConvertMesh 13 error('Wrong usage (see above)'); 14 end 15 16 % Call mex module 17 [bamggeom, bamgmesh] = BamgConvertMesh_matlab(index,x,y); -
TabularUnified ../trunk-jpl/src/wrappers/matlab/Makefile.am
37 37 #}}} 38 38 #Wrappers {{{ 39 39 lib_LTLIBRARIES += BamgMesher.la\ 40 BamgConvertMesh .la\40 BamgConvertMesh_matlab.la\ 41 41 BamgTriangulate.la\ 42 42 ContourToMesh_matlab.la\ 43 43 ContourToNodes_matlab.la\ … … 143 143 BamgMesher_la_SOURCES = ../BamgMesher/BamgMesher.cpp 144 144 BamgMesher_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) $(PROJ4LIB) 145 145 146 BamgConvertMesh_ la_SOURCES = ../BamgConvertMesh/BamgConvertMesh.cpp147 BamgConvertMesh_ la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) $(PROJ4LIB)146 BamgConvertMesh_matlab_la_SOURCES = ../BamgConvertMesh/BamgConvertMesh.cpp 147 BamgConvertMesh_matlab_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) $(PROJ4LIB) 148 148 149 149 BamgTriangulate_la_SOURCES = ../BamgTriangulate/BamgTriangulate.cpp 150 150 BamgTriangulate_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) $(PROJ4LIB) -
TabularUnified ../trunk-jpl/src/wrappers/python/Makefile.am
27 27 #}}} 28 28 #Wrappers {{{ 29 29 if WRAPPERS 30 lib_LTLIBRARIES += BamgConvertMesh .la\30 lib_LTLIBRARIES += BamgConvertMesh_python.la\ 31 31 BamgMesher.la\ 32 32 ContourToMesh_python.la\ 33 33 ContourToNodes_python.la\ … … 89 89 AM_CXXFLAGS += $(CXXOPTFLAGS) 90 90 #}}} 91 91 #Bin sources {{{ 92 BamgConvertMesh_ la_SOURCES = ../BamgConvertMesh/BamgConvertMesh.cpp93 BamgConvertMesh_ la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) $(PROJ4LIB)92 BamgConvertMesh_python_la_SOURCES = ../BamgConvertMesh/BamgConvertMesh.cpp 93 BamgConvertMesh_python_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) $(PROJ4LIB) 94 94 95 95 BamgMesher_la_SOURCES = ../BamgMesher/BamgMesher.cpp 96 96 BamgMesher_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) $(PROJ4LIB)
Note:
See TracBrowser
for help on using the repository browser.