Ignore:
Timestamp:
Apr 12, 2018, 8:35:48 AM (7 years ago)
Author:
emillour
Message:

Mars GCM:
Code cleanup:

  • remove "comorbit.h" since it is no longer used.
  • turn "datafile.h" into module datafile_mod.F90 (and rename variable "datafile" as "datadir" since it stores the path to the datafile directory).

EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/conf_phys.F

    r1818 r1918  
    4141      use time_phylmdz_mod, only: ecritphy,day_step,iphysiq,ecritstart,
    4242     &                            daysec,dtphys
    43       use planete_h
    4443      use dimradmars_mod, only: naerkind, name_iaer,
    4544     &                      ini_scatterers,tauvis
     45      use datafile_mod, only: datadir
    4646
    4747      IMPLICIT NONE
    48 #include "callkeys.h"
    49 #include "datafile.h"
    50 #include "microphys.h"
     48      include "callkeys.h"
     49      include "microphys.h"
    5150
    5251      INTEGER,INTENT(IN) :: ngrid,nlayer,nq
     
    8584
    8685         write(*,*) "Directory where external input files are:"
    87          datafile="/u/lmdz/WWW/planets/mars/datadir"
    88          call getin("datadir",datafile) ! default path
    89          write(*,*) " datafile = ",trim(datafile)
     86         ! default path is set in datafile_mod
     87         call getin("datadir",datadir)
     88         write(*,*) " datadir = ",trim(datadir)
    9089
    9190         write(*,*) "Run with or without tracer transport ?"
Note: See TracChangeset for help on using the changeset viewer.