forked from SHYFEM-model/shyfem
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
161 changed files
with
6,716 additions
and
1,855 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -122,6 +122,7 @@ param: | |
|
||
directories: | ||
-mkdir -p tmp | ||
-mkdir -p femlib/mod | ||
|
||
links: | ||
-rm -f bin lib | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#!/bin/sh | ||
# | ||
#--------------------------------------------------- | ||
|
||
dirs="fem3d femplot" | ||
|
||
if [ $# -eq 0 ]; then | ||
echo "Usage: cp_fem.sh number" | ||
exit 1 | ||
fi | ||
|
||
number=$1 | ||
|
||
for dir in $dirs | ||
do | ||
d=${dir}_$number | ||
if [ -d $d ]; then | ||
echo "directory exists... cannot copy: $d" | ||
exit 1 | ||
fi | ||
done | ||
|
||
for dir in $dirs | ||
do | ||
d=${dir}_$number | ||
echo "copying from $dir to $d" | ||
mkdir $d | ||
cp $dir/* $d | ||
done | ||
|
||
dir=fem3d/bin | ||
d=fem3d_$number/bin | ||
echo "copying from $dir to $d" | ||
mkdir $d | ||
cp $dir/* $d | ||
|
Oops, something went wrong.