aboutsummaryrefslogtreecommitdiff
path: root/biology/protomol/files/patch-framework__forces__NonbondedCutoffSystemForce.h
diff options
context:
space:
mode:
Diffstat (limited to 'biology/protomol/files/patch-framework__forces__NonbondedCutoffSystemForce.h')
-rw-r--r--biology/protomol/files/patch-framework__forces__NonbondedCutoffSystemForce.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/biology/protomol/files/patch-framework__forces__NonbondedCutoffSystemForce.h b/biology/protomol/files/patch-framework__forces__NonbondedCutoffSystemForce.h
new file mode 100644
index 000000000000..3868f719e668
--- /dev/null
+++ b/biology/protomol/files/patch-framework__forces__NonbondedCutoffSystemForce.h
@@ -0,0 +1,11 @@
+--- framework/forces/NonbondedCutoffSystemForce.h.orig 2005-05-07 18:40:24.000000000 +0400
++++ framework/forces/NonbondedCutoffSystemForce.h 2014-08-22 20:39:47.000000000 +0400
+@@ -76,7 +76,7 @@
+ this->enumerator.initialize(realTopo, this->myCutoff);
+
+ unsigned int n = realTopo->cellLists.size();
+- unsigned int count = numberOfBlocks(realTopo,positions);
++ unsigned int count = this->numberOfBlocks(realTopo,positions);
+
+ for(unsigned int i = 0;i<count;i++){
+ unsigned int l = (n*(i+1))/count - (n*i)/count;