source: issm/oecreview/Archive/20545-21336/ISSM-20858-20859.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: 1.7 KB
  • ../trunk-jpl/src/m/modules/Chaco.m

     
     1function [assgn] = Chaco(A,vwgts,ewgts,x,y,z,options,nparts,goal);
     2%CHACO
     3%
     4%   Usage:
     5%      [assgn] = Chaco(A,vwgts,ewgts,x,y,z,options,nparts,goal);
     6%
     7%   A:                  Input adjacency matrix
     8%   vwgts:              weights for all vertices
     9%   ewgts:              weights for all edges
     10%   x,y,z:              coordinates for inertial method
     11%   options:    architecture and partitioning options
     12%   nparts:             number of parts options
     13%   goal:               desired set sizes
     14
     15% Check usage
     16if nargin~=9
     17        help Chaco
     18        error('Wrong usage (see above)');
     19end
     20
     21% Call mex module
     22[assgn] = Chaco_matlab(A,vwgts,ewgts,x,y,z,options,nparts,goal);
  • ../trunk-jpl/src/wrappers/matlab/Makefile.am

     
    6666                                                 Xy2ll.la
    6767
    6868if CHACO
    69 lib_LTLIBRARIES += Chaco.la
     69lib_LTLIBRARIES += Chaco_matlab.la
    7070endif
    7171if KRIGING
    7272lib_LTLIBRARIES +=  Kriging.la
     
    150150BamgTriangulate_matlab_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) $(PROJ4LIB)
    151151
    152152if CHACO
    153 Chaco_la_SOURCES = ../Chaco/Chaco.cpp
    154 Chaco_la_LIBADD = ${deps} $(MPILIB) $(CHACOLIB) $(GSLLIB) $(PROJ4LIB) $(PETSCLIB)
     153Chaco_matlab_la_SOURCES = ../Chaco/Chaco.cpp
     154Chaco_matlab_la_LIBADD = ${deps} $(MPILIB) $(CHACOLIB) $(GSLLIB) $(PROJ4LIB) $(PETSCLIB)
    155155endif
    156156
    157157ContourToMesh_matlab_la_SOURCES = ../ContourToMesh/ContourToMesh.cpp
Note: See TracBrowser for help on using the repository browser.