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

This commit is contained in:
sjplimp
2013-06-13 15:24:28 +00:00
parent 85b3d1f122
commit 6ae2657ecc
2 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@ using namespace MathConst;
#define BIG 1.0e20
#define SMALL 1.0e-4
#define DELTA 1
#define DELTAREGION 4
#define BONDSTRETCH 1.1
enum{NO_REMAP,X_REMAP,V_REMAP}; // same as fix_deform.cpp
@ -1261,7 +1261,7 @@ void Domain::add_region(int narg, char **arg)
// extend Region list if necessary
if (nregion == maxregion) {
maxregion += DELTA;
maxregion += DELTAREGION;
regions = (Region **)
memory->srealloc(regions,maxregion*sizeof(Region *),"domain:regions");
}

View File

@ -30,7 +30,7 @@ class DumpCustom : public Dump {
virtual ~DumpCustom();
protected:
int nevery; // dump frequency to check Fix against
int nevery; // dump frequency for output
int iregion; // -1 if no region, else which region
char *idregion; // region ID
int nthresh; // # of defined threshholds