source: issm/oecreview/Archive/20545-21336/ISSM-20845-20846.diff@ 21337

Last change on this file since 21337 was 21337, checked in by Mathieu Morlighem, 8 years ago

CHG: added Archive/20545-21336

File size: 3.4 KB
  • TabularUnified ../trunk-jpl/src/m/modules/BamgConvertMesh.py

     
     1from BamgConvertMesh_python import BamgConvertMesh_python
     2
     3def 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

     
     1function [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
     11if nargin~=3
     12        help BamgConvertMesh
     13        error('Wrong usage (see above)');
     14end
     15
     16% Call mex module
     17[bamggeom, bamgmesh] = BamgConvertMesh_matlab(index,x,y);
  • TabularUnified ../trunk-jpl/src/wrappers/matlab/Makefile.am

     
    3737#}}}
    3838#Wrappers {{{
    3939lib_LTLIBRARIES += BamgMesher.la\
    40                                                  BamgConvertMesh.la\
     40                                                 BamgConvertMesh_matlab.la\
    4141                                                 BamgTriangulate.la\
    4242                                                 ContourToMesh_matlab.la\
    4343                                                 ContourToNodes_matlab.la\
     
    143143BamgMesher_la_SOURCES = ../BamgMesher/BamgMesher.cpp
    144144BamgMesher_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) $(PROJ4LIB)
    145145
    146 BamgConvertMesh_la_SOURCES = ../BamgConvertMesh/BamgConvertMesh.cpp
    147 BamgConvertMesh_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) $(PROJ4LIB)
     146BamgConvertMesh_matlab_la_SOURCES = ../BamgConvertMesh/BamgConvertMesh.cpp
     147BamgConvertMesh_matlab_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) $(PROJ4LIB)
    148148
    149149BamgTriangulate_la_SOURCES = ../BamgTriangulate/BamgTriangulate.cpp
    150150BamgTriangulate_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) $(PROJ4LIB)
  • TabularUnified ../trunk-jpl/src/wrappers/python/Makefile.am

     
    2727#}}}
    2828#Wrappers {{{
    2929if WRAPPERS
    30 lib_LTLIBRARIES += BamgConvertMesh.la\
     30lib_LTLIBRARIES += BamgConvertMesh_python.la\
    3131                                                BamgMesher.la\
    3232                                                ContourToMesh_python.la\
    3333                                                ContourToNodes_python.la\
     
    8989AM_CXXFLAGS += $(CXXOPTFLAGS)
    9090#}}}
    9191#Bin sources {{{
    92 BamgConvertMesh_la_SOURCES = ../BamgConvertMesh/BamgConvertMesh.cpp
    93 BamgConvertMesh_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) $(PROJ4LIB)
     92BamgConvertMesh_python_la_SOURCES = ../BamgConvertMesh/BamgConvertMesh.cpp
     93BamgConvertMesh_python_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) $(PROJ4LIB)
    9494
    9595BamgMesher_la_SOURCES = ../BamgMesher/BamgMesher.cpp
    9696BamgMesher_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) $(PROJ4LIB)
Note: See TracBrowser for help on using the repository browser.