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

This commit is contained in:
sjplimp
2008-01-02 19:24:46 +00:00
parent 428ca84042
commit b2e9f7dc10
145 changed files with 2801 additions and 2615 deletions

View File

@ -30,6 +30,8 @@
using namespace LAMMPS_NS;
#define INVOKED_SCALAR 1
#define INVOKED_VECTOR 2
enum{NO_REMAP,X_REMAP,V_REMAP}; // same as fix_deform.cpp
/* ---------------------------------------------------------------------- */
@ -41,7 +43,8 @@ ComputeTempDeform::ComputeTempDeform(LAMMPS *lmp, int narg, char **arg) :
scalar_flag = vector_flag = 1;
size_vector = 6;
extensive = 0;
extscalar = 0;
extvector = 1;
tempflag = 1;
vector = new double[6];
@ -95,6 +98,8 @@ double ComputeTempDeform::compute_scalar()
{
double lamda[3],vstream[3],vthermal[3];
invoked |= INVOKED_SCALAR;
double **x = atom->x;
double **v = atom->v;
double *mass = atom->mass;
@ -153,6 +158,8 @@ void ComputeTempDeform::compute_vector()
{
double lamda[3],vstream[3],vthermal[3];
invoked |= INVOKED_VECTOR;
double **x = atom->x;
double **v = atom->v;
double *mass = atom->mass;