Changeset 3507


Ignore:
Timestamp:
04/09/10 16:09:45 (15 years ago)
Author:
seroussi
Message:

create constraints before clean up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/ModelProcessorx/DiagnosticHoriz/CreateConstraintsDiagnosticHoriz.cpp

    r3429 r3507  
    2222        int     node1,node2;
    2323
     24        /*Create constraints: */
     25        constraints = new DataSet(ConstraintsEnum());
     26
    2427        /*Now, is the flag macayaealpattyn on? otherwise, do nothing: */
    2528        if (!iomodel->ismacayealpattyn)goto cleanup_and_return;
    2629       
    27         /*Create constraints: */
    28         constraints = new DataSet(ConstraintsEnum());
    29 
    3030        /*Spcs: fetch data: */
    3131        IoModelFetchData(&iomodel->spcvelocity,NULL,NULL,iomodel_handle,"spcvelocity");
Note: See TracChangeset for help on using the changeset viewer.