Changeset 4663


Ignore:
Timestamp:
07/19/10 14:09:12 (15 years ago)
Author:
Eric.Larour
Message:

some debugging

Location:
issm/trunk/src/m/classes/public/partition
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/classes/public/partition/adjacency.m

    r3122 r4663  
    1919%now, build vwgt:
    2020areas=GetAreas(md.elements,md.x,md.y);
     21
     22%get node connectivity
     23md.nodeconnectivity=NodeConnectivity(md.elements,md.numberofgrids);
     24
    2125connectivity=md.nodeconnectivity(:,1:end-1);
    2226pos=find(connectivity);
  • issm/trunk/src/m/classes/public/partition/partitioner.m

    r4660 r4663  
    1 function part=partitioner(md,varargin)
     1function md=partitioner(md,varargin)
    22%PARTITIONER - partition mesh
    33%
     
    88%   weighting: 'on' or 'off': default off
    99%   section:  1 by defaults(1=bisection, 2=quadrisection, 3=octasection)
     10%   Output: md.part recover the partition vector
    1011%   
    1112%   Usage:
    12 %      md.part=partitioner(md,'package','chaco','npart',100,'weighting','on');
     13%      md=partitioner(md,'package','chaco','npart',100,'weighting','on');
    1314%
    1415
     
    7778        error(['partitioner error message: could not find ' package ' partitioner']);
    7879        help partitioner
     80end
    7981
    80 end
     82md.part=part;
Note: See TracChangeset for help on using the changeset viewer.