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

This commit is contained in:
sjplimp
2009-01-05 22:26:08 +00:00
parent e1f72f6d3a
commit 0cc1d090f4
90 changed files with 1129 additions and 779 deletions

View File

@ -15,6 +15,7 @@
#include "string.h"
#include "compute_temp.h"
#include "atom.h"
#include "update.h"
#include "force.h"
#include "domain.h"
#include "modify.h"
@ -24,9 +25,6 @@
using namespace LAMMPS_NS;
#define INVOKED_SCALAR 1
#define INVOKED_VECTOR 2
/* ---------------------------------------------------------------------- */
ComputeTemp::ComputeTemp(LAMMPS *lmp, int narg, char **arg) :
@ -75,7 +73,7 @@ void ComputeTemp::dof_compute()
double ComputeTemp::compute_scalar()
{
invoked |= INVOKED_SCALAR;
invoked_scalar = update->ntimestep;
double **v = atom->v;
double *mass = atom->mass;
@ -109,7 +107,7 @@ void ComputeTemp::compute_vector()
{
int i;
invoked |= INVOKED_VECTOR;
invoked_vector = update->ntimestep;
double **v = atom->v;
double *mass = atom->mass;