Changeset 4643


Ignore:
Timestamp:
07/16/10 17:41:59 (15 years ago)
Author:
Eric.Larour
Message:

Updated partitioner.m routine to integrate new Chaco module

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/partition/partitioner.m

    r4010 r4643  
    3535
    3636        %  default method (from chaco.m)
    37         method=[1 1 0 0 1 1 50 0 .001 7654321];
     37        method=[1 1 0 0 1 1 50 0 .001 7654321]';
    3838        method(1)=3;    %  global method (3=inertial (geometric))
    3939        method(3)=1;    %  vertex weights (0=off, 1=on)
     
    4949       
    5050                %  partition into nparts
    51                 part=Chaco(md.adjacency,floor(md.vwgt/min(md.vwgt)),[],[md.x md.y md.z],method,npart)';
     51                part=Chaco(md.adjacency,floor(md.vwgt/min(md.vwgt)),[],md.x, md.y ,md.z,method,npart,[])';
    5252        else
    5353                %  partition into nparts
    5454                method(3)=0;    %  vertex weights (0=off, 1=on)
    55                 part=Chaco(md.adjacency,[],[],[md.x md.y md.z],method,npart)';
     55                part=Chaco(md.adjacency,[],[],md.x, md.y, md.z,method,npart,[])';
    5656        end
    5757        part=part+1; %index partitions from 1 up. like metis.
Note: See TracChangeset for help on using the changeset viewer.