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
012b28e6
Commit
012b28e6
authored
Apr 19, 2008
by
Peter Eastman
Browse files
Continuing to implement ReferencePlatform
parent
e561a678
Changes
34
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
48 additions
and
44 deletions
+48
-44
platforms/reference/src/SimTKReference/ReferenceBondIxn.cpp
platforms/reference/src/SimTKReference/ReferenceBondIxn.cpp
+3
-3
platforms/reference/src/SimTKReference/ReferenceConstraint.cpp
...orms/reference/src/SimTKReference/ReferenceConstraint.cpp
+3
-3
platforms/reference/src/SimTKReference/ReferenceDynamics.cpp
platforms/reference/src/SimTKReference/ReferenceDynamics.cpp
+7
-3
platforms/reference/src/SimTKReference/ReferenceDynamics.h
platforms/reference/src/SimTKReference/ReferenceDynamics.h
+2
-2
platforms/reference/src/SimTKReference/ReferenceForce.cpp
platforms/reference/src/SimTKReference/ReferenceForce.cpp
+3
-3
platforms/reference/src/SimTKReference/ReferenceHarmonicBondIxn.cpp
...reference/src/SimTKReference/ReferenceHarmonicBondIxn.cpp
+3
-3
platforms/reference/src/SimTKReference/ReferenceLJ14.cpp
platforms/reference/src/SimTKReference/ReferenceLJ14.cpp
+3
-3
platforms/reference/src/SimTKReference/ReferenceLJCoulombIxn.cpp
...ms/reference/src/SimTKReference/ReferenceLJCoulombIxn.cpp
+3
-3
platforms/reference/src/SimTKReference/ReferencePairIxn.cpp
platforms/reference/src/SimTKReference/ReferencePairIxn.cpp
+3
-3
platforms/reference/src/SimTKReference/ReferenceProperDihedralBond.cpp
...erence/src/SimTKReference/ReferenceProperDihedralBond.cpp
+3
-3
platforms/reference/src/SimTKReference/ReferenceRbDihedralBond.cpp
.../reference/src/SimTKReference/ReferenceRbDihedralBond.cpp
+3
-3
platforms/reference/src/SimTKReference/ReferenceShakeAlgorithm.cpp
.../reference/src/SimTKReference/ReferenceShakeAlgorithm.cpp
+3
-3
platforms/reference/src/SimTKReference/ReferenceStochasticDynamics.cpp
...erence/src/SimTKReference/ReferenceStochasticDynamics.cpp
+3
-3
platforms/reference/src/SimTKUtilities/SimTKOpenMMGpuUtilities.cpp
.../reference/src/SimTKUtilities/SimTKOpenMMGpuUtilities.cpp
+6
-6
No files found.
platforms/reference/src/SimTKReference/ReferenceBondIxn.cpp
View file @
012b28e6
...
@@ -25,9 +25,9 @@
...
@@ -25,9 +25,9 @@
#include <string.h>
#include <string.h>
#include <sstream>
#include <sstream>
#include "SimTKOpenMMCommon.h"
#include "
../SimTKUtilities/
SimTKOpenMMCommon.h"
#include "SimTKOpenMMLog.h"
#include "
../SimTKUtilities/
SimTKOpenMMLog.h"
#include "SimTKOpenMMUtilities.h"
#include "
../SimTKUtilities/
SimTKOpenMMUtilities.h"
#include "ReferenceForce.h"
#include "ReferenceForce.h"
#include "ReferenceBondIxn.h"
#include "ReferenceBondIxn.h"
...
...
platforms/reference/src/SimTKReference/ReferenceConstraint.cpp
View file @
012b28e6
...
@@ -25,9 +25,9 @@
...
@@ -25,9 +25,9 @@
#include <string.h>
#include <string.h>
#include <sstream>
#include <sstream>
#include "SimTKOpenMMCommon.h"
#include "
../SimTKUtilities/
SimTKOpenMMCommon.h"
#include "SimTKOpenMMLog.h"
#include "
../SimTKUtilities/
SimTKOpenMMLog.h"
#include "SimTKOpenMMUtilities.h"
#include "
../SimTKUtilities/
SimTKOpenMMUtilities.h"
#include "ReferenceConstraint.h"
#include "ReferenceConstraint.h"
#include "ReferenceDynamics.h"
#include "ReferenceDynamics.h"
...
...
platforms/reference/src/SimTKReference/ReferenceDynamics.cpp
View file @
012b28e6
...
@@ -25,11 +25,15 @@
...
@@ -25,11 +25,15 @@
#include <string.h>
#include <string.h>
#include <sstream>
#include <sstream>
#include "SimTKOpenMMCommon.h"
#include "
../SimTKUtilities/
SimTKOpenMMCommon.h"
#include "SimTKOpenMMLog.h"
#include "
../SimTKUtilities/
SimTKOpenMMLog.h"
#include "SimTKOpenMMUtilities.h"
#include "
../SimTKUtilities/
SimTKOpenMMUtilities.h"
#include "ReferenceDynamics.h"
#include "ReferenceDynamics.h"
const
int
ReferenceDynamics
::
DefaultReturn
=
0
;
const
int
ReferenceDynamics
::
ErrorReturn
=
-
1
;
/**---------------------------------------------------------------------------------------
/**---------------------------------------------------------------------------------------
ReferenceDynamics constructor
ReferenceDynamics constructor
...
...
platforms/reference/src/SimTKReference/ReferenceDynamics.h
View file @
012b28e6
...
@@ -49,8 +49,8 @@ class ReferenceDynamics {
...
@@ -49,8 +49,8 @@ class ReferenceDynamics {
--------------------------------------------------------------------------------------- */
--------------------------------------------------------------------------------------- */
static
const
int
DefaultReturn
=
0
;
static
const
int
DefaultReturn
;
static
const
int
ErrorReturn
=
-
1
;
static
const
int
ErrorReturn
;
private:
private:
...
...
platforms/reference/src/SimTKReference/ReferenceForce.cpp
View file @
012b28e6
...
@@ -25,9 +25,9 @@
...
@@ -25,9 +25,9 @@
#include <string.h>
#include <string.h>
#include <sstream>
#include <sstream>
#include "SimTKOpenMMCommon.h"
#include "
../SimTKUtilities/
SimTKOpenMMCommon.h"
#include "SimTKOpenMMLog.h"
#include "
../SimTKUtilities/
SimTKOpenMMLog.h"
#include "SimTKOpenMMUtilities.h"
#include "
../SimTKUtilities/
SimTKOpenMMUtilities.h"
#include "ReferenceForce.h"
#include "ReferenceForce.h"
/**---------------------------------------------------------------------------------------
/**---------------------------------------------------------------------------------------
...
...
platforms/reference/src/SimTKReference/ReferenceHarmonicBondIxn.cpp
View file @
012b28e6
...
@@ -25,9 +25,9 @@
...
@@ -25,9 +25,9 @@
#include <string.h>
#include <string.h>
#include <sstream>
#include <sstream>
#include "SimTKOpenMMCommon.h"
#include "
../SimTKUtilities/
SimTKOpenMMCommon.h"
#include "SimTKOpenMMLog.h"
#include "
../SimTKUtilities/
SimTKOpenMMLog.h"
#include "SimTKOpenMMUtilities.h"
#include "
../SimTKUtilities/
SimTKOpenMMUtilities.h"
#include "ReferenceHarmonicBondIxn.h"
#include "ReferenceHarmonicBondIxn.h"
#include "ReferenceForce.h"
#include "ReferenceForce.h"
...
...
platforms/reference/src/SimTKReference/ReferenceLJ14.cpp
View file @
012b28e6
...
@@ -25,9 +25,9 @@
...
@@ -25,9 +25,9 @@
#include <string.h>
#include <string.h>
#include <sstream>
#include <sstream>
#include "SimTKOpenMMCommon.h"
#include "
../SimTKUtilities/
SimTKOpenMMCommon.h"
#include "SimTKOpenMMLog.h"
#include "
../SimTKUtilities/
SimTKOpenMMLog.h"
#include "SimTKOpenMMUtilities.h"
#include "
../SimTKUtilities/
SimTKOpenMMUtilities.h"
#include "ReferenceLJ14.h"
#include "ReferenceLJ14.h"
#include "ReferenceForce.h"
#include "ReferenceForce.h"
...
...
platforms/reference/src/SimTKReference/ReferenceLJCoulombIxn.cpp
View file @
012b28e6
...
@@ -25,9 +25,9 @@
...
@@ -25,9 +25,9 @@
#include <string.h>
#include <string.h>
#include <sstream>
#include <sstream>
#include "SimTKOpenMMCommon.h"
#include "
../SimTKUtilities/
SimTKOpenMMCommon.h"
#include "SimTKOpenMMLog.h"
#include "
../SimTKUtilities/
SimTKOpenMMLog.h"
#include "SimTKOpenMMUtilities.h"
#include "
../SimTKUtilities/
SimTKOpenMMUtilities.h"
#include "ReferenceLJCoulombIxn.h"
#include "ReferenceLJCoulombIxn.h"
#include "ReferenceForce.h"
#include "ReferenceForce.h"
...
...
platforms/reference/src/SimTKReference/ReferencePairIxn.cpp
View file @
012b28e6
...
@@ -25,9 +25,9 @@
...
@@ -25,9 +25,9 @@
#include <string.h>
#include <string.h>
#include <sstream>
#include <sstream>
#include "SimTKOpenMMCommon.h"
#include "
../SimTKUtilities/
SimTKOpenMMCommon.h"
#include "SimTKOpenMMLog.h"
#include "
../SimTKUtilities/
SimTKOpenMMLog.h"
#include "SimTKOpenMMUtilities.h"
#include "
../SimTKUtilities/
SimTKOpenMMUtilities.h"
#include "ReferenceForce.h"
#include "ReferenceForce.h"
#include "ReferencePairIxn.h"
#include "ReferencePairIxn.h"
...
...
platforms/reference/src/SimTKReference/ReferenceProperDihedralBond.cpp
View file @
012b28e6
...
@@ -25,9 +25,9 @@
...
@@ -25,9 +25,9 @@
#include <string.h>
#include <string.h>
#include <sstream>
#include <sstream>
#include "SimTKOpenMMCommon.h"
#include "
../SimTKUtilities/
SimTKOpenMMCommon.h"
#include "SimTKOpenMMLog.h"
#include "
../SimTKUtilities/
SimTKOpenMMLog.h"
#include "SimTKOpenMMUtilities.h"
#include "
../SimTKUtilities/
SimTKOpenMMUtilities.h"
#include "ReferenceProperDihedralBond.h"
#include "ReferenceProperDihedralBond.h"
#include "ReferenceForce.h"
#include "ReferenceForce.h"
...
...
platforms/reference/src/SimTKReference/ReferenceRbDihedralBond.cpp
View file @
012b28e6
...
@@ -25,9 +25,9 @@
...
@@ -25,9 +25,9 @@
#include <string.h>
#include <string.h>
#include <sstream>
#include <sstream>
#include "SimTKOpenMMCommon.h"
#include "
../SimTKUtilities/
SimTKOpenMMCommon.h"
#include "SimTKOpenMMLog.h"
#include "
../SimTKUtilities/
SimTKOpenMMLog.h"
#include "SimTKOpenMMUtilities.h"
#include "
../SimTKUtilities/
SimTKOpenMMUtilities.h"
#include "ReferenceRbDihedralBond.h"
#include "ReferenceRbDihedralBond.h"
#include "ReferenceForce.h"
#include "ReferenceForce.h"
...
...
platforms/reference/src/SimTKReference/ReferenceShakeAlgorithm.cpp
View file @
012b28e6
...
@@ -25,9 +25,9 @@
...
@@ -25,9 +25,9 @@
#include <string.h>
#include <string.h>
#include <sstream>
#include <sstream>
#include "SimTKOpenMMCommon.h"
#include "
../SimTKUtilities/
SimTKOpenMMCommon.h"
#include "SimTKOpenMMUtilities.h"
#include "
../SimTKUtilities/
SimTKOpenMMUtilities.h"
#include "SimTKOpenMMLog.h"
#include "
../SimTKUtilities/
SimTKOpenMMLog.h"
#include "ReferenceShakeAlgorithm.h"
#include "ReferenceShakeAlgorithm.h"
#include "ReferenceDynamics.h"
#include "ReferenceDynamics.h"
...
...
platforms/reference/src/SimTKReference/ReferenceStochasticDynamics.cpp
View file @
012b28e6
...
@@ -25,9 +25,9 @@
...
@@ -25,9 +25,9 @@
#include <string.h>
#include <string.h>
#include <sstream>
#include <sstream>
#include "SimTKOpenMMCommon.h"
#include "
../SimTKUtilities/
SimTKOpenMMCommon.h"
#include "SimTKOpenMMLog.h"
#include "
../SimTKUtilities/
SimTKOpenMMLog.h"
#include "SimTKOpenMMUtilities.h"
#include "
../SimTKUtilities/
SimTKOpenMMUtilities.h"
#include "ReferenceStochasticDynamics.h"
#include "ReferenceStochasticDynamics.h"
/**---------------------------------------------------------------------------------------
/**---------------------------------------------------------------------------------------
...
...
platforms/reference/src/SimTKUtilities/SimTKOpenMMGpuUtilities.cpp
View file @
012b28e6
...
@@ -31,12 +31,12 @@
...
@@ -31,12 +31,12 @@
#include <math.h>
#include <math.h>
#define UseGromacsMalloc 1
//
#define UseGromacsMalloc 1
#ifdef UseGromacsMalloc
//
#ifdef UseGromacsMalloc
extern
"C"
{
//
extern "C" {
#include "smalloc.h"
//
#include "smalloc.h"
}
//
}
#endif
//
#endif
/* ---------------------------------------------------------------------------------------
/* ---------------------------------------------------------------------------------------
...
...
Prev
1
2
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