Changeset 6436 for branches/UKMO/nemo_v3_6_STABLE_copy/NEMOGCM/EXTERNAL
- Timestamp:
- 2016-04-07T15:33:32+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/nemo_v3_6_STABLE_copy/NEMOGCM/EXTERNAL/AGRIF/LIB/UtilAgrif.c
r6237 r6436 274 274 } 275 275 if ( parcours && parcours->o_val != 0 ) 276 fprintf(fileout,"\n use Agrif_Util\n"); 277 else 278 fprintf(fileout,"\n use Agrif_Types, only : Agrif_tabvars\n"); 276 { 277 if( strcasecmp(subroutinename,"Agrif_InvLoc") ) 278 fprintf(fileout,"\n USE Agrif_Util \n"); 279 else fprintf(fileout,"\n USE Agrif_Types \n"); 280 281 } 279 282 } 280 283 } … … 286 289 int out; 287 290 288 if ( firstpass == 0 ) 289 { 290 parcours = List_NameOfModuleUsed; 291 out = 0 ; 292 while ( parcours && out == 0 ) 293 { 294 if ( !strcasecmp(parcours->u_usemodule, "Agrif_Util") && 295 !strcasecmp(parcours->u_modulename, curmodulename) && 296 !strcasecmp(parcours->u_cursubroutine, subroutinename) ) 297 out = 1; 298 else 299 parcours = parcours->suiv; 300 } 301 if ( out == 0 ) 302 { 303 fprintf(fileout,"\n use Agrif_Util\n"); 304 } 305 } 291 if ( firstpass == 0 ) 292 { 293 parcours = List_NameOfModuleUsed; 294 out = 0 ; 295 while ( parcours && out == 0 ) 296 { 297 if ( !strcasecmp(parcours->u_usemodule,"Agrif_Util") && 298 !strcasecmp(parcours->u_modulename,curmodulename) && 299 !strcasecmp(parcours->u_cursubroutine,subroutinename) 300 ) out = 1; 301 else parcours = parcours->suiv; 302 } 303 if ( out == 0 ) 304 { 305 if( strcasecmp(subroutinename,"Agrif_InitWorkspace") ) 306 fprintf(fileout,"\n USE Agrif_Util \n"); 307 else fprintf(fileout,"\n USE Agrif_Types \n"); 308 } 309 } 306 310 } 307 311
Note: See TracChangeset
for help on using the changeset viewer.