git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10491 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -36,6 +36,7 @@
|
||||
#include "update.h"
|
||||
#include "respa.h"
|
||||
#include "output.h"
|
||||
#include "citeme.h"
|
||||
#include "memory.h"
|
||||
#include "error.h"
|
||||
|
||||
@ -51,6 +52,19 @@ using namespace LAMMPS_NS;
|
||||
|
||||
enum{NSQ,BIN,MULTI}; // also in neigh_list.cpp
|
||||
|
||||
static const char cite_neigh_multi[] =
|
||||
"neighbor multi command:\n\n"
|
||||
"@Article{intveld08,\n"
|
||||
" author = {P.{\\,}J.~in{\\,}'t~Veld and S.{\\,}J.~Plimpton"
|
||||
" and G.{\\,}S.~Grest},\n"
|
||||
" title = {Accurate and Efficient Methods for Modeling Colloidal\n"
|
||||
" Mixtures in an Explicit Solvent using Molecular Dynamics},\n"
|
||||
" journal = {Comp.~Phys.~Comm.},\n"
|
||||
" year = 2008,\n"
|
||||
" volume = 179,\n"
|
||||
" pages = {320--329}\n"
|
||||
"}\n\n";
|
||||
|
||||
//#define NEIGH_LIST_DEBUG 1
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
@ -1644,6 +1658,8 @@ void Neighbor::set(int narg, char **arg)
|
||||
else if (strcmp(arg[1],"bin") == 0) style = BIN;
|
||||
else if (strcmp(arg[1],"multi") == 0) style = MULTI;
|
||||
else error->all(FLERR,"Illegal neighbor command");
|
||||
|
||||
if (style == MULTI && lmp->citeme) lmp->citeme->add(cite_neigh_multi);
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user