File mttroot/mtt/bin/trans/makerep_txt artifact 62b9ce9298 part of check-in b307857564


#!/bin/sh

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

# Bourne shell script: makerep_tex
# Makes template for (TeX) system description.

# P.J.Gawthrop July 1998
# Copyright (c) P.J.Gawthrop, 1998.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.5  2000/11/04 12:32:43  peterg
## Added more reps + more default reps
##
## Revision 1.4  1999/03/02 22:02:16  peterg
## Octave-mode style
##
## Revision 1.3  1998/11/18 10:47:39  peterg
## Added transfer function rep
##
## Revision 1.2  1998/11/10 09:16:41  peterg
## Added structure rep
##
## Revision 1.1  1998/07/22 09:14:42  peterg
## Initial revision
##
###############################################################


#Inform user
echo Creating $1_rep.txt

cat <<EOF > $1_rep.txt
## -*-octave-*- Put Emacs into octave-mode
## Outline report file for system $1 ($1_rep.txt)
## Generated by MTT on" `date`.

EOF

cat $MTTPATH/trans/rcs_header.sh >> $1_rep.txt

cat <<EOF >> $1_rep.txt
mtt $1 abg tex			# The system description
mtt $1 cbg ps 		        # The causal bond graph
mtt $1 struc tex	        # The system structure
mtt $1 sympar tex	        # The system parameters
## Uncomment the following lines or add others
## mtt $1 dae tex	        # The system dae
## mtt $1 ode tex	        # The system ode 
## mtt $1 sspar tex		# Steady-state parameters
## mtt $1 ss tex 		# Steady state
## mtt $1 dm tex		# Descriptor matrices (of linearised system)
## mtt $1 sm tex		# State matrices (of linearised system)
## mtt $1 tf tex		# Transfer function (of linearised system)
## mtt $1 lmfr ps		# log modulus of frequency response (of linearised system)
## mtt $1 simpar tex		# Simulation parameters
## mtt $1 numpar tex		# Numerical simulation parameters
## mtt $1 state tex		# Simulation initial state
## mtt $1 input tex		# Simulation input
## mtt $1 logic tex		# Logic control
## mtt $1 odeso ps		# Simulation output

## mtt $1 rep txt		# This file
EOF



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