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
|
# Copyright (c) P.J.Gawthrop, 1997.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.1 1998/03/04 15:31:14 peterg
## Initial revision
##
# Revision 1.3 1997/04/09 12:59:43 peterg
# Looks for .cr file in current directory - copies from library if they
# don't already exist.
#
# Revision 1.2 1997/04/09 09:25:55 peterg
# Now copies .cr files from linrary to here (if they don't exist
# already).
#
# Revision 1.1 1997/04/09 09:08:12 peterg
# Initial revision
#
###############################################################
if [ -f "$1_cr.r" ]; then
echo "$1_cr.r exists -- no action taken"
else
# Inform user
echo "Creating $1_cr.r"
echo "% Constitutive relation file for $1 ($1_cr.r)" > $1_cr.r
echo "% Generated by MTT at `date`" >> $1_cr.r
|
>
>
>
>
>
>
>
|
|
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
|
# Copyright (c) P.J.Gawthrop, 1997.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.2 1998/03/04 15:32:53 peterg
## Major revision.
## Now just includes cr files using in"";
## Two sorts of CR:
## generic (.cr)
## tied to a system (_cr.r)
##
## Revision 1.1 1998/03/04 15:31:14 peterg
## Initial revision
##
# Revision 1.3 1997/04/09 12:59:43 peterg
# Looks for .cr file in current directory - copies from library if they
# don't already exist.
#
# Revision 1.2 1997/04/09 09:25:55 peterg
# Now copies .cr files from linrary to here (if they don't exist
# already).
#
# Revision 1.1 1997/04/09 09:08:12 peterg
# Initial revision
#
###############################################################
if [ -f "$1_cr.r" ]; then
# echo "$1_cr.r exists -- no action taken"
else
# Inform user
echo "Creating $1_cr.r"
echo "% Constitutive relation file for $1 ($1_cr.r)" > $1_cr.r
echo "% Generated by MTT at `date`" >> $1_cr.r
|