git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5457 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -11,10 +11,11 @@
|
||||
See the README file in the top-level LAMMPS directory.
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
#include "mpi.h"
|
||||
#include "math.h"
|
||||
#include "string.h"
|
||||
#include "mpi.h"
|
||||
#include "min_cg.h"
|
||||
#include "lmptype.h"
|
||||
#include "atom.h"
|
||||
#include "update.h"
|
||||
#include "output.h"
|
||||
@ -22,8 +23,6 @@
|
||||
|
||||
using namespace LAMMPS_NS;
|
||||
|
||||
#define MAXATOMS 0x7FFFFFFF
|
||||
|
||||
// EPS_ENERGY = minimum normalization for energy tolerance
|
||||
|
||||
#define EPS_ENERGY 1.0e-8
|
||||
@ -52,7 +51,7 @@ int MinCG::iterate(int maxiter)
|
||||
// nlimit = max # of CG iterations before restarting
|
||||
// set to ndoftotal unless too big
|
||||
|
||||
int nlimit = static_cast<int> (MIN(MAXATOMS,ndoftotal));
|
||||
int nlimit = static_cast<int> (MIN(MAXINT32,ndoftotal));
|
||||
|
||||
// initialize working vectors
|
||||
|
||||
|
||||
Reference in New Issue
Block a user