Changeset 7310


Ignore:
Timestamp:
02/03/11 16:19:12 (14 years ago)
Author:
Eric.Larour
Message:

improved logic for upload of bathymetry

File:
1 edited

Legend:

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

    r7097 r7310  
    3939        IoModelFetchData(&iomodel->vx,NULL,NULL,iomodel_handle,"vx");
    4040        IoModelFetchData(&iomodel->vy,NULL,NULL,iomodel_handle,"vy");
    41         if(iomodel->gl_migration) IoModelFetchData(&iomodel->bathymetry,NULL,NULL,iomodel_handle,"bathymetry");
     41        if(iomodel->gl_migration!=NoneEnum) IoModelFetchData(&iomodel->bathymetry,NULL,NULL,iomodel_handle,"bathymetry");
     42
    4243        if (iomodel->dim==3){
    4344                IoModelFetchData(&iomodel->elementonbed,NULL,NULL,iomodel_handle,"elementonbed");
Note: See TracChangeset for help on using the changeset viewer.