git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3778 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2010-02-03 15:44:57 +00:00
parent abd6bb3b0b
commit 8c49ec08dd
24 changed files with 48 additions and 48 deletions

View File

@ -3,7 +3,7 @@
# so it will remove GPU files that depend on ASPHERE files,
# then replace others
if (test $1 == 1) then
if (test $1 = 1) then
cp atom_vec_ellipsoid.cpp ..
cp compute_erotate_asphere.cpp ..
@ -23,7 +23,7 @@ if (test $1 == 1) then
cp pair_gayberne.h ..
cp pair_resquared.h ..
elif (test $1 == 0) then
elif (test $1 = 0) then
rm ../atom_vec_ellipsoid.cpp
rm ../compute_erotate_asphere.cpp

View File

@ -1,6 +1,6 @@
# Install/unInstall package files in LAMMPS
if (test $1 == 1) then
if (test $1 = 1) then
cp bond_class2.cpp ..
cp angle_class2.cpp ..
@ -20,7 +20,7 @@ if (test $1 == 1) then
cp pair_lj_class2_coul_cut.h ..
cp pair_lj_class2_coul_long.h ..
elif (test $1 == 0) then
elif (test $1 = 0) then
rm ../bond_class2.cpp
rm ../angle_class2.cpp

View File

@ -1,6 +1,6 @@
# Install/unInstall package files in LAMMPS
if (test $1 == 1) then
if (test $1 = 1) then
cp atom_vec_colloid.cpp ..
cp fix_wall_colloid.cpp ..
@ -14,7 +14,7 @@ if (test $1 == 1) then
cp pair_lubricate.h ..
cp pair_yukawa_colloid.h ..
elif (test $1 == 0) then
elif (test $1 = 0) then
rm ../atom_vec_colloid.cpp
rm ../fix_wall_colloid.cpp

View File

@ -1,6 +1,6 @@
# Install/unInstall package files in LAMMPS
if (test $1 == 1) then
if (test $1 = 1) then
cp atom_vec_dipole.cpp ..
cp pair_dipole_cut.cpp ..
@ -8,7 +8,7 @@ if (test $1 == 1) then
cp atom_vec_dipole.h ..
cp pair_dipole_cut.h ..
elif (test $1 == 0) then
elif (test $1 = 0) then
rm ../atom_vec_dipole.cpp
rm ../pair_dipole_cut.cpp

View File

@ -1,12 +1,12 @@
# Install/unInstall package files in LAMMPS
if (test $1 == 1) then
if (test $1 = 1) then
cp pair_dsmc.cpp ..
cp pair_dsmc.h ..
elif (test $1 == 0) then
elif (test $1 = 0) then
rm ../pair_dsmc.cpp

View File

@ -2,7 +2,7 @@
# edit Makefile.package to include/exclude GPU library
# do not copy gayberne files if non-GPU version does not exist
if (test $1 == 1) then
if (test $1 = 1) then
sed -i -e 's/[^ \t]*gpu //' ../Makefile.package
sed -i -e 's/[^ \t]*gpu_[^ \t]*) //' ../Makefile.package
@ -19,7 +19,7 @@ if (test $1 == 1) then
cp pair_lj_cut_gpu.cpp ..
cp pair_lj_cut_gpu.h ..
elif (test $1 == 0) then
elif (test $1 = 0) then
sed -i -e 's/[^ \t]*gpu //' ../Makefile.package
sed -i -e 's/[^ \t]*gpu_[^ \t]*) //' ../Makefile.package

View File

@ -1,6 +1,6 @@
# Install/unInstall package files in LAMMPS
if (test $1 == 1) then
if (test $1 = 1) then
cp atom_vec_granular.cpp ..
cp fix_freeze.cpp ..
@ -18,7 +18,7 @@ if (test $1 == 1) then
cp pair_gran_hooke.h ..
cp pair_gran_hooke_history.h ..
elif (test $1 == 0) then
elif (test $1 = 0) then
rm ../atom_vec_granular.cpp
rm ../fix_freeze.cpp

View File

@ -3,7 +3,7 @@
# so it will remove OPT files that depend on KSPACE files,
# then replace others
if (test $1 == 1) then
if (test $1 = 1) then
cp ewald.cpp ..
cp pppm.cpp ..
@ -33,7 +33,7 @@ if (test $1 == 1) then
cp remap.h ..
cp remap_wrap.h ..
elif (test $1 == 0) then
elif (test $1 = 0) then
rm ../ewald.cpp
rm ../pppm.cpp

