Changeset 8666


Ignore:
Timestamp:
06/20/11 09:04:31 (14 years ago)
Author:
Mathieu Morlighem
Message:

give sid +1 for patch to make sure we have the right index

Location:
issm/trunk/src/c/objects/Elements
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/objects/Elements/Penta.cpp

    r8657 r8666  
    68026802                /*For this result,fill the information in the Patch object (element id + vertices ids), and then hand
    68036803                 *it to the result object, to fill the rest: */
    6804                 patch->fillelementinfo(count,this->id,vertices_ids,6);
     6804                patch->fillelementinfo(count,this->sid+1,vertices_ids,6);
    68056805                elementresult->PatchFill(count,patch);
    68066806
  • issm/trunk/src/c/objects/Elements/Tria.cpp

    r8657 r8666  
    45474547                /*For this result,fill the information in the Patch object (element id + vertices ids), and then hand
    45484548                 *it to the result object, to fill the rest: */
    4549                 patch->fillelementinfo(row,this->id,vertices_ids,3);
     4549                patch->fillelementinfo(row,this->sid+1,vertices_ids,3);
    45504550                elementresult->PatchFill(row,patch);
    45514551
Note: See TracChangeset for help on using the changeset viewer.