File mttroot/mtt/bin/trans/numpar_txt2m artifact 9c6a339513 part of check-in de134007b5


#! /bin/sh

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

# Bourne shell script: numpar_txt2m
# 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.m

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

# Global variable list
echo  >>  $1_numpar.m
echo "% Global variable list" >>  $1_numpar.m
sympar2global_txt2m $1 >> $1_numpar.m

# Set the variables
cat $1_numpar.txt >> $1_numpar.m





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