Changeset 552 for trunk/LMDZ.MARS/libf/phymars/tabfi.F
- Timestamp:
- Mar 2, 2012, 9:53:27 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/tabfi.F
r224 r552 81 81 c ----------------------- 82 82 INTEGER setname, cluvdb, getdat 83 84 INTEGER lnblnk85 83 86 84 c----------------------------------------------------------------------- … … 296 294 297 295 298 do while(modif(1:1).ne.'hello')296 do ! neverending loop 299 297 write(*,*) 300 298 write(*,*) … … 306 304 307 305 write(*,*) 308 write(*,*) modif(1:lnblnk(modif)) , ' : '309 310 if ( modif(1:lnblnk(modif)) .eq. 'day_ini') then306 write(*,*) trim(modif) , ' : ' 307 308 if (trim(modif) .eq. 'day_ini') then 311 309 write(*,*) 'current value:',day_ini 312 310 write(*,*) 'enter new value:' … … 316 314 write(*,*) 'day_ini (new value):',day_ini 317 315 318 else if ( modif(1:lnblnk(modif)) .eq. 'z0') then316 else if (trim(modif) .eq. 'z0') then 319 317 write(*,*) 'current value (m):',z0_default 320 318 write(*,*) 'enter new value (m):' … … 324 322 write(*,*) ' z0 (new value):',z0_default 325 323 326 else if ( modif(1:lnblnk(modif)) .eq. 'emin_turb') then324 else if (trim(modif) .eq. 'emin_turb') then 327 325 write(*,*) 'current value:',emin_turb 328 326 write(*,*) 'enter new value:' … … 332 330 write(*,*) ' emin_turb (new value):',emin_turb 333 331 334 else if ( modif(1:lnblnk(modif)) .eq. 'lmixmin') then332 else if (trim(modif) .eq. 'lmixmin') then 335 333 write(*,*) 'current value:',lmixmin 336 334 write(*,*) 'enter new value:' … … 340 338 write(*,*) ' lmixmin (new value):',lmixmin 341 339 342 else if ( modif(1:lnblnk(modif)) .eq. 'emissiv') then340 else if (trim(modif) .eq. 'emissiv') then 343 341 write(*,*) 'current value:',emissiv 344 342 write(*,*) 'enter new value:' … … 348 346 write(*,*) ' emissiv (new value):',emissiv 349 347 350 else if ( modif(1:lnblnk(modif)) .eq. 'emisice') then348 else if (trim(modif) .eq. 'emisice') then 351 349 write(*,*) 'current value emisice(1) North:',emisice(1) 352 350 write(*,*) 'enter new value:' … … 364 362 write(*,*) ' emisice(2) (new value):',emisice(2) 365 363 366 else if ( modif(1:lnblnk(modif)) .eq. 'albedice') then364 else if (trim(modif) .eq. 'albedice') then 367 365 write(*,*) 'current value albedice(1) North:',albedice(1) 368 366 write(*,*) 'enter new value:' … … 380 378 write(*,*) ' albedice(2) (new value):',albedice(2) 381 379 382 else if ( modif(1:lnblnk(modif)) .eq. 'iceradius') then380 else if (trim(modif) .eq. 'iceradius') then 383 381 write(*,*) 'current value iceradius(1) North:',iceradius(1) 384 382 write(*,*) 'enter new value:' … … 396 394 write(*,*) ' iceradius(2) (new value):',iceradius(2) 397 395 398 else if ( modif(1:lnblnk(modif)) .eq. 'dtemisice') then396 else if (trim(modif) .eq. 'dtemisice') then 399 397 write(*,*) 'current value dtemisice(1) North:',dtemisice(1) 400 398 write(*,*) 'enter new value:' … … 412 410 write(*,*) ' dtemisice(2) (new value):',dtemisice(2) 413 411 414 else if ( modif(1:lnblnk(modif)) .eq. 'tauvis') then412 else if (trim(modif) .eq. 'tauvis') then 415 413 write(*,*) 'current value:',tauvis 416 414 write(*,*) 'enter new value:' … … 420 418 write(*,*) ' tauvis (new value):',tauvis 421 419 422 else if ( modif(1:lnblnk(modif)) .eq. 'obliquit') then420 else if (trim(modif) .eq. 'obliquit') then 423 421 write(*,*) 'current value:',obliquit 424 422 write(*,*) 'obliquit should be 25.19 on current Mars' … … 429 427 write(*,*) ' obliquit (new value):',obliquit 430 428 431 else if ( modif(1:lnblnk(modif)) .eq. 'peri_day') then429 else if (trim(modif) .eq. 'peri_day') then 432 430 write(*,*) 'current value:',peri_day 433 431 write(*,*) 'peri_day should be 485 on current Mars' … … 438 436 write(*,*) ' peri_day (new value):',peri_day 439 437 440 else if ( modif(1:lnblnk(modif)) .eq. 'periheli') then438 else if (trim(modif) .eq. 'periheli') then 441 439 write(*,*) 'current value:',periheli 442 440 write(*,*) 'perihelion should be 206.66 on current Mars' … … 447 445 write(*,*) ' periheli (new value):',periheli 448 446 449 else if ( modif(1:lnblnk(modif)) .eq. 'aphelie') then447 else if (trim(modif) .eq. 'aphelie') then 450 448 write(*,*) 'current value:',aphelie 451 449 write(*,*) 'aphelion should be 249.22 on current Mars' … … 456 454 write(*,*) ' aphelie (new value):',aphelie 457 455 458 else if ( modif(1:lnblnk(modif)) .eq. 'volcapa') then456 else if (trim(modif) .eq. 'volcapa') then 459 457 write(*,*) 'current value:',volcapa 460 458 write(*,*) 'enter new value:' … … 465 463 466 464 endif 467 enddo ! of do while(modif(1:1).ne.'hello')465 enddo ! of do ! neverending loop 468 466 469 467 999 continue
Note: See TracChangeset
for help on using the changeset viewer.