Changeset 4365


Ignore:
Timestamp:
06/30/10 15:36:41 (15 years ago)
Author:
Mathieu Morlighem
Message:

forgot to call UpdateElementsControl

Location:
issm/trunk/src/c/modules/ModelProcessorx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk/src/c/modules/ModelProcessorx/Control/UpdateElementsControl.cpp

    r4363 r4365  
    2525
    2626        /*Fetch data needed: */
     27        IoModelFetchData(&iomodel->elements,NULL,NULL,iomodel_handle,"elements");
    2728        IoModelFetchData(&iomodel->vx_obs,NULL,NULL,iomodel_handle,"vx_obs");
    2829        IoModelFetchData(&iomodel->vy_obs,NULL,NULL,iomodel_handle,"vy_obs");
     
    4243
    4344        /*Free data: */
     45        xfree((void**)&iomodel->elements);
    4446        xfree((void**)&iomodel->vx_obs);
    4547        xfree((void**)&iomodel->vy_obs);
  • TabularUnified issm/trunk/src/c/modules/ModelProcessorx/CreateDataSets.cpp

    r4297 r4365  
    121121                        ISSMERROR("%s%s%s"," analysis_type: ",EnumAsString(analysis_type)," not supported yet!");
    122122        }
     123
     124        /*Update Elements in case of control methods*/
     125        UpdateElementsControl(elements,iomodel,iomodel_handle,analysis_counter,analysis_type);
    123126       
    124127        /*Generate objects that are not dependent on any analysis_type: */
Note: See TracChangeset for help on using the changeset viewer.