Merge pull request #1556 from lammps/bug-maxexchange
more robust version of atom exchange size
This commit is contained in:
@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user