Updating to master
This commit is contained in:
@ -1837,9 +1837,9 @@ void Pair::hessian_twobody(double fforce, double dfac, double delr[3], double ph
|
||||
|
||||
double Pair::memory_usage()
|
||||
{
|
||||
double bytes = comm->nthreads*maxeatom * sizeof(double);
|
||||
bytes += comm->nthreads*maxvatom*6 * sizeof(double);
|
||||
bytes += comm->nthreads*maxcvatom*9 * sizeof(double);
|
||||
double bytes = (double)comm->nthreads*maxeatom * sizeof(double);
|
||||
bytes += (double)comm->nthreads*maxvatom*6 * sizeof(double);
|
||||
bytes += (double)comm->nthreads*maxcvatom*9 * sizeof(double);
|
||||
return bytes;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user