Changeset 3813


Ignore:
Timestamp:
05/18/10 13:23:04 (15 years ago)
Author:
seroussi
Message:

fixed problem with singlenodetoelementconnectivity

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

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk/src/c/objects/IoModel.cpp

    r3811 r3813  
    112112        xfree((void**)&this->my_bordervertices);
    113113        xfree((void**)&this->penaltypartitioning);
     114        xfree((void**)&this->singlenodetoelementconnectivity);
    114115        #endif
    115116}
     
    363364        this->numpenalties=0;
    364365        this->penalties=NULL;
    365         this->penaltypartitioning=NULL;
    366366
    367367        /*!basal: */
     
    383383        this->my_bordervertices=NULL;
    384384        this->penaltypartitioning=NULL;
     385        this->singlenodetoelementconnectivity=NULL;
    385386}
    386387/*}}}*/
  • TabularUnified issm/trunk/src/c/objects/Loads/Pengrid.cpp

    r3784 r3813  
    8585        /*hooks: */
    8686        pengrid_node_id=index+1;
     87        ISSMASSERT(iomodel->singlenodetoelementconnectivity);
     88        ISSMASSERT(index>=0 && index<iomodel->numberofvertices);
    8789        pengrid_element_id=iomodel->singlenodetoelementconnectivity[index];
    8890        pengrid_matpar_id=iomodel->numberofelements+1; //refers to the constant material parameters object
Note: See TracChangeset for help on using the changeset viewer.