forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1823 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
2ff3e6f768
commit
dc41c79c3c
|
@ -609,9 +609,6 @@ void Atom::tag_extend()
|
|||
|
||||
int Atom::tag_consecutive()
|
||||
{
|
||||
int check[2],check_all[2];
|
||||
check[0] = check[1] = 0;
|
||||
|
||||
int idmin = static_cast<int> (natoms);
|
||||
int idmax = 0;
|
||||
|
||||
|
|
|
@ -130,7 +130,6 @@ void ComputeTempCOM::compute_vector()
|
|||
if (dynamic) masstotal = group->mass(igroup);
|
||||
group->vcm(igroup,masstotal,vbias);
|
||||
|
||||
double **x = atom->x;
|
||||
double **v = atom->v;
|
||||
double *mass = atom->mass;
|
||||
double *rmass = atom->rmass;
|
||||
|
|
|
@ -237,9 +237,8 @@ void DeleteAtoms::delete_overlap(int narg, char **arg)
|
|||
int nall = atom->nlocal + atom->nghost;
|
||||
double *special_coul = force->special_coul;
|
||||
double *special_lj = force->special_lj;
|
||||
int newton_pair = force->newton_pair;
|
||||
|
||||
int i,j,ii,jj,m,inum,jnum,itype,jtype;
|
||||
int i,j,ii,jj,inum,jnum,itype;
|
||||
double xtmp,ytmp,ztmp,delx,dely,delz,rsq;
|
||||
int *ilist,*jlist,*numneigh,**firstneigh;
|
||||
|
||||
|
|
|
@ -288,8 +288,6 @@ void FixAveTime::init()
|
|||
// set indices and check validity of all computes,fixes,variables
|
||||
// check that fix frequency is acceptable
|
||||
|
||||
int ilist = 0;
|
||||
|
||||
for (int i = 0; i < nvalues; i++) {
|
||||
if (which[i] == COMPUTE) {
|
||||
int icompute = modify->find_compute(ids[i]);
|
||||
|
@ -328,8 +326,7 @@ void FixAveTime::setup(int vflag)
|
|||
|
||||
void FixAveTime::end_of_step()
|
||||
{
|
||||
int i,j,k,m;
|
||||
double tmp;
|
||||
int i,m;
|
||||
|
||||
// skip if not step which requires doing something
|
||||
|
||||
|
@ -345,8 +342,6 @@ void FixAveTime::end_of_step()
|
|||
|
||||
modify->clearstep_compute();
|
||||
|
||||
int ilist = 0;
|
||||
|
||||
for (i = 0; i < nvalues; i++) {
|
||||
m = value2index[i];
|
||||
|
||||
|
|
|
@ -129,7 +129,6 @@ void FixNVTSlodd::final_integrate()
|
|||
// thermostat thermal velocity only
|
||||
// vdelu = SLLOD correction = Hrate*Hinv*vthermal
|
||||
|
||||
double **x = atom->x;
|
||||
double **v = atom->v;
|
||||
double **f = atom->f;
|
||||
double *mass = atom->mass;
|
||||
|
|
|
@ -88,7 +88,6 @@ void FixNVTSphere::initial_integrate(int vflag)
|
|||
double **x = atom->x;
|
||||
double **v = atom->v;
|
||||
double **f = atom->f;
|
||||
double **quat = atom->quat;
|
||||
double **omega = atom->omega;
|
||||
double **torque = atom->torque;
|
||||
double *mass = atom->mass;
|
||||
|
|
|
@ -138,7 +138,7 @@ void FixViscosity::init()
|
|||
void FixViscosity::end_of_step()
|
||||
{
|
||||
int i,m,insert;
|
||||
double p,coord,delta;
|
||||
double coord,delta;
|
||||
MPI_Status status;
|
||||
struct {
|
||||
double value;
|
||||
|
|
|
@ -502,7 +502,7 @@ void MinCG::force_clear()
|
|||
int MinCG::linemin_backtrack(int n, double *x, double *dir, double eng,
|
||||
double maxdist, double &alpha, int &nfunc)
|
||||
{
|
||||
int i,m;
|
||||
int i;
|
||||
|
||||
// stopping criterion, must be scaled by normflag
|
||||
|
||||
|
|
Loading…
Reference in New Issue