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 remote-tracking branch 'origin/release-4-6'
[alexxy/gromacs.git]
/
src
/
gromacs
/
mdlib
/
domdec_setup.c
diff --git
a/src/gromacs/mdlib/domdec_setup.c
b/src/gromacs/mdlib/domdec_setup.c
index 04c2aafc6269cdb09e7b556e376307eef32a5549..b069d9c6dd27c5baac3d64e87f59ea570c461137 100644
(file)
--- a/
src/gromacs/mdlib/domdec_setup.c
+++ b/
src/gromacs/mdlib/domdec_setup.c
@@
-21,6
+21,7
@@
#endif
#include <stdio.h>
+#include <assert.h>
#include "domdec.h"
#include "network.h"
#include "perf_est.h"
@@
-319,6
+320,8
@@
static float comm_cost_est(gmx_domdec_t *dd,real limit,real cutoff,
return -1;
}
+ assert(ddbox->npbcdim<=DIM);
+
/* Check if the triclinic requirements are met */
for(i=0; i<DIM; i++)
{