git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13196 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -13,7 +13,7 @@ OBJ = $(SRC:.cpp=.o)
|
||||
|
||||
# Package variables
|
||||
|
||||
PACKAGE = asphere body class2 colloid dipole fld gpu granular kim \
|
||||
PACKAGE = asphere body class2 colloid coreshell dipole fld gpu granular kim \
|
||||
kokkos kspace manybody mc meam misc molecule mpiio opt peri poems \
|
||||
qeq reax replica rigid shock snap srd voronoi xtc
|
||||
|
||||
|
||||
@ -2626,12 +2626,14 @@ void FixRigidSmall::set_molecule(int nlocalprev, tagint tagprev, int imol,
|
||||
displace[i][1] = onemols[imol]->dxbody[m][1];
|
||||
displace[i][2] = onemols[imol]->dxbody[m][2];
|
||||
|
||||
if (extended) {
|
||||
eflags[i] = 0;
|
||||
if (onemols[imol]->radiusflag) {
|
||||
eflags[i] |= SPHERE;
|
||||
eflags[i] |= OMEGA;
|
||||
eflags[i] |= TORQUE;
|
||||
}
|
||||
}
|
||||
|
||||
if (bodyown[i] >= 0) {
|
||||
if (nlocal_body == nmax_body) grow_body();
|
||||
|
||||
@ -99,15 +99,15 @@ void Velocity::command(int narg, char **arg)
|
||||
else if (style == ZERO) options(narg-3,&arg[3]);
|
||||
|
||||
// special cases where full init and border communication must be done first
|
||||
// for CREATE/SET if compute temp/cs is used
|
||||
// for ZERO if fix rigid/small is used
|
||||
// for CREATE/SET if compute temp/cs is used
|
||||
// b/c methods invoked in the compute/fix perform forward/reverse comm
|
||||
|
||||
int initcomm = 0;
|
||||
if (style == ZERO && rfix >= 0 &&
|
||||
strcmp(modify->fix[rfix]->style,"rigid/small") == 0) initcomm = 1;
|
||||
if ((style == CREATE || style == SET) && temperature &&
|
||||
strcmp(temperature->style,"temp/cs2") == 0) initcomm = 1;
|
||||
strcmp(temperature->style,"temp/cs") == 0) initcomm = 1;
|
||||
|
||||
if (initcomm) {
|
||||
lmp->init();
|
||||
|
||||
Reference in New Issue
Block a user