Changeset 4663
- Timestamp:
- 07/19/10 14:09:12 (15 years ago)
- 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 19 19 %now, build vwgt: 20 20 areas=GetAreas(md.elements,md.x,md.y); 21 22 %get node connectivity 23 md.nodeconnectivity=NodeConnectivity(md.elements,md.numberofgrids); 24 21 25 connectivity=md.nodeconnectivity(:,1:end-1); 22 26 pos=find(connectivity); -
issm/trunk/src/m/classes/public/partition/partitioner.m
r4660 r4663 1 function part=partitioner(md,varargin)1 function md=partitioner(md,varargin) 2 2 %PARTITIONER - partition mesh 3 3 % … … 8 8 % weighting: 'on' or 'off': default off 9 9 % section: 1 by defaults(1=bisection, 2=quadrisection, 3=octasection) 10 % Output: md.part recover the partition vector 10 11 % 11 12 % Usage: 12 % md .part=partitioner(md,'package','chaco','npart',100,'weighting','on');13 % md=partitioner(md,'package','chaco','npart',100,'weighting','on'); 13 14 % 14 15 … … 77 78 error(['partitioner error message: could not find ' package ' partitioner']); 78 79 help partitioner 80 end 79 81 80 end 82 md.part=part;
Note:
See TracChangeset
for help on using the changeset viewer.