biod.pnpi.spb.ru
/
alexxy
/
gromacs-testing.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf41441
)
omp tests
author
Anatoly Titov
<toluk@omrb.pnpi.spb.ru>
Tue, 15 Jan 2019 10:35:29 +0000
(13:35 +0300)
committer
Anatoly Titov
<toluk@omrb.pnpi.spb.ru>
Tue, 15 Jan 2019 10:35:29 +0000
(13:35 +0300)
src/spacetimecorr.cpp
patch
|
blob
|
history
diff --git
a/src/spacetimecorr.cpp
b/src/spacetimecorr.cpp
index d8521efbe30535195069a0ca021721328b5c5b84..06078e5110d89d32ff4fdd0bf91d725579485be9 100644
(file)
--- a/
src/spacetimecorr.cpp
+++ b/
src/spacetimecorr.cpp
@@
-167,11
+167,11
@@
void correlation_evaluation(std::vector< std::vector< RVec > > traj, int b_frame
std::vector< float > d;
d.resize(traj.front().size(), 0);
- #pragma omp parallel for shared(crl, temp_zero, d)
//
schedule(dynamic)
+ #pragma omp parallel for shared(crl, temp_zero, d) schedule(dynamic)
for (int i = tauS; i <= tauE; i += 1) {
std::vector< RVec > medx, medy;
RVec temp1, temp2;
-
double
tmp;
+
float
tmp;
medx.resize(traj.front().size(), temp_zero);
medy.resize(traj.front().size(), temp_zero);
for (int j = 0; j < traj.size() - i - 1; j++) {