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
/
nbnxm
/
benchmark
/
bench_system.cpp
diff --git
a/src/gromacs/nbnxm/benchmark/bench_system.cpp
b/src/gromacs/nbnxm/benchmark/bench_system.cpp
index 3076939ce5c80a576f4f8d10d8ab3e2ddd18dcc2..1ba1c01d90e1c8ca2075b80fbc3f9f1fb026189d 100644
(file)
--- a/
src/gromacs/nbnxm/benchmark/bench_system.cpp
+++ b/
src/gromacs/nbnxm/benchmark/bench_system.cpp
@@
-200,7
+200,7
@@
BenchmarkSystem::BenchmarkSystem(const int multiplicationFactor, const std::stri
forceRec.ntype = numAtomTypes;
forceRec.nbfp = nonbondedParameters;
- forceRec.shift_vec.resize(
SHIFTS
);
+ forceRec.shift_vec.resize(
gmx::c_numShiftVectors
);
calc_shifts(box, forceRec.shift_vec);
if (!outputFile.empty())
{