mirror of
https://github.com/paboyle/Grid.git
synced 2025-06-12 20:27:06 +01:00
Jackson smoothed chebyshev and (untested) completion of force terms
for Cayley, Partial and Cont fraction dwf and overlap. have even odd and unprec forces.
This commit is contained in:
@ -1,6 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
export LANG=C
|
||||
find . -name "*.cc" -print -exec sed -e "s/${1}/${2}/g" -i .bak {} \;
|
||||
find . -name "*.h" -print -exec sed -e "s/${1}/${2}/g" -i .bak {} \;
|
||||
find . -name "*.bak" -exec rm -f {} \;
|
||||
|
||||
WAS=$1
|
||||
shift
|
||||
IS=$1
|
||||
shift
|
||||
|
||||
while (( "$#" )); do
|
||||
|
||||
echo $1
|
||||
sed -e "s/${WAS}/${IS}/g" -i .bak $1
|
||||
|
||||
shift
|
||||
|
||||
done
|
6
scripts/substitute-global
Executable file
6
scripts/substitute-global
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
export LANG=C
|
||||
find . -name "*.cc" -print -exec sed -e "s/${1}/${2}/g" -i .bak {} \;
|
||||
find . -name "*.h" -print -exec sed -e "s/${1}/${2}/g" -i .bak {} \;
|
||||
find . -name "*.bak" -exec rm -f {} \;
|
Reference in New Issue
Block a user