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
Replace defines with constexpr in ishift
[alexxy/gromacs.git]
/
src
/
gromacs
/
domdec
/
domdec.cpp
diff --git
a/src/gromacs/domdec/domdec.cpp
b/src/gromacs/domdec/domdec.cpp
index d941620c1214fe3b8caf0e6a674977c975eee478..8bec7e2409ae6ab005b135b80fe086769c868611 100644
(file)
--- a/
src/gromacs/domdec/domdec.cpp
+++ b/
src/gromacs/domdec/domdec.cpp
@@
-371,7
+371,7
@@
void dd_move_f(gmx_domdec_t* dd, gmx::ForceWithShiftForces* forceWithShiftForces
/* Determine which shift vector we need */
ivec vis = { 0, 0, 0 };
vis[dd->dim[d]] = 1;
- const int is =
IVEC2IS
(vis);
+ const int is =
gmx::ivecToShiftIndex
(vis);
/* Loop over the pulses */
const gmx_domdec_comm_dim_t& cd = comm.cd[d];