Ignore:
Timestamp:
03/12/21 17:35:58 (4 years ago)
Author:
Mathieu Morlighem
Message:

CHG: automatically delete collapsed element without looking at domainttype

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/modules/SurfaceRelVelMisfitx/SurfaceRelVelMisfitx.cpp

    r25539 r26090  
    111111
    112112        /*clean up and Return: */
    113         if(domaintype!=Domain2DhorizontalEnum){topelement->DeleteMaterials(); delete topelement;};
     113        if(topelement->IsSpawnedElement()){topelement->DeleteMaterials(); delete topelement;};
    114114        xDelete<IssmDouble>(xyz_list);
    115115        delete gauss;
Note: See TracChangeset for help on using the changeset viewer.