Changeset 3508 for issm/trunk


Ignore:
Timestamp:
04/09/10 16:32:24 (15 years ago)
Author:
seroussi
Message:

Partitioning missing in Hutter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/ModelProcessorx/DiagnosticHutter/CreateElementsNodesAndMaterialsDiagnosticHutter.cpp

    r3476 r3508  
    3232        if (!iomodel->ishutter)goto cleanup_and_return;
    3333
     34        /*Partition elements and vertices and nodes: */
     35        Partitioning(&iomodel->my_elements, &iomodel->my_vertices, &iomodel->my_nodes, &iomodel->my_bordervertices, iomodel, iomodel_handle);
     36
    3437        /*Hutter elements can be partitioned using epart, even if
    3538         * each hutter elements either lies on a node (in 2d), or a pair of vertically juxtaposed nodes (in 3d): */
     
    5255                for (i=0;i<iomodel->numberofvertices;i++){
    5356
    54                         if(iomodel->my_nodes[i]){
     57                        if(iomodel->my_vertices[i]){
    5558
    5659                                /*Create and add penta element to elements dataset: */
     
    6871                for (i=0;i<iomodel->numberofvertices;i++){
    6972
    70                         if(iomodel->my_nodes[i]){
     73                        if(iomodel->my_vertices[i]){
    7174                                if(iomodel->gridonhutter[i]){
    7275                                        if(!iomodel->gridonsurface[i]){
     
    159162        *pvertices=vertices;
    160163        *pmaterials=materials;
    161 
    162164}
Note: See TracChangeset for help on using the changeset viewer.