View File

@ -3,7 +3,7 @@
# so it will remove OPT files that depend on MANYBODY files,
# then replace others
if (test $1 == 1) then
if (test $1 = 1) then
cp pair_airebo.cpp ..
cp pair_eam.cpp ..
@ -21,7 +21,7 @@ if (test $1 == 1) then
cp pair_tersoff.h ..
cp pair_tersoff_zbl.h ..
elif (test $1 == 0) then
elif (test $1 = 0) then
rm ../pair_airebo.cpp
rm ../pair_eam.cpp

View File

@ -1,7 +1,7 @@
# Install/unInstall package files in LAMMPS
# edit Makefile.package to include/exclude MEAM library
if (test $1 == 1) then
if (test $1 = 1) then
sed -i -e 's/[^ \t]*meam //' ../Makefile.package
sed -i -e 's/[^ \t]*meam_[^ \t]*) //' ../Makefile.package
@ -15,7 +15,7 @@ if (test $1 == 1) then
cp pair_meam.h ..
elif (test $1 == 0) then
elif (test $1 = 0) then
sed -i -e 's/[^ \t]*meam //' ../Makefile.package
sed -i -e 's/[^ \t]*meam_[^ \t]*) //' ../Makefile.package

View File

@ -1,6 +1,6 @@
# Install/unInstall package files in LAMMPS
if (test $1 == 1) then
if (test $1 = 1) then
cp angle_charmm.cpp ..
cp angle_cosine.cpp ..
@ -68,7 +68,7 @@ if (test $1 == 1) then
cp pair_lj_charmm_coul_charmm.h ..
cp pair_lj_charmm_coul_charmm_implicit.h ..
elif (test $1 == 0) then
elif (test $1 = 0) then
rm ../angle_charmm.cpp
rm ../angle_cosine.cpp

View File

@ -1,7 +1,7 @@
# Install/unInstall package files in LAMMPS
# do not copy eam and charmm files if non-OPT versions do not exist
if (test $1 == 1) then
if (test $1 = 1) then
if (test -e ../pair_eam.cpp) then
cp pair_eam_opt.cpp ..
@ -23,7 +23,7 @@ if (test $1 == 1) then
cp pair_morse_opt.cpp ..
cp pair_morse_opt.h ..
elif (test $1 == 0) then
elif (test $1 = 0) then
rm ../pair_eam_opt.cpp
rm ../pair_eam_alloy_opt.cpp

View File

@ -1,6 +1,6 @@
# Install/unInstall package files in LAMMPS
if (test $1 == 1) then
if (test $1 = 1) then
cp atom_vec_peri.cpp ..
cp pair_peri_pmb.cpp ..
@ -12,7 +12,7 @@ if (test $1 == 1) then
cp fix_peri_neigh.h ..
cp compute_damage_atom.h ..
elif (test $1 == 0) then
elif (test $1 = 0) then
rm -f ../atom_vec_peri.cpp
rm -f ../pair_peri_pmb.cpp

View File

@ -1,7 +1,7 @@
# Install/unInstall package files in LAMMPS
# edit Makefile.package to include/exclude POEMS library
if (test $1 == 1) then
if (test $1 = 1) then
sed -i -e 's/[^ \t]*poems //' ../Makefile.package
sed -i -e 's|^PKG_INC =[ \t]*|&-I../../lib/poems |' ../Makefile.package
@ -12,7 +12,7 @@ if (test $1 == 1) then
cp fix_poems.h ..
elif (test $1 == 0) then
elif (test $1 = 0) then
sed -i -e 's/[^ \t]*poems //' ../Makefile.package

View File

@ -1,6 +1,6 @@
# Install/unInstall package files in LAMMPS
if (test $1 == 1) then
if (test $1 = 1) then
cp compute_event_displace.cpp ..
cp fix_event.cpp ..
@ -10,7 +10,7 @@ if (test $1 == 1) then
cp fix_event.h ..
cp prd.h ..
elif (test $1 == 0) then
elif (test $1 = 0) then
rm ../compute_event_displace.cpp
rm ../fix_event.cpp

View File

