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

This commit is contained in:
sjplimp 2011-04-29 21:05:35 +00:00
parent 3b3c1d118d
commit ee769613d7
8 changed files with 11 additions and 11 deletions

View File

@ -34,7 +34,7 @@ using namespace LAMMPS_NS;
enum{ROTATE,ALL};
#define INERTIA 0.2 // moment of inertia for ellipsoid
#define INERTIA 0.2 // moment of inertia prefactor for ellipsoid
/* ---------------------------------------------------------------------- */

View File

@ -29,7 +29,7 @@
using namespace LAMMPS_NS;
#define INERTIA 0.2 // moment of inertia for ellipsoid
#define INERTIA 0.2 // moment of inertia prefactor for ellipsoid
/* ---------------------------------------------------------------------- */

View File

@ -23,7 +23,7 @@
using namespace LAMMPS_NS;
#define INERTIA 0.4 // moment of inertia for sphere
#define INERTIA 0.4 // moment of inertia prefactor for sphere
/* ---------------------------------------------------------------------- */

View File

@ -28,7 +28,7 @@ using namespace LAMMPS_NS;
enum{ROTATE,ALL};
#define INERTIA 0.4 // moment of inertia for sphere
#define INERTIA 0.4 // moment of inertia prefactor for sphere
/* ---------------------------------------------------------------------- */

View File

@ -40,8 +40,8 @@ using namespace LAMMPS_NS;
enum{NOBIAS,BIAS};
#define SINERTIA 0.4 // moment of inertia for sphere
#define EINERTIA 0.2 // moment of inertia for ellipsoid
#define SINERTIA 0.4 // moment of inertia prefactor for sphere
#define EINERTIA 0.2 // moment of inertia prefactor for ellipsoid
/* ---------------------------------------------------------------------- */

View File

@ -24,7 +24,7 @@
using namespace LAMMPS_NS;
#define INERTIA 0.4 // moment of inertia for sphere
#define INERTIA 0.4 // moment of inertia prefactor for sphere
/* ---------------------------------------------------------------------- */

View File

@ -24,7 +24,7 @@
using namespace LAMMPS_NS;
#define INERTIA 0.4 // moment of inertia for sphere
#define INERTIA 0.4 // moment of inertia prefactor for sphere
enum{NONE,DIPOLE};

View File

@ -45,7 +45,7 @@ class Memory : protected Pointers {
bigint nbytes = sizeof(TYPE) * n;
array = (TYPE *) smalloc(nbytes,name);
return array;
};
}
template <typename TYPE>
TYPE **create(TYPE **&array, int n, const char *name) {fail(name);}
@ -62,7 +62,7 @@ class Memory : protected Pointers {
bigint nbytes = sizeof(TYPE) * n;
array = (TYPE *) srealloc(array,nbytes,name);
return array;
};
}
template <typename TYPE>
TYPE **grow(TYPE **&array, int n, const char *name) {fail(name);}
@ -75,7 +75,7 @@ class Memory : protected Pointers {
void destroy(TYPE *array)
{
sfree(array);
};
}
/* ----------------------------------------------------------------------
create a 1d array with index from nlo to nhi inclusive