Changeset 23996


Ignore:
Timestamp:
06/06/19 19:56:02 (6 years ago)
Author:
Mathieu Morlighem
Message:

CHG: some improvements

File:
1 edited

Legend:

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

    r23995 r23996  
    1010
    1111        /*Intermediaries*/
     12        IssmDouble* local_mask = NULL;
    1213        const int MAXVERTICES = 6;
    1314        bool      found1;
     
    5152
    5253                /*Need to place an outer loop here*/
    53                 IssmDouble* local_mask = NULL;
     54                if(local_mask) xDelete<IssmDouble>(local_mask);
    5455                femmodel->GetLocalVectorWithClonesVertices(&local_mask,vec_connected_to_land);
    5556
     
    114115        delete vec_connected_to_land;
    115116
     117        /*OK, now deactivate iceberg and count the number of deactivated vertices*/
     118
    116119        /*First, create a vector full of 0 and place 1 where the ice is grounded*/
    117120        _error_("Not implemented yet");
Note: See TracChangeset for help on using the changeset viewer.