1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-13 12:47:05 +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:
Peter Boyle
2015-08-01 05:58:35 +09:00
parent 68d9463be5
commit 8627e237c8
13 changed files with 292 additions and 18 deletions

View File

@ -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
View 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 {} \;