Changeset 9671


Ignore:
Timestamp:
09/07/11 15:55:32 (14 years ago)
Author:
seroussi
Message:

minor

File:
1 edited

Legend:

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

    r9668 r9671  
    3939        md.numberofnodes=md.numberofnodes2d;
    4040        md.numberofelements=md.numberofelements2d;
    41         md.vertex_weight=[];
     41        md.qmu.vertex_weight=[];
    4242        md.nodeconnectivity=[];
    4343end
     
    6363        %are we using weights?
    6464        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));
    6666                method(3)=1;
    6767        else
     
    7676        %are we using weights?
    7777        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));
    7979        end
    8080        maptab=Scotch(md.qmu.adjacency,[],weights,[],'cmplt',[npart]);
Note: See TracChangeset for help on using the changeset viewer.