#!/bin/sh
set -e
# multiply the input file by the molecular weight of nitrogen dioxide
#  MW NO2 = 0.046 kg/mole

if [ $# -ne 3 ] ; then
  echo "Error in $0: invalid number of arguments $#"
  exit 1
fi

pfx=$1
inp=$2
out=$3

release inp
access  inp ${pfx}_${inp}
echo "           4.600E-02" | ccc xlin inp ${pfx}_${out}

release inp
