GIT: Initial state after latest Foundation merge

This commit is contained in:
Andrew Heather
2016-09-20 14:49:08 +01:00
4571 changed files with 115696 additions and 74609 deletions

View File

@ -26,22 +26,9 @@
#
# Description
# Miscellaneous cleanup functions for tutorial cases
#
#------------------------------------------------------------------------------
#cleanTimeDirectories()
#{
# echo "Cleaning $PWD case"
# for time in $(foamInfoExec -times)
# do
# # keep 0 and constant directories
# [ "$time" = "0" -o "$time" = constant ] || {
# echo "Deleting directory $time"
# rm -rf $time > /dev/null 2>&1
# }
# done
# rm -rf {log,log.*,log-*,logSummary.*,.fxLock,*.xml,ParaView*,paraFoam*,*.OpenFOAM} > /dev/null 2>&1
#}
cleanTimeDirectories()
{
echo "Cleaning $PWD case"
@ -59,9 +46,6 @@ cleanTimeDirectories()
}
#
# Remove dynamicCode subdirectory if it looks appropriate
#
cleanDynamicCode()
{
if [ -d system -a -d dynamicCode ]
@ -105,6 +89,7 @@ cleanCase()
rm -rf processor* > /dev/null 2>&1
rm -rf postProcessing > /dev/null 2>&1
rm -rf TDAC > /dev/null 2>&1
rm -rf probes* > /dev/null 2>&1
rm -rf forces* > /dev/null 2>&1
rm -rf graphs* > /dev/null 2>&1
@ -148,22 +133,26 @@ cleanCase()
fi
}
removeCase()
{
echo "Removing ${1:-unknown} case"
rm -rf $1
}
cleanSamples()
{
rm -rf ./sets ./samples ./sampleSurfaces > /dev/null 2>&1
}
cleanUcomponents()
{
rm -rf 0/Ux 0/Uy 0/Uz > /dev/null 2>&1
}
cleanApplication()
{
echo "Cleaning $PWD application"