Ignore:
Timestamp:
Dec 4, 2024, 4:04:54 PM (3 weeks ago)
Author:
jbclement
Message:

PEM:
Removing unecessary module/subroutine "interpol_TI_PEM2PCM.F90" + Few small corrections/cleanings.
JBC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/evolution/info_PEM_mod.F90

    r3512 r3532  
    3131logical       :: ok
    3232integer       :: cstat
    33 character(10) :: frmt
     33character(50) :: info_frmt
    3434character(20) :: ich1, ich2, ich3, ich4, fch1, fch2, fch3
    3535
     
    5353    ! Martian date, Number of Martians years done by the PEM run, Number of Martians years done by the chainded simulation, Code of the stopping criterion
    5454    ! The conversion ratio from Planetary years to Earth years is given in the header of the file
    55     write(1,*) year_bp_ini + i_myear, i_myear_leg, i_myear, stopPEM
     55    info_frmt = '(f'//int2str(nb_digits(year_bp_ini + i_myear) + 5)//'.4,'//'f'//int2str(nb_digits(i_myear_leg) + 5)//'.4,'//'f'//int2str(nb_digits(i_myear) + 5)//'.4,'//'i0)'
     56    write(1,trim(adjustl(info_frmt))) year_bp_ini + i_myear, i_myear_leg, i_myear, stopPEM
    5657    close(1)
    5758else
Note: See TracChangeset for help on using the changeset viewer.