Merge pull request #1556 from lammps/bug-maxexchange

more robust version of atom exchange size
This commit is contained in:
Axel Kohlmeyer
2019-07-30 17:09:18 -04:00
committed by GitHub
21 changed files with 186 additions and 89 deletions

View File

@ -44,6 +44,7 @@ class Irregular : protected Pointers {
int triclinic;
int map_style;
int bufextra; // augment send buf size for a migrating atom
int maxsend,maxrecv; // size of buf send/recv in # of doubles
double *buf_send,*buf_recv; // bufs used in migrate_atoms
int maxdbuf; // size of double buf in bytes
@ -92,6 +93,7 @@ class Irregular : protected Pointers {
int binary(double, int, double *);
void init_exchange(); // reset bufxtra
void grow_send(int,int); // reallocate send buffer
void grow_recv(int); // free/allocate recv buffer
};