@ -1,7 +1,7 @@
# Install/unInstall package files in LAMMPS
# edit Makefile.package to include/exclude REAX library
if (test $1 == 1) then
if (test $1 = 1) then
sed -i -e 's/[^ \t]*reax //' ../Makefile.package
sed -i -e 's/[^ \t]*reax_[^ \t]*) //' ../Makefile.package
@ -18,7 +18,7 @@ if (test $1 == 1) then
cp fix_reax_bonds.h ..
cp fix_reax_bonds.cpp ..
elif (test $1 == 0) then
elif (test $1 = 0) then
sed -i -e 's/[^ \t]*reax //' ../Makefile.package
sed -i -e 's/[^ \t]*reax_[^ \t]*) //' ../Makefile.package

View File

@ -1,12 +1,12 @@
# Install/unInstall package files in LAMMPS
if (test $1 == 1) then
if (test $1 = 1) then
cp compute_ackland_atom.cpp ..
cp compute_ackland_atom.h ..
elif (test $1 == 0) then
elif (test $1 = 0) then
rm ../compute_ackland_atom.cpp

View File

@ -1,7 +1,7 @@
# Install/unInstall package files in LAMMPS
# edit Makefile.package to include/exclude ATC library
if (test $1 == 1) then
if (test $1 = 1) then
sed -i -e 's/[^ \t]*atc //' ../Makefile.package
sed -i -e 's/[^ \t]*atc_[^ \t]*) //' ../Makefile.package
@ -14,7 +14,7 @@ if (test $1 == 1) then
cp fix_atc.h ..
cp fix_atc.cpp ..
elif (test $1 == 0) then
elif (test $1 = 0) then
sed -i -e 's/[^ \t]*atc //' ../Makefile.package
sed -i -e 's/[^ \t]*atc_[^ \t]*) //' ../Makefile.package

View File

@ -1,12 +1,12 @@
# Install/Uninstall package files in LAMMPS
if (test $1 == 1) then
if (test $1 = 1) then
cp pair_cdeam.cpp ..
cp pair_cdeam.h ..
elif (test $1 == 0) then
elif (test $1 = 0) then
rm ../pair_cdeam.cpp

View File

@ -1,6 +1,6 @@
# Install/unInstall package files in LAMMPS
if (test $1 == 1) then
if (test $1 = 1) then
cp angle_cg_cmm.h ..
cp angle_cg_cmm.cpp ..
@ -17,7 +17,7 @@ if (test $1 == 1) then
cp pair_cg_cmm_coul_long.cpp ..
cp pair_cg_cmm_coul_long.h ..
elif (test $1 == 0) then
elif (test $1 = 0) then
rm ../angle_cg_cmm.h
rm ../angle_cg_cmm.cpp

View File

@ -1,6 +1,6 @@
# Install/unInstall package files in LAMMPS
if (test $1 == 1) then
if (test $1 = 1) then
cp -p ewald_n.cpp ..
cp -p pair_buck_coul.cpp ..
@ -13,7 +13,7 @@ if (test $1 == 1) then
cp -p math_vector.h ..
cp -p math_complex.h ..
elif (test $1 == 0) then
elif (test $1 = 0) then
rm ../ewald_n.cpp
rm ../pair_buck_coul.cpp

View File

@ -1,12 +1,12 @@
# Install/unInstall package files in LAMMPS
if (test $1 == 1) then
if (test $1 = 1) then
cp -p fix_imd.cpp ..
cp -p fix_imd.h ..
elif (test $1 == 0) then
elif (test $1 = 0) then
rm ../fix_imd.cpp

View File

@ -1,12 +1,12 @@
# Install/unInstall package files in LAMMPS
if (test $1 == 1) then
if (test $1 = 1) then
cp -p fix_smd.cpp ..
cp -p fix_smd.h ..
elif (test $1 == 0) then
elif (test $1 = 0) then
rm ../fix_smd.cpp

View File

@ -1,6 +1,6 @@
# Install/unInstall package files in LAMMPS
if (test $1 == 1) then
if (test $1 = 1) then
cp dump_xtc.cpp ..
@ -9,7 +9,7 @@ if (test $1 == 1) then
cp xdr_compat.cpp ..
cp xdr_compat.h ..
elif (test $1 == 0) then
elif (test $1 = 0) then
rm ../dump_xtc.cpp