git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@714 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -66,6 +66,9 @@ void ComputeEtotalAtom::init()
|
||||
if (icompute < 0)
|
||||
error->all("Could not find compute etotal/atom pre-compute ID");
|
||||
compute_epair = modify->compute[icompute];
|
||||
|
||||
if (groupbit != compute_epair->groupbit && comm->me == 0)
|
||||
error->warning("Group for compute etotal and its epair are not the same");
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
@ -78,6 +78,7 @@ CommandStyle(write_restart,WriteRestart)
|
||||
#ifdef ComputeInclude
|
||||
#include "compute_centro_atom.h"
|
||||
#include "compute_coord_atom.h"
|
||||
#include "compute_ebond_atom.h"
|
||||
#include "compute_epair_atom.h"
|
||||
#include "compute_etotal_atom.h"
|
||||
#include "compute_ke_atom.h"
|
||||
@ -97,6 +98,7 @@ CommandStyle(write_restart,WriteRestart)
|
||||
#ifdef ComputeClass
|
||||
ComputeStyle(centro/atom,ComputeCentroAtom)
|
||||
ComputeStyle(coord/atom,ComputeCoordAtom)
|
||||
ComputeStyle(ebond/atom,ComputeEbondAtom)
|
||||
ComputeStyle(epair/atom,ComputeEpairAtom)
|
||||
ComputeStyle(etotal/atom,ComputeEtotalAtom)
|
||||
ComputeStyle(ke/atom,ComputeKEAtom)
|
||||
|
||||
Reference in New Issue
Block a user