Changeset 9085


Ignore:
Timestamp:
07/20/11 09:29:36 (14 years ago)
Author:
Mathieu Morlighem
Message:

bad commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/utils/Interp/PatchToVec.m

    r9075 r9085  
    88switch(Patch.interpolation(1)),
    99        case P0Enum,
    10                 %vec(Patch.element)=Patch.value;
    11                 connectivity=sparse(Patch.index(:),1,1);
    12                 value       =sparse(Patch.index(:),1,Patch.value(:));
    13                 vec=full(value./connectivity);
     10                vec(Patch.element)=Patch.value;
     11                %connectivity=sparse(Patch.index(:),1,1);
     12                %value       =sparse(Patch.index(:),1,Patch.value(:));
     13                %vec=full(value./connectivity);
    1414        case P1Enum,
    1515                connectivity=sparse(Patch.index(:),1,1);
Note: See TracChangeset for help on using the changeset viewer.