#! /bin/csh -f
#
#  csh -f tftr_test_Preact.csh
#  ...run serial TFTR nubeam_comp_exec test case
#  csh -f tftr_test_Preact.csh -n <numprocs>
# <numprocs> is the number of processors requested
#  ...run interactive parallel TFTR nubeam_comp_exec test case
#
#  append argument "init_only" to stop before STEP execution
#  append argument "cleanup" for file cleanup after successful completion
#-------------------------------
#  first check that required programs exist in $PATH...

  echo " "
  echo " ---> tftr_test_Preact.csh: invoke nbx_share.csh using TFTR test data... "

  /bin/csh -f nbx_share.csh  \
    -input_state tftr_input_state.cdf \
    -output_state tftr_output_state_Preact.cdf \
    -plot_script tftr_plots_Preact.ind \
    -wkpath wkdir_tftr_test_Preact \
    -repeat 4x0.010 -init nubeam_init_Preact.dat \
    -step nubeam_step_Preact.dat \
    $argv

  exit 0
