pretty
This commit is contained in:
@ -237,10 +237,8 @@ void Special::onetwo_build_newton()
|
|||||||
// perform rendezvous operation
|
// perform rendezvous operation
|
||||||
|
|
||||||
char *buf;
|
char *buf;
|
||||||
int nreturn = comm->rendezvous(RVOUS,nsend,(char *) inbuf,sizeof(PairRvous),
|
int nreturn = comm->rendezvous(RVOUS,nsend,(char *) inbuf,sizeof(PairRvous), 0,proclist,
|
||||||
0,proclist,
|
rendezvous_pairs,0,buf,sizeof(PairRvous), (void *) this);
|
||||||
rendezvous_pairs,0,buf,sizeof(PairRvous),
|
|
||||||
(void *) this);
|
|
||||||
PairRvous *outbuf = (PairRvous *) buf;
|
PairRvous *outbuf = (PairRvous *) buf;
|
||||||
|
|
||||||
memory->destroy(proclist);
|
memory->destroy(proclist);
|
||||||
@ -371,10 +369,8 @@ void Special::onethree_build()
|
|||||||
// perform rendezvous operation
|
// perform rendezvous operation
|
||||||
|
|
||||||
char *buf;
|
char *buf;
|
||||||
int nreturn = comm->rendezvous(RVOUS,nsend,(char *) inbuf,sizeof(PairRvous),
|
int nreturn = comm->rendezvous(RVOUS,nsend,(char *) inbuf,sizeof(PairRvous), 0,proclist,
|
||||||
0,proclist,
|
rendezvous_pairs,0,buf,sizeof(PairRvous), (void *) this);
|
||||||
rendezvous_pairs,0,buf,sizeof(PairRvous),
|
|
||||||
(void *) this);
|
|
||||||
PairRvous *outbuf = (PairRvous *) buf;
|
PairRvous *outbuf = (PairRvous *) buf;
|
||||||
|
|
||||||
memory->destroy(proclist);
|
memory->destroy(proclist);
|
||||||
@ -475,10 +471,8 @@ void Special::onefour_build()
|
|||||||
// perform rendezvous operation
|
// perform rendezvous operation
|
||||||
|
|
||||||
char *buf;
|
char *buf;
|
||||||
int nreturn = comm->rendezvous(RVOUS,nsend,(char *) inbuf,sizeof(PairRvous),
|
int nreturn = comm->rendezvous(RVOUS,nsend,(char *) inbuf,sizeof(PairRvous), 0,proclist,
|
||||||
0,proclist,
|
rendezvous_pairs,0,buf,sizeof(PairRvous), (void *) this);
|
||||||
rendezvous_pairs,0,buf,sizeof(PairRvous),
|
|
||||||
(void *) this);
|
|
||||||
PairRvous *outbuf = (PairRvous *) buf;
|
PairRvous *outbuf = (PairRvous *) buf;
|
||||||
|
|
||||||
memory->destroy(proclist);
|
memory->destroy(proclist);
|
||||||
@ -898,10 +892,8 @@ void Special::angle_trim()
|
|||||||
// perform rendezvous operation
|
// perform rendezvous operation
|
||||||
|
|
||||||
char *buf;
|
char *buf;
|
||||||
int nreturn = comm->rendezvous(RVOUS,nsend,(char *) inbuf,sizeof(PairRvous),
|
int nreturn = comm->rendezvous(RVOUS,nsend,(char *) inbuf,sizeof(PairRvous), 0,proclist,
|
||||||
0,proclist,
|
rendezvous_pairs,0,buf,sizeof(PairRvous), (void *) this);
|
||||||
rendezvous_pairs,0,buf,sizeof(PairRvous),
|
|
||||||
(void *) this);
|
|
||||||
PairRvous *outbuf = (PairRvous *) buf;
|
PairRvous *outbuf = (PairRvous *) buf;
|
||||||
|
|
||||||
memory->destroy(proclist);
|
memory->destroy(proclist);
|
||||||
@ -1111,10 +1103,8 @@ void Special::dihedral_trim()
|
|||||||
// perform rendezvous operation
|
// perform rendezvous operation
|
||||||
|
|
||||||
char *buf;
|
char *buf;
|
||||||
int nreturn = comm->rendezvous(RVOUS,nsend,(char *) inbuf,sizeof(PairRvous),
|
int nreturn = comm->rendezvous(RVOUS,nsend,(char *) inbuf,sizeof(PairRvous), 0,proclist,
|
||||||
0,proclist,
|
rendezvous_pairs,0,buf,sizeof(PairRvous), (void *) this);
|
||||||
rendezvous_pairs,0,buf,sizeof(PairRvous),
|
|
||||||
(void *) this);
|
|
||||||
PairRvous *outbuf = (PairRvous *) buf;
|
PairRvous *outbuf = (PairRvous *) buf;
|
||||||
|
|
||||||
memory->destroy(proclist);
|
memory->destroy(proclist);
|
||||||
@ -1246,9 +1236,8 @@ int Special::rendezvous_ids(int n, char *inbuf,
|
|||||||
outbuf = same list of N PairRvous datums, routed to different procs
|
outbuf = same list of N PairRvous datums, routed to different procs
|
||||||
------------------------------------------------------------------------- */
|
------------------------------------------------------------------------- */
|
||||||
|
|
||||||
int Special::rendezvous_pairs(int n, char *inbuf,
|
int Special::rendezvous_pairs(int n, char *inbuf, int &flag, int *&proclist,
|
||||||
int &flag, int *&proclist, char *&outbuf,
|
char *&outbuf, void *ptr)
|
||||||
void *ptr)
|
|
||||||
{
|
{
|
||||||
Special *sptr = (Special *) ptr;
|
Special *sptr = (Special *) ptr;
|
||||||
Atom *atom = sptr->atom;
|
Atom *atom = sptr->atom;
|
||||||
|
|||||||
Reference in New Issue
Block a user