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/opencl/tests/TestOpenCLFFT.cpp
platforms/opencl/tests/TestOpenCLFFT.cpp
+1
-1
platforms/opencl/tests/TestOpenCLGBSAOBCForce.cpp
platforms/opencl/tests/TestOpenCLGBSAOBCForce.cpp
+1
-1
platforms/opencl/tests/TestOpenCLGBSAOBCForce2.cpp
platforms/opencl/tests/TestOpenCLGBSAOBCForce2.cpp
+1
-1
platforms/opencl/tests/TestOpenCLHarmonicAngleForce.cpp
platforms/opencl/tests/TestOpenCLHarmonicAngleForce.cpp
+1
-1
platforms/opencl/tests/TestOpenCLHarmonicBondForce.cpp
platforms/opencl/tests/TestOpenCLHarmonicBondForce.cpp
+1
-1
platforms/opencl/tests/TestOpenCLLangevinIntegrator.cpp
platforms/opencl/tests/TestOpenCLLangevinIntegrator.cpp
+1
-1
platforms/opencl/tests/TestOpenCLLocalEnergyMinimizer.cpp
platforms/opencl/tests/TestOpenCLLocalEnergyMinimizer.cpp
+1
-1
platforms/opencl/tests/TestOpenCLMonteCarloBarostat.cpp
platforms/opencl/tests/TestOpenCLMonteCarloBarostat.cpp
+1
-1
platforms/opencl/tests/TestOpenCLMultipleForces.cpp
platforms/opencl/tests/TestOpenCLMultipleForces.cpp
+1
-1
platforms/opencl/tests/TestOpenCLNonbondedForce.cpp
platforms/opencl/tests/TestOpenCLNonbondedForce.cpp
+1
-1
platforms/opencl/tests/TestOpenCLPeriodicTorsionForce.cpp
platforms/opencl/tests/TestOpenCLPeriodicTorsionForce.cpp
+1
-1
platforms/opencl/tests/TestOpenCLRBTorsionForce.cpp
platforms/opencl/tests/TestOpenCLRBTorsionForce.cpp
+1
-1
platforms/opencl/tests/TestOpenCLRandom.cpp
platforms/opencl/tests/TestOpenCLRandom.cpp
+1
-1
platforms/opencl/tests/TestOpenCLSettle.cpp
platforms/opencl/tests/TestOpenCLSettle.cpp
+1
-1
platforms/opencl/tests/TestOpenCLSort.cpp
platforms/opencl/tests/TestOpenCLSort.cpp
+1
-1
platforms/opencl/tests/TestOpenCLVariableLangevinIntegrator.cpp
...rms/opencl/tests/TestOpenCLVariableLangevinIntegrator.cpp
+1
-1
platforms/opencl/tests/TestOpenCLVariableVerletIntegrator.cpp
...forms/opencl/tests/TestOpenCLVariableVerletIntegrator.cpp
+1
-1
platforms/opencl/tests/TestOpenCLVerletIntegrator.cpp
platforms/opencl/tests/TestOpenCLVerletIntegrator.cpp
+1
-1
platforms/opencl/tests/TestOpenCLVirtualSites.cpp
platforms/opencl/tests/TestOpenCLVirtualSites.cpp
+1
-1
platforms/reference/tests/TestReferenceAndersenThermostat.cpp
...forms/reference/tests/TestReferenceAndersenThermostat.cpp
+1
-1
No files found.
platforms/opencl/tests/TestOpenCLFFT.cpp
View file @
a566a074
...
...
@@ -33,7 +33,7 @@
* This tests the OpenCL implementation of sorting.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "../src/OpenCLArray.h"
#include "../src/OpenCLContext.h"
#include "../src/OpenCLFFT3D.h"
...
...
platforms/opencl/tests/TestOpenCLGBSAOBCForce.cpp
View file @
a566a074
...
...
@@ -33,7 +33,7 @@
* This tests the OpenCL implementation of GBSAOBCForce.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "OpenCLPlatform.h"
#include "ReferencePlatform.h"
...
...
platforms/opencl/tests/TestOpenCLGBSAOBCForce2.cpp
View file @
a566a074
...
...
@@ -55,7 +55,7 @@
* Utility methods shared across unit tests
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "openmm/System.h"
#include "../src/SimTKUtilities/SimTKOpenMMRealType.h"
...
...
platforms/opencl/tests/TestOpenCLHarmonicAngleForce.cpp
View file @
a566a074
...
...
@@ -34,7 +34,7 @@
* This tests the OpenCL implementation of HarmonicAngleForce.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "OpenCLPlatform.h"
#include "openmm/HarmonicAngleForce.h"
...
...
platforms/opencl/tests/TestOpenCLHarmonicBondForce.cpp
View file @
a566a074
...
...
@@ -33,7 +33,7 @@
* This tests the OpenCL implementation of HarmonicBondForce.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "OpenCLPlatform.h"
#include "openmm/HarmonicBondForce.h"
...
...
platforms/opencl/tests/TestOpenCLLangevinIntegrator.cpp
View file @
a566a074
...
...
@@ -33,7 +33,7 @@
* This tests the reference implementation of LangevinIntegrator.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "OpenCLPlatform.h"
#include "openmm/HarmonicBondForce.h"
...
...
platforms/opencl/tests/TestOpenCLLocalEnergyMinimizer.cpp
View file @
a566a074
...
...
@@ -30,7 +30,7 @@
* USE OR OTHER DEALINGS IN THE SOFTWARE. *
* -------------------------------------------------------------------------- */
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "OpenCLPlatform.h"
#include "openmm/Context.h"
#include "openmm/HarmonicBondForce.h"
...
...
platforms/opencl/tests/TestOpenCLMonteCarloBarostat.cpp
View file @
a566a074
...
...
@@ -33,7 +33,7 @@
* This tests the OpenCL implementation of MonteCarloBarostat.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/MonteCarloBarostat.h"
#include "openmm/Context.h"
#include "OpenCLPlatform.h"
...
...
platforms/opencl/tests/TestOpenCLMultipleForces.cpp
View file @
a566a074
...
...
@@ -34,7 +34,7 @@
* processing them correctly.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "OpenCLPlatform.h"
#include "ReferencePlatform.h"
...
...
platforms/opencl/tests/TestOpenCLNonbondedForce.cpp
View file @
a566a074
...
...
@@ -33,7 +33,7 @@
* 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 "OpenCLPlatform.h"
#include "ReferencePlatform.h"
...
...
platforms/opencl/tests/TestOpenCLPeriodicTorsionForce.cpp
View file @
a566a074
...
...
@@ -33,7 +33,7 @@
* This tests the OpenCL implementation of PeriodicTorsionForce.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "OpenCLPlatform.h"
#include "openmm/PeriodicTorsionForce.h"
...
...
platforms/opencl/tests/TestOpenCLRBTorsionForce.cpp
View file @
a566a074
...
...
@@ -33,7 +33,7 @@
* This tests the OpenCL implementation of RBTorsionForce.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "OpenCLPlatform.h"
#include "openmm/RBTorsionForce.h"
...
...
platforms/opencl/tests/TestOpenCLRandom.cpp
View file @
a566a074
...
...
@@ -33,7 +33,7 @@
* This tests the OpenCL implementation of random number generation.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "../src/OpenCLArray.h"
#include "../src/OpenCLContext.h"
#include "../src/OpenCLIntegrationUtilities.h"
...
...
platforms/opencl/tests/TestOpenCLSettle.cpp
View file @
a566a074
...
...
@@ -34,7 +34,7 @@
* This tests the OpenCL implementation of the SETTLE algorithm.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "OpenCLPlatform.h"
#include "openmm/NonbondedForce.h"
...
...
platforms/opencl/tests/TestOpenCLSort.cpp
View file @
a566a074
...
...
@@ -33,7 +33,7 @@
* This tests the OpenCL implementation of sorting.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "../src/OpenCLArray.h"
#include "../src/OpenCLContext.h"
#include "../src/OpenCLSort.h"
...
...
platforms/opencl/tests/TestOpenCLVariableLangevinIntegrator.cpp
View file @
a566a074
...
...
@@ -33,7 +33,7 @@
* This tests the OpenCL implementation of VariableLangevinIntegrator.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "OpenCLPlatform.h"
#include "openmm/HarmonicBondForce.h"
...
...
platforms/opencl/tests/TestOpenCLVariableVerletIntegrator.cpp
View file @
a566a074
...
...
@@ -33,7 +33,7 @@
* This tests the OpenCL implementation of VariableVerletIntegrator.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "OpenCLPlatform.h"
#include "openmm/HarmonicBondForce.h"
...
...
platforms/opencl/tests/TestOpenCLVerletIntegrator.cpp
View file @
a566a074
...
...
@@ -33,7 +33,7 @@
* This tests the OpenCL implementation of VerletIntegrator.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "OpenCLPlatform.h"
#include "openmm/HarmonicBondForce.h"
...
...
platforms/opencl/tests/TestOpenCLVirtualSites.cpp
View file @
a566a074
...
...
@@ -33,7 +33,7 @@
* This tests the OpenCL implementation of virtual sites.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "OpenCLPlatform.h"
#include "openmm/CustomBondForce.h"
...
...
platforms/reference/tests/TestReferenceAndersenThermostat.cpp
View file @
a566a074
...
...
@@ -33,7 +33,7 @@
* This tests the reference implementation of AndersenThermostat.
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/AndersenThermostat.h"
#include "openmm/Context.h"
#include "ReferencePlatform.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