Ignore:
Timestamp:
07/12/11 16:28:11 (14 years ago)
Author:
Eric.Larour
Message:

marshall.m is now automatically feedding off of model template for each field.
this necessitated a rewrite of the ModelProcessorx, so that instead of processing
strings, it processes now enums.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/modules/ModelProcessorx/BedSlope/UpdateElementsBedSlope.cpp

    r8330 r8926  
    2121
    2222        /*Fetch data needed: */
    23         IoModelFetchData(&iomodel->elements,NULL,NULL,iomodel_handle,"elements");
    24         IoModelFetchData(&iomodel->surface,NULL,NULL,iomodel_handle,"surface");
    25         IoModelFetchData(&iomodel->bed,NULL,NULL,iomodel_handle,"bed");
    26         IoModelFetchData(&iomodel->elementonwater,NULL,NULL,iomodel_handle,"elementonwater");
     23        IoModelFetchData(&iomodel->elements,NULL,NULL,iomodel_handle,ElementsEnum);
     24        IoModelFetchData(&iomodel->surface,NULL,NULL,iomodel_handle,SurfaceEnum);
     25        IoModelFetchData(&iomodel->bed,NULL,NULL,iomodel_handle,BedEnum);
     26        IoModelFetchData(&iomodel->elementonwater,NULL,NULL,iomodel_handle,ElementOnWaterEnum);
    2727
    2828        if (iomodel->dim==3){
    29                 IoModelFetchData(&iomodel->elementonbed,NULL,NULL,iomodel_handle,"elementonbed");
    30                 IoModelFetchData(&iomodel->elementonsurface,NULL,NULL,iomodel_handle,"elementonsurface");
     29                IoModelFetchData(&iomodel->elementonbed,NULL,NULL,iomodel_handle,ElementOnBedEnum);
     30                IoModelFetchData(&iomodel->elementonsurface,NULL,NULL,iomodel_handle,ElementOnSurfaceEnum);
    3131        }
    3232
Note: See TracChangeset for help on using the changeset viewer.