Subversion Repositories lagranto.icon

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
3 michaesp 1
#!/bin/csh
2
 
3
# Set Lagranto 
4
set LAGRANTO = ${LAGRANTOBASE}.${MODEL}/
5
 
6
# Write usage information
7
if ( ${#argv} == 0) then
8
  echo 
9
  ${LAGRANTO}/bin/lagrantohelp tracal short
10
  echo  
11
  exit 0
12
endif
13
 
14
set inpfile = $1
15
set outfile = $2
16
set expr    = $3
17
 
18
set dim=`${LAGRANTO}/goodies/trainfo.sh  ${inpfile} dim` 
19
 
20
\rm -f tracal.param
21
echo \"${inpfile}\"  >! tracal.param
22
echo \"${outfile}\"  >> tracal.param
23
echo \"${expr}\"     >> tracal.param
24
echo ${dim}          >> tracal.param
25
 
26
${LAGRANTO}/goodies/tracal
27
 
28
\rm -f tracal.param
29
 
30
exit 0
31