biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge release-5-0 into master
[alexxy/gromacs.git]
/
src
/
gromacs
/
mdlib
/
pme.c
diff --git
a/src/gromacs/mdlib/pme.c
b/src/gromacs/mdlib/pme.c
index 924420ce0f3ad61516c82b2b172f58b9612330f6..6e6a40e3b62bca21a158036c172f43c59a112334 100644
(file)
--- a/
src/gromacs/mdlib/pme.c
+++ b/
src/gromacs/mdlib/pme.c
@@
-3988,7
+3988,8
@@
reduce_threadgrid_overlap(gmx_pme_t pme,
if (bCommY)
{
commbuf = commbuf_y;
- buf_my = ty1 - offy;
+ /* The y-size of the communication buffer is order-1 */
+ buf_my = pmegrid->order - 1;
if (bCommX)
{
/* We index commbuf modulo the local grid size */