Changeset 3836 for trunk/LMDZ.MARS/libf/phymars
- Timestamp:
- Jul 7, 2025, 2:46:43 PM (4 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/dyn1d/testphys1d.F90
r3831 r3836 18 18 use init_testphys1d_mod, only: init_testphys1d 19 19 use writerestart1D_mod, only: writerestart1D 20 ! Mostly for XIOS outputs: 20 use parse_args_mod, only: parse_args 21 use callkeys_mod, only: water 22 ! Mostly for XIOS outputs 21 23 use mod_const_mpi, only: init_const_mpi 22 24 use parallel_lmdz, only: init_parallel 23 use version_info_mod, only: print_version_info24 use callkeys_mod, only: water25 25 26 26 implicit none … … 68 68 real, dimension(:,:,:), allocatable :: q ! tracer mixing ratio (e.g. kg/kg) 69 69 real, dimension(1) :: wstar = 0. ! Thermals vertical velocity 70 character(100) :: arg ! To read command-line arguments71 70 72 71 ! Physical and dynamical tendencies (e.g. m.s-2, K/s, Pa/s) … … 94 93 ! INITIALISATION 95 94 !======================================================================= 96 if (command_argument_count() > 0) then ! Get the number of command-line arguments 97 call get_command_argument(1,arg) ! Read the argument given to the program 98 select case (trim(adjustl(arg))) 99 case('version') 100 call print_version_info() 101 stop 102 case default 103 error stop 'The argument given to the program is unknown!' 104 end select 105 endif 95 ! Parse command-line options 96 call parse_args() 106 97 107 98 #ifdef CPP_XIOS
Note: See TracChangeset
for help on using the changeset viewer.