Ignore:
Timestamp:
Nov 14, 2024, 12:57:31 PM (7 days ago)
Author:
jbclement
Message:

PEM:
Small corrections related to r3498 (time step from integer to real) for the launching script + making a proper initilization of 'year_bp_ini' in case of there is no orbital evolution.
JBC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/evolution/deftank/lib_launchPEM.sh

    r3514 r3516  
    5252
    5353    if [ -v n_mars_years ] && [ ! -z "$n_mars_years" ]; then
    54         if [ $n_mars_years -lt 0. ]; then
     54        if [ $(echo "$n_mars_years < 0." | bc -l) ]; then
    5555            echo "Error: the value of 'n_mars_years' must be >0!"
    5656            errlaunch
    5757        fi
    5858    elif [ -v n_earth_years ] && [ ! -z "$n_earth_years" ]; then
    59         if [ $n_earth_years -lt 0. ]; then
     59        if [ $(echo "$n_earth_years < 0." | bc -l) ]; then
    6060            echo "Error: the value of 'n_earth_years' must be >0!"
    6161            errlaunch
Note: See TracChangeset for help on using the changeset viewer.