forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11482 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
cd5b3841ab
commit
e78efeee6a
|
@ -160,8 +160,8 @@ package:
|
|||
@echo 'make no-lib remove all packages with external libs'
|
||||
@echo ''
|
||||
@echo 'make package-update (pu) replace src files with package files'
|
||||
@echo 'make package-overwrite (po) replace package files with src files'
|
||||
@echo 'make package-diff diff src files against package file'
|
||||
@echo 'make package-overwrite replace package files with src files'
|
||||
@echo 'make package-diff (pd) diff src files against package file'
|
||||
|
||||
yes-all:
|
||||
@for p in $(PACKALL); do $(MAKE) yes-$$p; done
|
||||
|
@ -229,12 +229,12 @@ package-update pu:
|
|||
@echo ''
|
||||
@for p in $(PACKUSERUC); do $(SHELL) Package.sh $$p update; done
|
||||
|
||||
package-overwrite po:
|
||||
package-overwrite:
|
||||
@for p in $(PACKAGEUC); do $(SHELL) Package.sh $$p overwrite; done
|
||||
@echo ''
|
||||
@for p in $(PACKUSERUC); do $(SHELL) Package.sh $$p overwrite; done
|
||||
|
||||
package-diff:
|
||||
package-diff pd:
|
||||
@for p in $(PACKAGEUC); do $(SHELL) Package.sh $$p diff; done
|
||||
@echo ''
|
||||
@for p in $(PACKUSERUC); do $(SHELL) Package.sh $$p diff; done
|
||||
|
|
|
@ -439,8 +439,13 @@ void Group::assign(int narg, char **arg)
|
|||
} else if (strcmp(arg[1],"dynamic") == 0) {
|
||||
|
||||
if (narg < 4) error->all(FLERR,"Illegal group command");
|
||||
if (strcmp(arg[0],arg[2]) == 0)
|
||||
error->all(FLERR,"Group dynamic cannot reference itself");
|
||||
if (find(arg[2]) < 0)
|
||||
error->all(FLERR,"Group dynamic parent group does not exist");
|
||||
if (igroup = 0) error->all(FLERR,"Group all cannot be made dynamic");
|
||||
|
||||
// if group is already dynamic, delete current FixGroup
|
||||
// if group is already dynamic, delete existing FixGroup
|
||||
|
||||
if (dynamic[igroup]) {
|
||||
int n = strlen("GROUP_") + strlen(names[igroup]) + 1;
|
||||
|
|
Loading…
Reference in New Issue