File mttroot/mtt/bin/trans/sympar2numpar_txt2txt artifact 662fbab5f7 part of check-in ad3b9d6d0f


#! /bin/sh

     ###################################### 
     ##### Model Transformation Tools #####
     ######################################

# Bourne shell script: sympar2numpar_txt2txt
# Creates the deafault numerical parameters file for the system (txt)

# Copyright (c) P.J.Gawthrop 1996

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


# Inform user
echo Creating $1_numpar.txt

#Create the numpar file complete with headers.
echo "%% Numerical parameter file ($1_numpar.txt)" > $1_numpar.txt
echo "%% Generated by MTT at `date`" >> $1_numpar.txt
cat $MTTPATH/trans/m/rcs_header.txt  >> $1_numpar.txt

#Write out the variables in c format.
awk '{i++; print tolower($1) " = \t1.0; \% Default value"}' $1_sympar.txt \
>> $1_numpar.txt







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