mirror of https://github.com/lammps/lammps.git
propagate rendezvous changes to fix rigid/small
This commit is contained in:
parent
17817fc290
commit
a3a16acead
|
@ -1611,7 +1611,7 @@ void FixRigidSmall::create_bodies(tagint *bodyID)
|
|||
------------------------------------------------------------------------- */
|
||||
|
||||
int FixRigidSmall::rendezvous_body(int n, char *inbuf,
|
||||
int *&proclist, char *&outbuf,
|
||||
int &rflag, int *&proclist, char *&outbuf,
|
||||
void *ptr)
|
||||
{
|
||||
int i,j,m;
|
||||
|
@ -1749,6 +1749,7 @@ int FixRigidSmall::rendezvous_body(int n, char *inbuf,
|
|||
memory->destroy(iclose);
|
||||
memory->destroy(rsqclose);
|
||||
|
||||
rflag = 2;
|
||||
return nout;
|
||||
}
|
||||
|
||||
|
|
|
@ -209,7 +209,7 @@ class FixRigidSmall : public Fix {
|
|||
|
||||
// callback function for rendezvous communication
|
||||
|
||||
static int rendezvous_body(int, char *, int *&, char *&, void *);
|
||||
static int rendezvous_body(int, char *, int &, int *&, char *&, void *);
|
||||
|
||||
// debug
|
||||
|
||||
|
|
Loading…
Reference in New Issue