Examples of batch jobs - Trovemaster/exocross GitHub Wiki

An csh script to do cross-sections for a particular band $1 - $2

#!/bin/csh

set fname = ScH_stick_1500_111_$1.$2

cat<<endb> $fname.inp
(ScH cross-sections)
Temperature 1500.0
Range 0.  16000.0
Npoints 16001

filter
 upper 7 $1
 lower 7 $2
end
emission
bin
threshold 1e-29

output ScH_1500K_bin_em_111_$1.$2
States       "../ScH_111.states"
Transitions  "../ScH_111.trans"
verbose 3
endb
./xsec.x < $fname.inp > $fname.out

Example:

./filters.csh A1Sigma X1Sigma

An csh script for cross-sections using temperature as a parameter

#!/bin/csh
#
set fname = NaH_abs_gauss_5_T$1
#
cat<<endb> $fname.inp
(NaH cross-sections)

Temperature $1
Range 20000.0  30000.0

Npoints    201

absorption
gaussian
hwhm 5.0
output NaH_g5_T$1
States       NaH.states
Transitions  NaH.trans
verbose 3

endb
./xsec_1206.x < $fname.inp > $fname.out

Example

./temp.csh 300.0

⚠️ **GitHub.com Fallback** ⚠️