diff --git a/src/USER-ATC/fix_atc.cpp b/src/USER-ATC/fix_atc.cpp index 662ac2d8c2..13b6dad29b 100644 --- a/src/USER-ATC/fix_atc.cpp +++ b/src/USER-ATC/fix_atc.cpp @@ -679,7 +679,8 @@ int FixATC::unpack_exchange(int nlocal, double * buf) return num; } -int FixATC::pack_forward_comm(int n, int *list, double *buf, int pbc_flag, int *pbc) +int FixATC::pack_forward_comm(int n, int *list, double *buf, + int pbc_flag, int *pbc) { int num = atc_->pack_comm(n, list, buf, pbc_flag, pbc); return num; @@ -690,7 +691,6 @@ void FixATC::unpack_forward_comm(int n, int first, double *buf) atc_->unpack_comm(n, first, buf); } - /* ---------------------------------------------------------------------- pack values in local atom-based arrays for restart file ------------------------------------------------------------------------- */ diff --git a/src/comm_tiled.cpp b/src/comm_tiled.cpp index 092b8e091f..26ff5ecdec 100644 --- a/src/comm_tiled.cpp +++ b/src/comm_tiled.cpp @@ -1269,8 +1269,6 @@ void CommTiled::borders() */ } -// NOTE: remaining forward/reverse methods still need to be updated - /* ---------------------------------------------------------------------- forward communication invoked by a Pair ------------------------------------------------------------------------- */ @@ -1456,6 +1454,8 @@ void CommTiled::reverse_comm_fix(Fix *fix) } } +// NOTE: these two forward/reverse methods still need to be updated + /* ---------------------------------------------------------------------- forward communication invoked by a Fix n = total datums for all atoms, allows for variable number/atom @@ -1727,6 +1727,8 @@ void CommTiled::forward_comm_array(int nsize, double **array) } } +// NOTE: this one is not used ??? + /* ---------------------------------------------------------------------- exchange info provided with all 6 stencil neighbors ------------------------------------------------------------------------- */ diff --git a/src/comm_tiled.h b/src/comm_tiled.h index ebedb47e1f..b6e1f9c2c6 100644 --- a/src/comm_tiled.h +++ b/src/comm_tiled.h @@ -65,8 +65,8 @@ class CommTiled : public Comm { int **sendnum,**recvnum; // # of atoms to send/recv per swap/proc int **size_forward_recv; // # of values to recv in each forward swap/proc int **firstrecv; // where to put 1st recv atom per swap/proc - int **size_reverse_send; // # to send in each reverse comm per swap/proc - int **size_reverse_recv; // # to recv in each reverse comm per swap/proc + int **size_reverse_send; // # of values to send in each reverse swap/proc + int **size_reverse_recv; // # of values to recv in each reverse swap/proc int **forward_recv_offset; // forward comm offsets in buf_recv per swap/proc int **reverse_recv_offset; // reverse comm offsets in buf_recv per swap/proc @@ -82,7 +82,7 @@ class CommTiled : public Comm { int *nexchproc; // # of procs to send/recv to/from in each exch int *nexchprocmax; // current max # of exch procs for each exch int **exchproc; // procs to exchange with per exch - int **exchnum; // # of atoms received per exch/proc + int **exchnum; // # of values received per exch/proc double *buf_send; // send buffer for all comm double *buf_recv; // recv buffer for all comm