git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3601 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2009-12-21 22:41:53 +00:00
parent 99beba0b75
commit ec8f378ff3
4 changed files with 287 additions and 1 deletions

46
src/compute_pair_local.h Normal file
View File

@ -0,0 +1,46 @@
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains
certain rights in this software. This software is distributed under
the GNU General Public License.
See the README file in the top-level LAMMPS directory.
------------------------------------------------------------------------- */
#ifndef COMPUTE_PAIR_LOCAL_H
#define COMPUTE_PAIR_LOCAL_H
#include "compute.h"
namespace LAMMPS_NS {
class ComputePairLocal : public Compute {
public:
ComputePairLocal(class LAMMPS *, int, char **);
~ComputePairLocal();
void init();
void init_list(int, class NeighList *);
void compute_local();
double memory_usage();
private:
int nvalues,dflag,eflag,fflag;
int ncount;
int nmax;
double *vector;
double **array;
class NeighList *list;
int compute_pairs(int);
void reallocate(int);
};
}
#endif