Changeset 9671
- Timestamp:
- 09/07/11 15:55:32 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/model/partition/partitioner.m
r9668 r9671 39 39 md.numberofnodes=md.numberofnodes2d; 40 40 md.numberofelements=md.numberofelements2d; 41 md. vertex_weight=[];41 md.qmu.vertex_weight=[]; 42 42 md.nodeconnectivity=[]; 43 43 end … … 63 63 %are we using weights? 64 64 if strcmpi(getfieldvalue(options,'weighting'),'on'), 65 weights=floor(md. vertex_weight/min(md.vertex_weight));65 weights=floor(md.qmu.vertex_weight/min(md.qmu.vertex_weight)); 66 66 method(3)=1; 67 67 else … … 76 76 %are we using weights? 77 77 if strcmpi(getfieldvalue(options,'weighting'),'on'), 78 weights=floor(md. vertex_weight/min(md.vertex_weight));78 weights=floor(md.qmu.vertex_weight/min(md.qmu.vertex_weight)); 79 79 end 80 80 maptab=Scotch(md.qmu.adjacency,[],weights,[],'cmplt',[npart]);
Note:
See TracChangeset
for help on using the changeset viewer.