Changeset 26089


Ignore:
Timestamp:
03/12/21 16:46:44 (4 years ago)
Author:
Mathieu Morlighem
Message:

BUG: fixing segfault in 3d surface

Location:
issm/trunk-jpl/src/c
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/analyses/MasstransportAnalysis.cpp

    r26079 r26089  
    927927        xDelete<IssmDouble>(bed);
    928928        xDelete<int>(doflist);
    929         if(domaintype!=Domain2DhorizontalEnum){basalelement->DeleteMaterials(); delete basalelement;};
     929        if(domaintype!=Domain2DhorizontalEnum && domaintype!=Domain3DsurfaceEnum){basalelement->DeleteMaterials(); delete basalelement;};
    930930}/*}}}*/
    931931void           MasstransportAnalysis::UpdateConstraints(FemModel* femmodel){/*{{{*/
  • issm/trunk-jpl/src/c/cores/extrudefromtop_core.cpp

    r21799 r26089  
    2323        /*If this is a 2D horizontal domain, return (no need to extrude)*/
    2424        if(domaintype==Domain2DhorizontalEnum) return;
     25        if(domaintype==Domain3DsurfaceEnum) return;
    2526
    2627        /*Special method for Penta, otherwise call solution sequence*/
Note: See TracChangeset for help on using the changeset viewer.