prevented reorder from being used with fix gcmc
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14285 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
10
src/dump.cpp
10
src/dump.cpp
@ -25,6 +25,8 @@
|
||||
#include "memory.h"
|
||||
#include "error.h"
|
||||
#include "force.h"
|
||||
#include "modify.h"
|
||||
#include "fix.h"
|
||||
|
||||
using namespace LAMMPS_NS;
|
||||
|
||||
@ -206,7 +208,13 @@ void Dump::init()
|
||||
// compute ntotal_reorder, nme_reorder, idlo/idhi to test against later
|
||||
|
||||
reorderflag = 0;
|
||||
if (sortcol == 0 && atom->tag_consecutive()) {
|
||||
|
||||
int gcmcflag = 0;
|
||||
for (int i = 0; i < modify->nfix; i++)
|
||||
if ((strcmp(modify->fix[i]->style,"gcmc") == 0))
|
||||
gcmcflag = 1;
|
||||
|
||||
if (sortcol == 0 && atom->tag_consecutive() && !gcmcflag) {
|
||||
tagint *tag = atom->tag;
|
||||
int *mask = atom->mask;
|
||||
int nlocal = atom->nlocal;
|
||||
|
||||
Reference in New Issue
Block a user