#! /bin/sh
##
## Regression test for the decimal-comma locale bug on Windows (CI only).
## nu3 band of SO2F2 (C2vTDS), low J to run in a few seconds.
## With a regional format using a decimal comma, libgfortran used to read
## every real as 0.0: tra then kept no transition and spect found none.
## __BASD__ is replaced by the CI job (test:windows).
##
BASD=__BASD__
#
 SCRD=$BASD/prog/exe
 PARD=$BASD/para/SO2F2
##
 JPlow=20
 JPupp=19
 JPupp_low=19
##
 PARA=$PARD/Pa_0001m0000
##
## Lower Polyad.
##
 $SCRD/passx hmodel P0 N1  D4  0 0 0 0
 $SCRD/passx rovbas P0 N1  D4 $JPlow
 $SCRD/passx hmatri P0 N1  D4 $JPlow
 $SCRD/passx hdi    P0 N1  D4 $JPlow $PARA
##
## Upper Polyad.
##
 $SCRD/passx hmodel P1 N1  D4  0 0 0 0 \
                       N1  D6  0 0 1 0
 $SCRD/passx parchk P1     D46 $PARD $PARA
 $SCRD/passx rovbas P1 N1  D46 $JPupp
 $SCRD/passx hmatri P1 N1  D46 $JPupp
 $SCRD/passx hdi    P1 N1  D46 $JPupp $PARA
 $SCRD/passx jener  P1
##
## Dipole moment matrix elements.
##
 $SCRD/passx dipmod P1 N1   0 0 0 0 \
                       N1   0 0 1 0 \
                    P0 N1   0 0 0 0 \
                    D0
 $SCRD/passx parchk P1     D46 P0     D0 dip $PARD $PARA
 $SCRD/passx dipmat P1 N1      P0 N1  D0 $JPupp_low
##
## Transition moment, transitions and spectrum.
##
 $SCRD/passx trm    P1 N1      P0 N1  D0 $JPupp_low $PARA dip
 $SCRD/passx tra    P1         P0     D0 $JPupp_low
 $SCRD/passx spect 500.0 600.0 296.0 296.0 0.0
