source: issm/oecreview/Archive/20545-21336/ISSM-20849-20850.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.5 KB
  • ../trunk-jpl/src/m/modules/BamgMesher.m

     
     1function [bamgmesh,bamggeom] = BamgMesher(bamgmesh,bamggeom,bamgoptions);
     2%BAMGMESHER
     3%
     4%   Usage:
     5%      [bamgmesh, bamggeom] = BamgMesher(bamgmesh,bamggeom,bamgoptions);
     6%
     7%   bamgmesh: input bamg mesh
     8%   bamggeom: input bamg geometry for the mesh
     9%   bamgoptions: options for the bamg mesh
     10
     11% Check usage
     12if nargin~=3
     13        help BamgMesher
     14        error('Wrong usage (see above)');
     15end
     16
     17% Call mex module
     18[bamgmesh, bamggeom] = BamgMesher_matlab(bamgmesh,bamggeom,bamgoptions);
     19
  • ../trunk-jpl/src/m/modules/BamgMesher.py

     
     1from BamgMesher_python import BamgMesher_python
     2
     3def BamgMesher(bamgmesh,bamggeom,bamgoptions):
     4        """
     5        BAMGMESHER
     6
     7        Usage:
     8                [bamgmesh,bamggeom] = BamgMesher(bamgmesh,bamggeom,bamgoptions);
     9
     10        bamgmesh: input bamg mesh
     11        bamggeom: input bamg geometry for the mesh
     12        bamgoptions: options for the bamg mesh
     13        """
     14       
     15        #Call mex module
     16        [bamgmesh, bamggeom] = BamgMesher_python(bamgmesh, bamggeom, bamgoptions);
     17
     18        #return
     19        return [bamgmesh, bamggeom]
  • ../trunk-jpl/src/wrappers/matlab/Makefile.am

     
    3636libISSMApi_la_CXXFLAGS= $(ALLCXXFLAGS)
    3737#}}}
    3838#Wrappers {{{
    39 lib_LTLIBRARIES += BamgMesher.la\
     39lib_LTLIBRARIES += BamgMesher_matlab.la\
    4040                                                 BamgConvertMesh_matlab.la\
    4141                                                 BamgTriangulate.la\
    4242                                                 ContourToMesh_matlab.la\
     
    140140libISSMApi_la_LDFLAGS = -static
    141141endif
    142142
    143 BamgMesher_la_SOURCES = ../BamgMesher/BamgMesher.cpp
    144 BamgMesher_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) $(PROJ4LIB)
     143BamgMesher_matlab_la_SOURCES = ../BamgMesher/BamgMesher.cpp
     144BamgMesher_matlab_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) $(PROJ4LIB)
    145145
    146146BamgConvertMesh_matlab_la_SOURCES = ../BamgConvertMesh/BamgConvertMesh.cpp
    147147BamgConvertMesh_matlab_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) $(PROJ4LIB)
  • ../trunk-jpl/src/wrappers/python/Makefile.am

     
    2828#Wrappers {{{
    2929if WRAPPERS
    3030lib_LTLIBRARIES += BamgConvertMesh_python.la\
    31                                                 BamgMesher.la\
     31                                                BamgMesher_python.la\
    3232                                                ContourToMesh_python.la\
    3333                                                ContourToNodes_python.la\
    3434                                                ElementConnectivity.la\
     
    9292BamgConvertMesh_python_la_SOURCES = ../BamgConvertMesh/BamgConvertMesh.cpp
    9393BamgConvertMesh_python_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) $(PROJ4LIB)
    9494
    95 BamgMesher_la_SOURCES = ../BamgMesher/BamgMesher.cpp
    96 BamgMesher_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) $(PROJ4LIB)
     95BamgMesher_python_la_SOURCES = ../BamgMesher/BamgMesher.cpp
     96BamgMesher_python_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) $(PROJ4LIB)
    9797
    9898ContourToMesh_python_la_SOURCES = ../ContourToMesh/ContourToMesh.cpp
    9999ContourToMesh_python_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) $(PROJ4LIB)
Note: See TracBrowser for help on using the repository browser.