Overview
Comment:*** empty log message ***
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 80b54aebd2bc22553a351751b19cbf4015bf3b4d33de9c74403cbcdc9d1ea8e9
User & Date: gawthrop@users.sourceforge.net on 2000-03-03 11:33:19
Other Links: branch diff | manifest | tags
Context
2000-03-07
10:54:14
Added $1_lbl.txt to sympar.txt check-in: e6fabb6402 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2000-03-03
11:33:19
*** empty log message *** check-in: 80b54aebd2 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2000-02-25
09:10:12
Changed -e to -f in if [ -f "$crf" ]; then
-- cuased probs on SUN
check-in: 98b60b510f user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/struc2input_txt2txt from [9bc5f2af80] to [70929e9789].

10
11
12
13
14
15
16



17
18
19
20
21
22
23
# Copyright (c) P.J.Gawthrop 1997

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$



## Revision 1.11  1998/08/10 14:23:58  peterg
## Added -ss option
##
## Revision 1.10  1998/07/27 11:10:38  peterg
## Put in octave-mode line for Emacs
##
## Revision 1.9  1998/07/25 20:10:37  peterg







>
>
>







10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright (c) P.J.Gawthrop 1997

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.12  1998/08/10 14:29:05  peterg
## Removed -s (switches) stuff
##
## Revision 1.11  1998/08/10 14:23:58  peterg
## Added -ss option
##
## Revision 1.10  1998/07/27 11:10:38  peterg
## Put in octave-mode line for Emacs
##
## Revision 1.9  1998/07/25 20:10:37  peterg
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
  esac
  shift
done


#Create the input file complete with headers.
echo '# -*-octave-*- Put Emacs into octave-mode' > $1_input.txt
echo "# Numerical parameter file ($1_input.txt)" >> $1_input.txt
echo "# Generated by MTT at `date`" >> $1_input.txt
cat $MTTPATH/trans/rcs_header.sh  >> $1_input.txt
echo "# Set the inputs"  >> $1_input.txt

if [ -n "$steadystate_computation" ]; then 
# Compute inputs from ss.r file
# Inform user







|







64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
  esac
  shift
done


#Create the input file complete with headers.
echo '# -*-octave-*- Put Emacs into octave-mode' > $1_input.txt
echo "# Input specification ($1_input.txt)" >> $1_input.txt
echo "# Generated by MTT at `date`" >> $1_input.txt
cat $MTTPATH/trans/rcs_header.sh  >> $1_input.txt
echo "# Set the inputs"  >> $1_input.txt

if [ -n "$steadystate_computation" ]; then 
# Compute inputs from ss.r file
# Inform user
103
104
105
106
107
108
109
110
111
112
113
}' Nu=$Nu  <$1_struc.txt >> $1_input.txt
fi

#Set some switches
  echo  >> $1_input.txt
  echo "# Set the switches"  >> $1_input.txt
  strip_comments<$1_switch.txt |\
  awk '{if (length($1)>0) print  tolower($1) "= (t>=0);"}'










|



106
107
108
109
110
111
112
113
114
115
116
}' Nu=$Nu  <$1_struc.txt >> $1_input.txt
fi

#Set some switches
  echo  >> $1_input.txt
  echo "# Set the switches"  >> $1_input.txt
  strip_comments<$1_switch.txt |\
  awk '{if (length($1)>0) print  tolower($1) "= (t>=0);"}'  >> $1_input.txt




MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]