#! /bin/bash


bandvis=32
bandir=36

## 3x2
bandvis=3
bandir=2

## 38x36
bandvis=38
bandir=36


scatterers=1
#nqmx=2

\rm -f bands.h
\rm -f scatterers.h

cd bands
# Build the appropriate 'bands.h' file
makbands $bandvis $bandir
# echo contents of bands.h to standard output
cd ..
cat bands.h

# Build the appropriate 'scatterers.h' file
cd scatterers
./make_scatterers $scatterers
# echo contents of scatterers.h to standard output
cd ..
cat scatterers.h

#cp dimphys.h.ref dimphys.h
#echo "         integer, parameter :: nqmx=$nqmx" >> dimphys.h
#cat dimphys.h
