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/TestCudaAndersenThermostat.cpp
platforms/cuda/tests/TestCudaAndersenThermostat.cpp
+1
-1
platforms/cuda/tests/TestCudaBrownianIntegrator.cpp
platforms/cuda/tests/TestCudaBrownianIntegrator.cpp
+1
-1
platforms/cuda/tests/TestCudaCMAPTorsionForce.cpp
platforms/cuda/tests/TestCudaCMAPTorsionForce.cpp
+1
-1
platforms/cuda/tests/TestCudaCMMotionRemover.cpp
platforms/cuda/tests/TestCudaCMMotionRemover.cpp
+1
-1
platforms/cuda/tests/TestCudaCustomAngleForce.cpp
platforms/cuda/tests/TestCudaCustomAngleForce.cpp
+1
-1
platforms/cuda/tests/TestCudaCustomBondForce.cpp
platforms/cuda/tests/TestCudaCustomBondForce.cpp
+1
-1
platforms/cuda/tests/TestCudaCustomExternalForce.cpp
platforms/cuda/tests/TestCudaCustomExternalForce.cpp
+1
-1
platforms/cuda/tests/TestCudaCustomNonbondedForce.cpp
platforms/cuda/tests/TestCudaCustomNonbondedForce.cpp
+1
-1
platforms/cuda/tests/TestCudaCustomTorsionForce.cpp
platforms/cuda/tests/TestCudaCustomTorsionForce.cpp
+1
-1
platforms/cuda/tests/TestCudaEwald.cpp
platforms/cuda/tests/TestCudaEwald.cpp
+1
-1
platforms/cuda/tests/TestCudaGBSAOBCForce.cpp
platforms/cuda/tests/TestCudaGBSAOBCForce.cpp
+1
-1
platforms/cuda/tests/TestCudaGBVIForce.cpp
platforms/cuda/tests/TestCudaGBVIForce.cpp
+1
-1
platforms/cuda/tests/TestCudaGBVIForce2.cpp
platforms/cuda/tests/TestCudaGBVIForce2.cpp
+1
-1
platforms/cuda/tests/TestCudaHarmonicAngleForce.cpp
platforms/cuda/tests/TestCudaHarmonicAngleForce.cpp
+1
-1
platforms/cuda/tests/TestCudaHarmonicBondForce.cpp
platforms/cuda/tests/TestCudaHarmonicBondForce.cpp
+1
-1
platforms/cuda/tests/TestCudaLangevinIntegrator.cpp
platforms/cuda/tests/TestCudaLangevinIntegrator.cpp
+1
-1
platforms/cuda/tests/TestCudaLocalEnergyMinimizer.cpp
platforms/cuda/tests/TestCudaLocalEnergyMinimizer.cpp
+1
-1
platforms/cuda/tests/TestCudaMonteCarloBarostat.cpp
platforms/cuda/tests/TestCudaMonteCarloBarostat.cpp
+1
-1
platforms/cuda/tests/TestCudaNonbondedForce.cpp
platforms/cuda/tests/TestCudaNonbondedForce.cpp
+1
-1
platforms/cuda/tests/TestCudaPeriodicTorsionForce.cpp
platforms/cuda/tests/TestCudaPeriodicTorsionForce.cpp
+1
-1
No files found.
platforms/cuda/tests/TestCudaAndersenThermostat.cpp
View file @
a566a074
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
* This tests the Cuda implementation of AndersenThermostat.
* This tests the Cuda implementation of AndersenThermostat.
*/
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/AndersenThermostat.h"
#include "openmm/AndersenThermostat.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "CudaPlatform.h"
#include "CudaPlatform.h"
...
...
platforms/cuda/tests/TestCudaBrownianIntegrator.cpp
View file @
a566a074
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
* This tests the Cuda implementation of BrownianIntegrator.
* This tests the Cuda implementation of BrownianIntegrator.
*/
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "CudaPlatform.h"
#include "CudaPlatform.h"
#include "openmm/HarmonicBondForce.h"
#include "openmm/HarmonicBondForce.h"
...
...
platforms/cuda/tests/TestCudaCMAPTorsionForce.cpp
View file @
a566a074
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
* This tests the Cuda implementation of CMAPTorsionForce.
* This tests the Cuda implementation of CMAPTorsionForce.
*/
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "CudaPlatform.h"
#include "CudaPlatform.h"
#include "openmm/CMAPTorsionForce.h"
#include "openmm/CMAPTorsionForce.h"
...
...
platforms/cuda/tests/TestCudaCMMotionRemover.cpp
View file @
a566a074
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
* This tests the Cuda implementation of AndersenThermostat.
* This tests the Cuda implementation of AndersenThermostat.
*/
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/CMMotionRemover.h"
#include "openmm/CMMotionRemover.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "CudaPlatform.h"
#include "CudaPlatform.h"
...
...
platforms/cuda/tests/TestCudaCustomAngleForce.cpp
View file @
a566a074
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
* This tests the CUDA implementation of CustomAngleForce.
* This tests the CUDA implementation of CustomAngleForce.
*/
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "CudaPlatform.h"
#include "CudaPlatform.h"
#include "openmm/CustomAngleForce.h"
#include "openmm/CustomAngleForce.h"
...
...
platforms/cuda/tests/TestCudaCustomBondForce.cpp
View file @
a566a074
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
* This tests the Cuda implementation of CustomBondForce.
* This tests the Cuda implementation of CustomBondForce.
*/
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "CudaPlatform.h"
#include "CudaPlatform.h"
#include "openmm/CustomBondForce.h"
#include "openmm/CustomBondForce.h"
...
...
platforms/cuda/tests/TestCudaCustomExternalForce.cpp
View file @
a566a074
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
* This tests the Cuda implementation of CustomExternalForce.
* This tests the Cuda implementation of CustomExternalForce.
*/
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "CudaPlatform.h"
#include "CudaPlatform.h"
#include "openmm/CustomExternalForce.h"
#include "openmm/CustomExternalForce.h"
...
...
platforms/cuda/tests/TestCudaCustomNonbondedForce.cpp
View file @
a566a074
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
* This tests all the different force terms in the Cuda implementation of CustomNonbondedForce.
* This tests all the different force terms in the Cuda implementation of CustomNonbondedForce.
*/
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "sfmt/SFMT.h"
#include "sfmt/SFMT.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "CudaPlatform.h"
#include "CudaPlatform.h"
...
...
platforms/cuda/tests/TestCudaCustomTorsionForce.cpp
View file @
a566a074
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
#ifdef WIN32
#ifdef WIN32
#define _USE_MATH_DEFINES // Needed to get M_PI
#define _USE_MATH_DEFINES // Needed to get M_PI
#endif
#endif
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "CudaPlatform.h"
#include "CudaPlatform.h"
#include "openmm/CustomTorsionForce.h"
#include "openmm/CustomTorsionForce.h"
...
...
platforms/cuda/tests/TestCudaEwald.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 "openmm/Context.h"
#include "openmm/Context.h"
#include "CudaPlatform.h"
#include "CudaPlatform.h"
#include "ReferencePlatform.h"
#include "ReferencePlatform.h"
...
...
platforms/cuda/tests/TestCudaGBSAOBCForce.cpp
View file @
a566a074
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
* This tests the Cuda implementation of GBSAOBCForce.
* This tests the Cuda implementation of GBSAOBCForce.
*/
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "CudaPlatform.h"
#include "CudaPlatform.h"
#include "ReferencePlatform.h"
#include "ReferencePlatform.h"
...
...
platforms/cuda/tests/TestCudaGBVIForce.cpp
View file @
a566a074
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
* This tests the reference implementation of GBVIForce.
* This tests the reference implementation of GBVIForce.
*/
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "ReferencePlatform.h"
#include "ReferencePlatform.h"
#include "CudaPlatform.h"
#include "CudaPlatform.h"
...
...
platforms/cuda/tests/TestCudaGBVIForce2.cpp
View file @
a566a074
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
* Utility methods shared across unit tests
* Utility methods shared across unit tests
*/
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "openmm/System.h"
#include "openmm/System.h"
#include "../src/SimTKUtilities/SimTKOpenMMRealType.h"
#include "../src/SimTKUtilities/SimTKOpenMMRealType.h"
...
...
platforms/cuda/tests/TestCudaHarmonicAngleForce.cpp
View file @
a566a074
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
* This tests the Cuda implementation of HarmonicAngleForce.
* This tests the Cuda implementation of HarmonicAngleForce.
*/
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "CudaPlatform.h"
#include "CudaPlatform.h"
#include "openmm/HarmonicAngleForce.h"
#include "openmm/HarmonicAngleForce.h"
...
...
platforms/cuda/tests/TestCudaHarmonicBondForce.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 "openmm/Context.h"
#include "openmm/Context.h"
#include "CudaPlatform.h"
#include "CudaPlatform.h"
#include "openmm/HarmonicBondForce.h"
#include "openmm/HarmonicBondForce.h"
...
...
platforms/cuda/tests/TestCudaLangevinIntegrator.cpp
View file @
a566a074
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
* This tests the reference implementation of LangevinIntegrator.
* This tests the reference implementation of LangevinIntegrator.
*/
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "CudaPlatform.h"
#include "CudaPlatform.h"
#include "openmm/HarmonicBondForce.h"
#include "openmm/HarmonicBondForce.h"
...
...
platforms/cuda/tests/TestCudaLocalEnergyMinimizer.cpp
View file @
a566a074
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,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 "CudaPlatform.h"
#include "CudaPlatform.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "openmm/HarmonicBondForce.h"
#include "openmm/HarmonicBondForce.h"
...
...
platforms/cuda/tests/TestCudaMonteCarloBarostat.cpp
View file @
a566a074
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
* This tests the Cuda implementation of MonteCarloBarostat.
* This tests the Cuda implementation of MonteCarloBarostat.
*/
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/MonteCarloBarostat.h"
#include "openmm/MonteCarloBarostat.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "CudaPlatform.h"
#include "CudaPlatform.h"
...
...
platforms/cuda/tests/TestCudaNonbondedForce.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 "CudaPlatform.h"
#include "CudaPlatform.h"
#include "ReferencePlatform.h"
#include "ReferencePlatform.h"
...
...
platforms/cuda/tests/TestCudaPeriodicTorsionForce.cpp
View file @
a566a074
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
* This tests the Cuda implementation of PeriodicTorsionForce.
* This tests the Cuda implementation of PeriodicTorsionForce.
*/
*/
#include "
../../../tests
/AssertionUtilities.h"
#include "
openmm/internal
/AssertionUtilities.h"
#include "openmm/Context.h"
#include "openmm/Context.h"
#include "CudaPlatform.h"
#include "CudaPlatform.h"
#include "openmm/PeriodicTorsionForce.h"
#include "openmm/PeriodicTorsionForce.h"
...
...
Prev
1
2
3
4
5
6
…
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