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/cuda/tests/TestCudaRBTorsionForce.cpp
platforms/cuda/tests/TestCudaRBTorsionForce.cpp
+1
-1
platforms/cuda/tests/TestCudaRandom.cpp
platforms/cuda/tests/TestCudaRandom.cpp
+1
-1
platforms/cuda/tests/TestCudaSettle.cpp
platforms/cuda/tests/TestCudaSettle.cpp
+1
-1
platforms/cuda/tests/TestCudaVariableLangevinIntegrator.cpp
platforms/cuda/tests/TestCudaVariableLangevinIntegrator.cpp
+1
-1
platforms/cuda/tests/TestCudaVariableVerletIntegrator.cpp
platforms/cuda/tests/TestCudaVariableVerletIntegrator.cpp
+1
-1
platforms/cuda/tests/TestCudaVerletIntegrator.cpp
platforms/cuda/tests/TestCudaVerletIntegrator.cpp
+1
-1
platforms/cuda/tests/TstCudaUsingParameterFile.cpp
platforms/cuda/tests/TstCudaUsingParameterFile.cpp
+1
-1
platforms/opencl/tests/TestOpenCLAndersenThermostat.cpp
platforms/opencl/tests/TestOpenCLAndersenThermostat.cpp
+1
-1
platforms/opencl/tests/TestOpenCLBrownianIntegrator.cpp
platforms/opencl/tests/TestOpenCLBrownianIntegrator.cpp
+1
-1
platforms/opencl/tests/TestOpenCLCMAPTorsionForce.cpp
platforms/opencl/tests/TestOpenCLCMAPTorsionForce.cpp
+1
-1
platforms/opencl/tests/TestOpenCLCMMotionRemover.cpp
platforms/opencl/tests/TestOpenCLCMMotionRemover.cpp
+1
-1
platforms/opencl/tests/TestOpenCLCustomAngleForce.cpp
platforms/opencl/tests/TestOpenCLCustomAngleForce.cpp
+1
-1
platforms/opencl/tests/TestOpenCLCustomBondForce.cpp
platforms/opencl/tests/TestOpenCLCustomBondForce.cpp
+1
-1
platforms/opencl/tests/TestOpenCLCustomExternalForce.cpp
platforms/opencl/tests/TestOpenCLCustomExternalForce.cpp
+1
-1
platforms/opencl/tests/TestOpenCLCustomGBForce.cpp
platforms/opencl/tests/TestOpenCLCustomGBForce.cpp
+1
-1
platforms/opencl/tests/TestOpenCLCustomHbondForce.cpp
platforms/opencl/tests/TestOpenCLCustomHbondForce.cpp
+1
-1
platforms/opencl/tests/TestOpenCLCustomIntegrator.cpp
platforms/opencl/tests/TestOpenCLCustomIntegrator.cpp
+1
-1
platforms/opencl/tests/TestOpenCLCustomNonbondedForce.cpp
platforms/opencl/tests/TestOpenCLCustomNonbondedForce.cpp
+1
-1
platforms/opencl/tests/TestOpenCLCustomTorsionForce.cpp
platforms/opencl/tests/TestOpenCLCustomTorsionForce.cpp
+1
-1
platforms/opencl/tests/TestOpenCLEwald.cpp
platforms/opencl/tests/TestOpenCLEwald.cpp
+1
-1
No files found.
platforms/cuda/tests/TestCudaRBTorsionForce.cpp
View file @
a566a074
...
...
@@ -33,7 +33,7 @@
* This tests the Cuda implementation of RBTorsionForce.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "CudaPlatform.h"
#include "openmm/RBTorsionForce.h"
...
...
platforms/cuda/tests/TestCudaRandom.cpp
View file @
a566a074
...
...
@@ -33,7 +33,7 @@
* This tests the Cuda implementation of random number generation.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "../src/kernels/gputypes.h"
#include "../src/kernels/cudaKernels.h"
#include <iostream>
...
...
platforms/cuda/tests/TestCudaSettle.cpp
View file @
a566a074
...
...
@@ -34,7 +34,7 @@
* This tests the Cuda implementation of the SETTLE algorithm.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "CudaPlatform.h"
#include "openmm/NonbondedForce.h"
...
...
platforms/cuda/tests/TestCudaVariableLangevinIntegrator.cpp
View file @
a566a074
...
...
@@ -33,7 +33,7 @@
* This tests the CUDA implementation of VariableLangevinIntegrator.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "CudaPlatform.h"
#include "openmm/HarmonicBondForce.h"
...
...
platforms/cuda/tests/TestCudaVariableVerletIntegrator.cpp
View file @
a566a074
...
...
@@ -33,7 +33,7 @@
* This tests the Cuda implementation of VariableVerletIntegrator.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "CudaPlatform.h"
#include "openmm/HarmonicBondForce.h"
...
...
platforms/cuda/tests/TestCudaVerletIntegrator.cpp
View file @
a566a074
...
...
@@ -33,7 +33,7 @@
* This tests the Cuda implementation of VerletIntegrator.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "CudaPlatform.h"
#include "openmm/HarmonicBondForce.h"
...
...
platforms/cuda/tests/TstCudaUsingParameterFile.cpp
View file @
a566a074
...
...
@@ -32,7 +32,7 @@
*
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "CudaPlatform.h"
#include "../../../platforms/opencl/include/OpenCLPlatform.h"
#include "ReferencePlatform.h"
...
...
platforms/opencl/tests/TestOpenCLAndersenThermostat.cpp
View file @
a566a074
...
...
@@ -33,7 +33,7 @@
* This tests the OpenCL implementation of AndersenThermostat.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/AndersenThermostat.h"
#include "openmm/Context.h"
#include "OpenCLPlatform.h"
...
...
platforms/opencl/tests/TestOpenCLBrownianIntegrator.cpp
View file @
a566a074
...
...
@@ -36,7 +36,7 @@
* This tests the OpenCL implementation of BrownianIntegrator.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "OpenCLPlatform.h"
#include "openmm/HarmonicBondForce.h"
...
...
platforms/opencl/tests/TestOpenCLCMAPTorsionForce.cpp
View file @
a566a074
...
...
@@ -33,7 +33,7 @@
* This tests the OpenCL implementation of CMAPTorsionForce.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "OpenCLPlatform.h"
#include "openmm/CMAPTorsionForce.h"
...
...
platforms/opencl/tests/TestOpenCLCMMotionRemover.cpp
View file @
a566a074
...
...
@@ -33,7 +33,7 @@
* This tests the OpenCL implementation of AndersenThermostat.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/CMMotionRemover.h"
#include "openmm/Context.h"
#include "OpenCLPlatform.h"
...
...
platforms/opencl/tests/TestOpenCLCustomAngleForce.cpp
View file @
a566a074
...
...
@@ -33,7 +33,7 @@
* This tests the OpenCL implementation of CustomAngleForce.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "OpenCLPlatform.h"
#include "openmm/CustomAngleForce.h"
...
...
platforms/opencl/tests/TestOpenCLCustomBondForce.cpp
View file @
a566a074
...
...
@@ -33,7 +33,7 @@
* This tests the OpenCL implementation of CustomBondForce.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "OpenCLPlatform.h"
#include "openmm/CustomBondForce.h"
...
...
platforms/opencl/tests/TestOpenCLCustomExternalForce.cpp
View file @
a566a074
...
...
@@ -33,7 +33,7 @@
* This tests the OpenCL implementation of CustomExternalForce.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "OpenCLPlatform.h"
#include "openmm/CustomExternalForce.h"
...
...
platforms/opencl/tests/TestOpenCLCustomGBForce.cpp
View file @
a566a074
...
...
@@ -34,7 +34,7 @@
* This tests the OpenCL implementation of CustomGBForce.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "sfmt/SFMT.h"
#include "openmm/Context.h"
#include "OpenCLPlatform.h"
...
...
platforms/opencl/tests/TestOpenCLCustomHbondForce.cpp
View file @
a566a074
...
...
@@ -33,7 +33,7 @@
* This tests the OpenCL implementation of CustomHbondForce.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "OpenCLPlatform.h"
#include "openmm/CustomHbondForce.h"
...
...
platforms/opencl/tests/TestOpenCLCustomIntegrator.cpp
View file @
a566a074
...
...
@@ -33,7 +33,7 @@
* This tests the OpenCL implementation of CustomIntegrator.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "OpenCLPlatform.h"
#include "openmm/AndersenThermostat.h"
...
...
platforms/opencl/tests/TestOpenCLCustomNonbondedForce.cpp
View file @
a566a074
...
...
@@ -34,7 +34,7 @@
* This tests all the different force terms in the OpenCL implementation of CustomNonbondedForce.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "sfmt/SFMT.h"
#include "openmm/Context.h"
#include "OpenCLPlatform.h"
...
...
platforms/opencl/tests/TestOpenCLCustomTorsionForce.cpp
View file @
a566a074
...
...
@@ -36,7 +36,7 @@
#ifdef WIN32
#define _USE_MATH_DEFINES // Needed to get M_PI
#endif
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "OpenCLPlatform.h"
#include "openmm/CustomTorsionForce.h"
...
...
platforms/opencl/tests/TestOpenCLEwald.cpp
View file @
a566a074
...
...
@@ -33,7 +33,7 @@
* This tests the Ewald summation method OpenCL implementation of NonbondedForce.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "OpenCLPlatform.h"
#include "ReferencePlatform.h"
...
...
Prev
1
2
3
4
5
6
7
…
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