Changeset 4643
- Timestamp:
- 07/16/10 17:41:59 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/partition/partitioner.m
r4010 r4643 35 35 36 36 % 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]'; 38 38 method(1)=3; % global method (3=inertial (geometric)) 39 39 method(3)=1; % vertex weights (0=off, 1=on) … … 49 49 50 50 % 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,[])'; 52 52 else 53 53 % partition into nparts 54 54 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,[])'; 56 56 end 57 57 part=part+1; %index partitions from 1 up. like metis.
Note:
See TracChangeset
for help on using the changeset viewer.