Ignore:
Timestamp:
05/21/10 10:32:40 (15 years ago)
Author:
Mathieu Morlighem
Message:

fix parallelization of Pengrid's hook to element

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/objects/Loads/Pengrid.cpp

    r3871 r3872  
    8080        int pengrid_element_id;
    8181
     82        /*Some checks if debugging activated*/
     83        ISSMASSERT(iomodel->singlenodetoelementconnectivity);
     84        ISSMASSERT(index>=0 && index<iomodel->numberofvertices);
     85
    8286        /*id: */
    8387        this->id=id;
     
    8589        /*hooks: */
    8690        pengrid_node_id=index+1;
    87         ISSMASSERT(iomodel->singlenodetoelementconnectivity);
    88         ISSMASSERT(index>=0 && index<iomodel->numberofvertices);
    8991        pengrid_element_id=iomodel->singlenodetoelementconnectivity[index];
    9092        pengrid_matpar_id=iomodel->numberofelements+1; //refers to the constant material parameters object
Note: See TracChangeset for help on using the changeset viewer.