Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
a566a074
Commit
a566a074
authored
Jan 31, 2012
by
Peter Eastman
Browse files
Added index bounds checking to lots of methods
parent
12daada5
Changes
178
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
20 additions
and
20 deletions
+20
-20
platforms/reference/tests/TestReferenceNeighborList.cpp
platforms/reference/tests/TestReferenceNeighborList.cpp
+1
-1
platforms/reference/tests/TestReferenceNonbondedForce.cpp
platforms/reference/tests/TestReferenceNonbondedForce.cpp
+1
-1
platforms/reference/tests/TestReferencePeriodicTorsionForce.cpp
...rms/reference/tests/TestReferencePeriodicTorsionForce.cpp
+1
-1
platforms/reference/tests/TestReferenceRBTorsionForce.cpp
platforms/reference/tests/TestReferenceRBTorsionForce.cpp
+1
-1
platforms/reference/tests/TestReferenceRandom.cpp
platforms/reference/tests/TestReferenceRandom.cpp
+1
-1
platforms/reference/tests/TestReferenceVariableLangevinIntegrator.cpp
...ference/tests/TestReferenceVariableLangevinIntegrator.cpp
+1
-1
platforms/reference/tests/TestReferenceVariableVerletIntegrator.cpp
...reference/tests/TestReferenceVariableVerletIntegrator.cpp
+1
-1
platforms/reference/tests/TestReferenceVerletIntegrator.cpp
platforms/reference/tests/TestReferenceVerletIntegrator.cpp
+1
-1
platforms/reference/tests/TestReferenceVirtualSites.cpp
platforms/reference/tests/TestReferenceVirtualSites.cpp
+1
-1
plugins/amoeba/platforms/cuda/tests/AmoebaTinkerParameterFile.h
...s/amoeba/platforms/cuda/tests/AmoebaTinkerParameterFile.h
+1
-1
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaHarmonicAngleForce.cpp
...platforms/cuda/tests/TestCudaAmoebaHarmonicAngleForce.cpp
+1
-1
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaHarmonicBondForce.cpp
.../platforms/cuda/tests/TestCudaAmoebaHarmonicBondForce.cpp
+1
-1
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaHarmonicInPlaneAngleForce.cpp
...ms/cuda/tests/TestCudaAmoebaHarmonicInPlaneAngleForce.cpp
+1
-1
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaOutOfPlaneBendForce.cpp
...latforms/cuda/tests/TestCudaAmoebaOutOfPlaneBendForce.cpp
+1
-1
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaPME.cpp
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaPME.cpp
+1
-1
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaPiTorsionForce.cpp
...eba/platforms/cuda/tests/TestCudaAmoebaPiTorsionForce.cpp
+1
-1
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaStretchBendForce.cpp
...a/platforms/cuda/tests/TestCudaAmoebaStretchBendForce.cpp
+1
-1
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaTorsionForce.cpp
...moeba/platforms/cuda/tests/TestCudaAmoebaTorsionForce.cpp
+1
-1
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaTorsionTorsionForce.cpp
...latforms/cuda/tests/TestCudaAmoebaTorsionTorsionForce.cpp
+1
-1
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaUreyBradleyForce.cpp
...a/platforms/cuda/tests/TestCudaAmoebaUreyBradleyForce.cpp
+1
-1
No files found.
platforms/reference/tests/TestReferenceNeighborList.cpp
View file @
a566a074
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
* USE OR OTHER DEALINGS IN THE SOFTWARE. *
* USE OR OTHER DEALINGS IN THE SOFTWARE. *
* -------------------------------------------------------------------------- */
* -------------------------------------------------------------------------- */
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "../src/SimTKReference/ReferenceNeighborList.h"
#include "../src/SimTKReference/ReferenceNeighborList.h"
#include "sfmt/SFMT.h"
#include "sfmt/SFMT.h"
#include <cassert>
#include <cassert>
...
...
platforms/reference/tests/TestReferenceNonbondedForce.cpp
View file @
a566a074
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
* This tests all the different force terms in the reference implementation of NonbondedForce.
* This tests all the different force terms in the reference implementation of NonbondedForce.
*/
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "ReferencePlatform.h"
#include "ReferencePlatform.h"
#include "openmm/NonbondedForce.h"
#include "openmm/NonbondedForce.h"
...
...
platforms/reference/tests/TestReferencePeriodicTorsionForce.cpp
View file @
a566a074
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
* This tests all the different force terms in the reference implementation of PeriodicTorsionForce.
* This tests all the different force terms in the reference implementation of PeriodicTorsionForce.
*/
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "ReferencePlatform.h"
#include "ReferencePlatform.h"
#include "openmm/PeriodicTorsionForce.h"
#include "openmm/PeriodicTorsionForce.h"
...
...
platforms/reference/tests/TestReferenceRBTorsionForce.cpp
View file @
a566a074
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
* This tests all the different force terms in the reference implementation of RBTorsionForce.
* This tests all the different force terms in the reference implementation of RBTorsionForce.
*/
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "ReferencePlatform.h"
#include "ReferencePlatform.h"
#include "openmm/RBTorsionForce.h"
#include "openmm/RBTorsionForce.h"
...
...
platforms/reference/tests/TestReferenceRandom.cpp
View file @
a566a074
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
* This tests the reference implementation of random number generation.
* This tests the reference implementation of random number generation.
*/
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "../src/SimTKUtilities/SimTKOpenMMUtilities.h"
#include "../src/SimTKUtilities/SimTKOpenMMUtilities.h"
#include <iostream>
#include <iostream>
...
...
platforms/reference/tests/TestReferenceVariableLangevinIntegrator.cpp
View file @
a566a074
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
* This tests the reference implementation of VariableLangevinIntegrator.
* This tests the reference implementation of VariableLangevinIntegrator.
*/
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "ReferencePlatform.h"
#include "ReferencePlatform.h"
#include "openmm/HarmonicBondForce.h"
#include "openmm/HarmonicBondForce.h"
...
...
platforms/reference/tests/TestReferenceVariableVerletIntegrator.cpp
View file @
a566a074
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
* This tests the reference implementation of VariableVerletIntegrator.
* This tests the reference implementation of VariableVerletIntegrator.
*/
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "ReferencePlatform.h"
#include "ReferencePlatform.h"
#include "openmm/HarmonicBondForce.h"
#include "openmm/HarmonicBondForce.h"
...
...
platforms/reference/tests/TestReferenceVerletIntegrator.cpp
View file @
a566a074
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
* This tests the reference implementation of VerletIntegrator.
* This tests the reference implementation of VerletIntegrator.
*/
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "ReferencePlatform.h"
#include "ReferencePlatform.h"
#include "openmm/HarmonicBondForce.h"
#include "openmm/HarmonicBondForce.h"
...
...
platforms/reference/tests/TestReferenceVirtualSites.cpp
View file @
a566a074
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
* This tests the reference implementation of virtual sites.
* This tests the reference implementation of virtual sites.
*/
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "ReferencePlatform.h"
#include "ReferencePlatform.h"
#include "openmm/CustomBondForce.h"
#include "openmm/CustomBondForce.h"
...
...
plugins/amoeba/platforms/cuda/tests/AmoebaTinkerParameterFile.h
View file @
a566a074
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
* -------------------------------------------------------------------------- */
* -------------------------------------------------------------------------- */
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/CMMotionRemover.h"
#include "openmm/CMMotionRemover.h"
#include "openmm/System.h"
#include "openmm/System.h"
...
...
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaHarmonicAngleForce.cpp
View file @
a566a074
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
* This tests the Cuda implementation of CudaAmoebaHarmonicAngleForce.
* This tests the Cuda implementation of CudaAmoebaHarmonicAngleForce.
*/
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "AmoebaTinkerParameterFile.h"
#include "AmoebaTinkerParameterFile.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "OpenMMAmoeba.h"
#include "OpenMMAmoeba.h"
...
...
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaHarmonicBondForce.cpp
View file @
a566a074
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
* This tests the Cuda implementation of HarmonicBondForce.
* This tests the Cuda implementation of HarmonicBondForce.
*/
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "CudaPlatform.h"
#include "CudaPlatform.h"
#include "AmoebaTinkerParameterFile.h"
#include "AmoebaTinkerParameterFile.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
...
...
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaHarmonicInPlaneAngleForce.cpp
View file @
a566a074
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
* This tests the Cuda implementation of CudaAmoebaHarmonicInPlaneAngleForce.
* This tests the Cuda implementation of CudaAmoebaHarmonicInPlaneAngleForce.
*/
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "AmoebaTinkerParameterFile.h"
#include "AmoebaTinkerParameterFile.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "OpenMMAmoeba.h"
#include "OpenMMAmoeba.h"
...
...
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaOutOfPlaneBendForce.cpp
View file @
a566a074
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
* This tests the Cuda implementation of CudaAmoebaOutOfPlaneBendForce.
* This tests the Cuda implementation of CudaAmoebaOutOfPlaneBendForce.
*/
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "AmoebaTinkerParameterFile.h"
#include "AmoebaTinkerParameterFile.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "OpenMMAmoeba.h"
#include "OpenMMAmoeba.h"
...
...
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaPME.cpp
View file @
a566a074
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
* This tests the Ewald summation method cuda implementation of NonbondedForce.
* This tests the Ewald summation method cuda implementation of NonbondedForce.
*/
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "AmoebaTinkerParameterFile.h"
#include "AmoebaTinkerParameterFile.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "CudaPlatform.h"
#include "CudaPlatform.h"
...
...
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaPiTorsionForce.cpp
View file @
a566a074
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
* This tests the Cuda implementation of CudaAmoebaPiTorsionForce.
* This tests the Cuda implementation of CudaAmoebaPiTorsionForce.
*/
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "AmoebaTinkerParameterFile.h"
#include "AmoebaTinkerParameterFile.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "OpenMMAmoeba.h"
#include "OpenMMAmoeba.h"
...
...
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaStretchBendForce.cpp
View file @
a566a074
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
* This tests the Cuda implementation of CudaAmoebaStretchBendForce.
* This tests the Cuda implementation of CudaAmoebaStretchBendForce.
*/
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "AmoebaTinkerParameterFile.h"
#include "AmoebaTinkerParameterFile.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "OpenMMAmoeba.h"
#include "OpenMMAmoeba.h"
...
...
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaTorsionForce.cpp
View file @
a566a074
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
* This tests the Cuda implementation of CudaAmoebaTorsionForce.
* This tests the Cuda implementation of CudaAmoebaTorsionForce.
*/
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "AmoebaTinkerParameterFile.h"
#include "AmoebaTinkerParameterFile.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "OpenMMAmoeba.h"
#include "OpenMMAmoeba.h"
...
...
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaTorsionTorsionForce.cpp
View file @
a566a074
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
* This tests the Cuda implementation of CudaAmoebaTorsionTorsionForce.
* This tests the Cuda implementation of CudaAmoebaTorsionTorsionForce.
*/
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "OpenMMAmoeba.h"
#include "OpenMMAmoeba.h"
#include "openmm/System.h"
#include "openmm/System.h"
...
...
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaUreyBradleyForce.cpp
View file @
a566a074
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
* This tests the Cuda implementation of UreyBradleyForce.
* This tests the Cuda implementation of UreyBradleyForce.
*/
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "AmoebaTinkerParameterFile.h"
#include "AmoebaTinkerParameterFile.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "OpenMMAmoeba.h"
#include "OpenMMAmoeba.h"
...
...
Prev
1
2
3
4
5
6
7
8
9
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment