Overview
Comment:Initial revision
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: e1c9450fe16d55a4db6c7ac99de269539a4f50994c2fc6adfcac6267ddfdadf5
User & Date: gawthrop@users.sourceforge.net on 1996-11-01 12:35:36
Other Links: branch diff | manifest | tags
Context
1996-11-01
12:48:21
Run mtt in quiet mode. check-in: a79937f0e2 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
12:35:36
Initial revision check-in: e1c9450fe1 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
12:34:45
Added browser - mtt_help check-in: dc8e8a04af user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Added mttroot/mtt/bin/mtt_help version [e7b410d67b].






















































1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#! /bin/sh

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

# Bourne shell script: mtt_help

# P.J.Gawthrop Nov 1996
# Copyright (c) P.J.Gawthrop 1996

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

topic=$1
subtopic=$2
if [ "$subtopic" = "" ]; then
  subtopic='.'
fi;

if [ "$topic" = "comps" ]; then
  echo 'Components:'
  grep -h '\%SUMMARY' $MTTPATH/comp/compound/*_lbl.txt  $MTTPATH/comp/simple/*_cause.m|\
  sed 's/\%SUMMARY[ ]*/	/' |\
  grep $subtopic |\
  sed 's/:[ ]*/	/' |\
  sort

elif [ "$topic" = "reps" ]; then
  echo 'Representations:'
  grep  '#REPRESENTATION' $MTTPATH/mtt |\
  sed 's/#REPRESENTATION[	]*/	/' |\
  grep $subtopic |\
  sort

else
  grep -h '\%SUMMARY' \
       $MTTPATH/comp/compound/$1_lbl.txt \
       $MTTPATH/comp/simple/$1_cause.m 2>/dev/null |\
  sed 's/\%SUMMARY[ ]*//' |\
  sed 's/:[ ]*/	/'

  grep -h '\%DESCRIPTION' \
       $MTTPATH/comp/compound/$1_lbl.txt \
       $MTTPATH/comp/simple/$1_cause.m 2>/dev/null |\
  sed 's/\%DESCRIPTION[	]*/	  /' |\
  sed 's/:[ ]*/	/'
fi;

Added mttroot/mtt/lib/comp/simple/C_cause.m version [a12fffd3b5].


































1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
function [bonds,status] = C_cause(bonds);
% C_cause - Unicausal multiport C component
% 
%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
%     %%%%% Model Transformation Tools %%%%%
%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 
% Matlab function  C_cause
% [bonds,status] = C_cause(bonds)

%SUMMARY C: elementary C component
%DESCRIPTION Single port dynamic component
%DESCRIPTION Preferred integral causality (flow input)
%DESCRIPTION Cannot be bicausal



% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% Version control history
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% $Id$
% %% $Log$
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


% Copyright (c) P.J. Gawthrop, 1996.

% Unicausal multiport C component
% Same causal pattern as R component

[bonds,status] = R_cause(bonds);



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