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
0671c7b0
"serialization/src/CustomIntegratorProxy.cpp" did not exist on "0ea02ab945d173a9cd3248851526872b75354f29"
Commit
0671c7b0
authored
Feb 20, 2015
by
peastman
Browse files
Elimininated obsolete SimTKOpenMMCommon files
parent
7fb10336
Changes
55
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
42 additions
and
115 deletions
+42
-115
platforms/cpu/src/CpuCustomGBForce.cpp
platforms/cpu/src/CpuCustomGBForce.cpp
+0
-1
platforms/cpu/src/CpuCustomManyParticleForce.cpp
platforms/cpu/src/CpuCustomManyParticleForce.cpp
+0
-1
platforms/cpu/src/CpuCustomNonbondedForce.cpp
platforms/cpu/src/CpuCustomNonbondedForce.cpp
+0
-1
platforms/cpu/src/CpuLangevinDynamics.cpp
platforms/cpu/src/CpuLangevinDynamics.cpp
+0
-1
platforms/cpu/src/CpuNonbondedForce.cpp
platforms/cpu/src/CpuNonbondedForce.cpp
+0
-1
platforms/cpu/src/CpuNonbondedForceVec4.cpp
platforms/cpu/src/CpuNonbondedForceVec4.cpp
+0
-1
platforms/cpu/src/CpuNonbondedForceVec8.cpp
platforms/cpu/src/CpuNonbondedForceVec8.cpp
+0
-1
platforms/reference/include/CpuGBVI.h
platforms/reference/include/CpuGBVI.h
+8
-8
platforms/reference/include/CpuObc.h
platforms/reference/include/CpuObc.h
+9
-9
platforms/reference/include/GBVIParameters.h
platforms/reference/include/GBVIParameters.h
+11
-10
platforms/reference/include/ObcParameters.h
platforms/reference/include/ObcParameters.h
+8
-7
platforms/reference/include/ReferenceAndersenThermostat.h
platforms/reference/include/ReferenceAndersenThermostat.h
+0
-1
platforms/reference/include/ReferenceCMAPTorsionIxn.h
platforms/reference/include/ReferenceCMAPTorsionIxn.h
+0
-1
platforms/reference/include/ReferenceConstraintAlgorithm.h
platforms/reference/include/ReferenceConstraintAlgorithm.h
+2
-1
platforms/reference/include/ReferenceDynamics.h
platforms/reference/include/ReferenceDynamics.h
+0
-1
platforms/reference/include/ReferenceLincsAlgorithm.h
platforms/reference/include/ReferenceLincsAlgorithm.h
+2
-8
platforms/reference/include/ReferenceMonteCarloBarostat.h
platforms/reference/include/ReferenceMonteCarloBarostat.h
+0
-1
platforms/reference/include/ReferencePME.h
platforms/reference/include/ReferencePME.h
+1
-1
platforms/reference/include/ReferencePairIxn.h
platforms/reference/include/ReferencePairIxn.h
+1
-0
platforms/reference/include/SimTKOpenMMCommon.h
platforms/reference/include/SimTKOpenMMCommon.h
+0
-60
No files found.
platforms/cpu/src/CpuCustomGBForce.cpp
View file @
0671c7b0
...
@@ -25,7 +25,6 @@
...
@@ -25,7 +25,6 @@
#include <string.h>
#include <string.h>
#include <sstream>
#include <sstream>
#include "SimTKOpenMMCommon.h"
#include "SimTKOpenMMUtilities.h"
#include "SimTKOpenMMUtilities.h"
#include "ReferenceForce.h"
#include "ReferenceForce.h"
#include "CpuCustomGBForce.h"
#include "CpuCustomGBForce.h"
...
...
platforms/cpu/src/CpuCustomManyParticleForce.cpp
View file @
0671c7b0
...
@@ -26,7 +26,6 @@
...
@@ -26,7 +26,6 @@
#include <sstream>
#include <sstream>
#include <utility>
#include <utility>
#include "SimTKOpenMMCommon.h"
#include "SimTKOpenMMUtilities.h"
#include "SimTKOpenMMUtilities.h"
#include "ReferenceForce.h"
#include "ReferenceForce.h"
#include "CpuCustomManyParticleForce.h"
#include "CpuCustomManyParticleForce.h"
...
...
platforms/cpu/src/CpuCustomNonbondedForce.cpp
View file @
0671c7b0
...
@@ -25,7 +25,6 @@
...
@@ -25,7 +25,6 @@
#include <string.h>
#include <string.h>
#include <sstream>
#include <sstream>
#include "SimTKOpenMMCommon.h"
#include "SimTKOpenMMUtilities.h"
#include "SimTKOpenMMUtilities.h"
#include "ReferenceForce.h"
#include "ReferenceForce.h"
#include "CpuCustomNonbondedForce.h"
#include "CpuCustomNonbondedForce.h"
...
...
platforms/cpu/src/CpuLangevinDynamics.cpp
View file @
0671c7b0
...
@@ -23,7 +23,6 @@
...
@@ -23,7 +23,6 @@
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
*/
#include "SimTKOpenMMCommon.h"
#include "SimTKOpenMMUtilities.h"
#include "SimTKOpenMMUtilities.h"
#include "CpuLangevinDynamics.h"
#include "CpuLangevinDynamics.h"
...
...
platforms/cpu/src/CpuNonbondedForce.cpp
View file @
0671c7b0
...
@@ -24,7 +24,6 @@
...
@@ -24,7 +24,6 @@
#include <complex>
#include <complex>
#include "SimTKOpenMMCommon.h"
#include "SimTKOpenMMUtilities.h"
#include "SimTKOpenMMUtilities.h"
#include "CpuNonbondedForce.h"
#include "CpuNonbondedForce.h"
#include "ReferenceForce.h"
#include "ReferenceForce.h"
...
...
platforms/cpu/src/CpuNonbondedForceVec4.cpp
View file @
0671c7b0
...
@@ -22,7 +22,6 @@
...
@@ -22,7 +22,6 @@
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
*/
#include "SimTKOpenMMCommon.h"
#include "SimTKOpenMMUtilities.h"
#include "SimTKOpenMMUtilities.h"
#include "CpuNonbondedForceVec4.h"
#include "CpuNonbondedForceVec4.h"
...
...
platforms/cpu/src/CpuNonbondedForceVec8.cpp
View file @
0671c7b0
...
@@ -22,7 +22,6 @@
...
@@ -22,7 +22,6 @@
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
*/
#include "SimTKOpenMMCommon.h"
#include "SimTKOpenMMUtilities.h"
#include "SimTKOpenMMUtilities.h"
#include "CpuNonbondedForceVec8.h"
#include "CpuNonbondedForceVec8.h"
#include "openmm/OpenMMException.h"
#include "openmm/OpenMMException.h"
...
...
platforms/reference/include/CpuGBVI.h
View file @
0671c7b0
...
@@ -39,7 +39,7 @@ class CpuGBVI {
...
@@ -39,7 +39,7 @@ class CpuGBVI {
// GB/VI parameters
// GB/VI parameters
GBVIParameters
*
_gbviParameters
;
GBVIParameters
*
_gbviParameters
;
RealOpenMM
Vector
_switchDeriviative
;
std
::
vector
<
RealOpenMM
>
_switchDeriviative
;
public:
public:
...
@@ -93,7 +93,7 @@ class CpuGBVI {
...
@@ -93,7 +93,7 @@ class CpuGBVI {
--------------------------------------------------------------------------------------- */
--------------------------------------------------------------------------------------- */
void
computeBornRadii
(
const
std
::
vector
<
OpenMM
::
RealVec
>&
atomCoordinates
,
RealOpenMM
Vector
&
bornRadii
);
void
computeBornRadii
(
const
std
::
vector
<
OpenMM
::
RealVec
>&
atomCoordinates
,
std
::
vector
<
RealOpenMM
>
&
bornRadii
);
/**---------------------------------------------------------------------------------------
/**---------------------------------------------------------------------------------------
...
@@ -174,7 +174,7 @@ class CpuGBVI {
...
@@ -174,7 +174,7 @@ class CpuGBVI {
--------------------------------------------------------------------------------------- */
--------------------------------------------------------------------------------------- */
RealOpenMM
computeBornEnergy
(
const
std
::
vector
<
OpenMM
::
RealVec
>&
atomCoordinates
,
const
RealOpenMM
Vector
&
partialCharges
);
RealOpenMM
computeBornEnergy
(
const
std
::
vector
<
OpenMM
::
RealVec
>&
atomCoordinates
,
const
std
::
vector
<
RealOpenMM
>
&
partialCharges
);
/**---------------------------------------------------------------------------------------
/**---------------------------------------------------------------------------------------
...
@@ -187,7 +187,7 @@ class CpuGBVI {
...
@@ -187,7 +187,7 @@ class CpuGBVI {
--------------------------------------------------------------------------------------- */
--------------------------------------------------------------------------------------- */
void
computeBornForces
(
std
::
vector
<
OpenMM
::
RealVec
>&
atomCoordinates
,
void
computeBornForces
(
std
::
vector
<
OpenMM
::
RealVec
>&
atomCoordinates
,
const
RealOpenMM
Vector
&
partialCharges
,
std
::
vector
<
OpenMM
::
RealVec
>&
inputForces
);
const
std
::
vector
<
RealOpenMM
>
&
partialCharges
,
std
::
vector
<
OpenMM
::
RealVec
>&
inputForces
);
/**---------------------------------------------------------------------------------------
/**---------------------------------------------------------------------------------------
...
@@ -254,7 +254,7 @@ class CpuGBVI {
...
@@ -254,7 +254,7 @@ class CpuGBVI {
--------------------------------------------------------------------------------------- */
--------------------------------------------------------------------------------------- */
RealOpenMM
Vector
&
getSwitchDeriviative
();
std
::
vector
<
RealOpenMM
>
&
getSwitchDeriviative
();
/**---------------------------------------------------------------------------------------
/**---------------------------------------------------------------------------------------
...
@@ -303,9 +303,9 @@ class CpuGBVI {
...
@@ -303,9 +303,9 @@ class CpuGBVI {
--------------------------------------------------------------------------------------- */
--------------------------------------------------------------------------------------- */
void
printGbvi
(
const
std
::
vector
<
OpenMM
::
RealVec
>&
atomCoordinates
,
const
RealOpenMM
Vector
&
partialCharges
,
void
printGbvi
(
const
std
::
vector
<
OpenMM
::
RealVec
>&
atomCoordinates
,
const
std
::
vector
<
RealOpenMM
>
&
partialCharges
,
const
RealOpenMM
Vector
&
bornRadii
,
const
std
::
vector
<
RealOpenMM
>
&
bornRadii
,
const
RealOpenMM
Vector
&
bornForces
,
const
std
::
vector
<
RealOpenMM
>
&
bornForces
,
const
std
::
vector
<
OpenMM
::
RealVec
>&
forces
,
const
std
::
vector
<
OpenMM
::
RealVec
>&
forces
,
const
std
::
string
&
idString
,
FILE
*
log
);
const
std
::
string
&
idString
,
FILE
*
log
);
...
...
platforms/reference/include/CpuObc.h
View file @
0671c7b0
...
@@ -39,7 +39,7 @@ class CpuObc {
...
@@ -39,7 +39,7 @@ class CpuObc {
// arrays containing OBC chain derivative
// arrays containing OBC chain derivative
RealOpenMM
Vector
_obcChain
;
std
::
vector
<
RealOpenMM
>
_obcChain
;
// flag to signal whether ACE approximation
// flag to signal whether ACE approximation
// is to be included
// is to be included
...
@@ -117,7 +117,7 @@ class CpuObc {
...
@@ -117,7 +117,7 @@ class CpuObc {
--------------------------------------------------------------------------------------- */
--------------------------------------------------------------------------------------- */
RealOpenMM
Vector
&
getObcChain
();
std
::
vector
<
RealOpenMM
>
&
getObcChain
();
/**---------------------------------------------------------------------------------------
/**---------------------------------------------------------------------------------------
...
@@ -128,7 +128,7 @@ class CpuObc {
...
@@ -128,7 +128,7 @@ class CpuObc {
--------------------------------------------------------------------------------------- */
--------------------------------------------------------------------------------------- */
void
computeBornRadii
(
const
std
::
vector
<
OpenMM
::
RealVec
>&
atomCoordinates
,
RealOpenMM
Vector
&
bornRadii
);
void
computeBornRadii
(
const
std
::
vector
<
OpenMM
::
RealVec
>&
atomCoordinates
,
std
::
vector
<
RealOpenMM
>
&
bornRadii
);
/**---------------------------------------------------------------------------------------
/**---------------------------------------------------------------------------------------
...
@@ -142,8 +142,8 @@ class CpuObc {
...
@@ -142,8 +142,8 @@ class CpuObc {
--------------------------------------------------------------------------------------- */
--------------------------------------------------------------------------------------- */
void
computeAceNonPolarForce
(
const
ObcParameters
*
obcParameters
,
const
RealOpenMM
Vector
&
bornRadii
,
void
computeAceNonPolarForce
(
const
ObcParameters
*
obcParameters
,
const
std
::
vector
<
RealOpenMM
>
&
bornRadii
,
RealOpenMM
*
energy
,
RealOpenMM
Vector
&
forces
)
const
;
RealOpenMM
*
energy
,
std
::
vector
<
RealOpenMM
>
&
forces
)
const
;
/**---------------------------------------------------------------------------------------
/**---------------------------------------------------------------------------------------
...
@@ -156,7 +156,7 @@ class CpuObc {
...
@@ -156,7 +156,7 @@ class CpuObc {
--------------------------------------------------------------------------------------- */
--------------------------------------------------------------------------------------- */
RealOpenMM
computeBornEnergyForces
(
const
std
::
vector
<
OpenMM
::
RealVec
>&
atomCoordinates
,
RealOpenMM
computeBornEnergyForces
(
const
std
::
vector
<
OpenMM
::
RealVec
>&
atomCoordinates
,
const
RealOpenMM
Vector
&
partialCharges
,
std
::
vector
<
OpenMM
::
RealVec
>&
forces
);
const
std
::
vector
<
RealOpenMM
>
&
partialCharges
,
std
::
vector
<
OpenMM
::
RealVec
>&
forces
);
/**---------------------------------------------------------------------------------------
/**---------------------------------------------------------------------------------------
...
@@ -173,9 +173,9 @@ class CpuObc {
...
@@ -173,9 +173,9 @@ class CpuObc {
--------------------------------------------------------------------------------------- */
--------------------------------------------------------------------------------------- */
void
printObc
(
const
std
::
vector
<
OpenMM
::
RealVec
>&
atomCoordinates
,
void
printObc
(
const
std
::
vector
<
OpenMM
::
RealVec
>&
atomCoordinates
,
const
RealOpenMM
Vector
&
partialCharges
,
const
std
::
vector
<
RealOpenMM
>
&
partialCharges
,
const
RealOpenMM
Vector
&
bornRadii
,
const
std
::
vector
<
RealOpenMM
>
&
bornRadii
,
const
RealOpenMM
Vector
&
bornForces
,
const
std
::
vector
<
RealOpenMM
>
&
bornForces
,
const
std
::
vector
<
OpenMM
::
RealVec
>&
forces
,
const
std
::
vector
<
OpenMM
::
RealVec
>&
forces
,
const
std
::
string
&
idString
,
FILE
*
log
);
const
std
::
string
&
idString
,
FILE
*
log
);
...
...
platforms/reference/include/GBVIParameters.h
View file @
0671c7b0
...
@@ -25,7 +25,8 @@
...
@@ -25,7 +25,8 @@
#ifndef __GBVIParameters_H__
#ifndef __GBVIParameters_H__
#define __GBVIParameters_H__
#define __GBVIParameters_H__
#include "SimTKOpenMMCommon.h"
#include "RealVec.h"
#include <vector>
namespace
OpenMM
{
namespace
OpenMM
{
...
@@ -57,9 +58,9 @@ class GBVIParameters {
...
@@ -57,9 +58,9 @@ class GBVIParameters {
// parameter vectors
// parameter vectors
RealOpenMM
Vector
_atomicRadii
;
std
::
vector
<
RealOpenMM
>
_atomicRadii
;
RealOpenMM
Vector
_scaledRadii
;
std
::
vector
<
RealOpenMM
>
_scaledRadii
;
RealOpenMM
Vector
_gammaParameters
;
std
::
vector
<
RealOpenMM
>
_gammaParameters
;
// cutoff and periodic boundary conditions
// cutoff and periodic boundary conditions
...
@@ -160,7 +161,7 @@ class GBVIParameters {
...
@@ -160,7 +161,7 @@ class GBVIParameters {
--------------------------------------------------------------------------------------- */
--------------------------------------------------------------------------------------- */
const
RealOpenMM
Vector
&
getScaledRadii
()
const
;
const
std
::
vector
<
RealOpenMM
>
&
getScaledRadii
()
const
;
/**---------------------------------------------------------------------------------------
/**---------------------------------------------------------------------------------------
...
@@ -170,7 +171,7 @@ class GBVIParameters {
...
@@ -170,7 +171,7 @@ class GBVIParameters {
--------------------------------------------------------------------------------------- */
--------------------------------------------------------------------------------------- */
void
setScaledRadii
(
const
RealOpenMM
Vector
&
scaledRadii
);
void
setScaledRadii
(
const
std
::
vector
<
RealOpenMM
>
&
scaledRadii
);
/**---------------------------------------------------------------------------------------
/**---------------------------------------------------------------------------------------
...
@@ -180,7 +181,7 @@ class GBVIParameters {
...
@@ -180,7 +181,7 @@ class GBVIParameters {
--------------------------------------------------------------------------------------- */
--------------------------------------------------------------------------------------- */
const
RealOpenMM
Vector
&
getAtomicRadii
()
const
;
const
std
::
vector
<
RealOpenMM
>
&
getAtomicRadii
()
const
;
/**---------------------------------------------------------------------------------------
/**---------------------------------------------------------------------------------------
...
@@ -190,7 +191,7 @@ class GBVIParameters {
...
@@ -190,7 +191,7 @@ class GBVIParameters {
--------------------------------------------------------------------------------------- */
--------------------------------------------------------------------------------------- */
void
setAtomicRadii
(
const
RealOpenMM
Vector
&
atomicRadii
);
void
setAtomicRadii
(
const
std
::
vector
<
RealOpenMM
>
&
atomicRadii
);
/**---------------------------------------------------------------------------------------
/**---------------------------------------------------------------------------------------
...
@@ -200,7 +201,7 @@ class GBVIParameters {
...
@@ -200,7 +201,7 @@ class GBVIParameters {
--------------------------------------------------------------------------------------- */
--------------------------------------------------------------------------------------- */
const
RealOpenMM
Vector
&
getGammaParameters
()
const
;
const
std
::
vector
<
RealOpenMM
>
&
getGammaParameters
()
const
;
/**---------------------------------------------------------------------------------------
/**---------------------------------------------------------------------------------------
...
@@ -210,7 +211,7 @@ class GBVIParameters {
...
@@ -210,7 +211,7 @@ class GBVIParameters {
--------------------------------------------------------------------------------------- */
--------------------------------------------------------------------------------------- */
void
setGammaParameters
(
const
RealOpenMM
Vector
&
gammaParameters
);
void
setGammaParameters
(
const
std
::
vector
<
RealOpenMM
>
&
gammaParameters
);
/**---------------------------------------------------------------------------------------
/**---------------------------------------------------------------------------------------
...
...
platforms/reference/include/ObcParameters.h
View file @
0671c7b0
...
@@ -25,7 +25,8 @@
...
@@ -25,7 +25,8 @@
#ifndef __ObcParameters_H__
#ifndef __ObcParameters_H__
#define __ObcParameters_H__
#define __ObcParameters_H__
#include "SimTKOpenMMCommon.h"
#include "RealVec.h"
#include <vector>
namespace
OpenMM
{
namespace
OpenMM
{
...
@@ -57,8 +58,8 @@ class ObcParameters {
...
@@ -57,8 +58,8 @@ class ObcParameters {
// scaled radius factors (S_kk in HCT paper)
// scaled radius factors (S_kk in HCT paper)
RealOpenMM
Vector
_atomicRadii
;
std
::
vector
<
RealOpenMM
>
_atomicRadii
;
RealOpenMM
Vector
_scaledRadiusFactors
;
std
::
vector
<
RealOpenMM
>
_scaledRadiusFactors
;
// cutoff and periodic boundary conditions
// cutoff and periodic boundary conditions
...
@@ -264,7 +265,7 @@ class ObcParameters {
...
@@ -264,7 +265,7 @@ class ObcParameters {
--------------------------------------------------------------------------------------- */
--------------------------------------------------------------------------------------- */
const
RealOpenMM
Vector
&
getScaledRadiusFactors
()
const
;
const
std
::
vector
<
RealOpenMM
>
&
getScaledRadiusFactors
()
const
;
/**---------------------------------------------------------------------------------------
/**---------------------------------------------------------------------------------------
...
@@ -274,7 +275,7 @@ class ObcParameters {
...
@@ -274,7 +275,7 @@ class ObcParameters {
--------------------------------------------------------------------------------------- */
--------------------------------------------------------------------------------------- */
void
setScaledRadiusFactors
(
const
RealOpenMM
Vector
&
scaledRadiusFactors
);
void
setScaledRadiusFactors
(
const
std
::
vector
<
RealOpenMM
>
&
scaledRadiusFactors
);
/**---------------------------------------------------------------------------------------
/**---------------------------------------------------------------------------------------
...
@@ -284,7 +285,7 @@ class ObcParameters {
...
@@ -284,7 +285,7 @@ class ObcParameters {
--------------------------------------------------------------------------------------- */
--------------------------------------------------------------------------------------- */
const
RealOpenMM
Vector
&
getAtomicRadii
()
const
;
const
std
::
vector
<
RealOpenMM
>
&
getAtomicRadii
()
const
;
/**---------------------------------------------------------------------------------------
/**---------------------------------------------------------------------------------------
...
@@ -294,7 +295,7 @@ class ObcParameters {
...
@@ -294,7 +295,7 @@ class ObcParameters {
--------------------------------------------------------------------------------------- */
--------------------------------------------------------------------------------------- */
void
setAtomicRadii
(
const
RealOpenMM
Vector
&
atomicRadii
);
void
setAtomicRadii
(
const
std
::
vector
<
RealOpenMM
>
&
atomicRadii
);
/**---------------------------------------------------------------------------------------
/**---------------------------------------------------------------------------------------
...
...
platforms/reference/include/ReferenceAndersenThermostat.h
View file @
0671c7b0
...
@@ -25,7 +25,6 @@
...
@@ -25,7 +25,6 @@
#ifndef __ReferenceAndersenThermostat_H__
#ifndef __ReferenceAndersenThermostat_H__
#define __ReferenceAndersenThermostat_H__
#define __ReferenceAndersenThermostat_H__
#include "SimTKOpenMMCommon.h"
#include <vector>
#include <vector>
namespace
OpenMM
{
namespace
OpenMM
{
...
...
platforms/reference/include/ReferenceCMAPTorsionIxn.h
View file @
0671c7b0
...
@@ -25,7 +25,6 @@
...
@@ -25,7 +25,6 @@
#ifndef __ReferenceCMAPTorsionIxn_H__
#ifndef __ReferenceCMAPTorsionIxn_H__
#define __ReferenceCMAPTorsionIxn_H__
#define __ReferenceCMAPTorsionIxn_H__
#include "SimTKOpenMMCommon.h"
#include "SimTKOpenMMUtilities.h"
#include "SimTKOpenMMUtilities.h"
#include "ReferenceBondIxn.h"
#include "ReferenceBondIxn.h"
#include <vector>
#include <vector>
...
...
platforms/reference/include/ReferenceConstraintAlgorithm.h
View file @
0671c7b0
...
@@ -25,8 +25,9 @@
...
@@ -25,8 +25,9 @@
#ifndef __ReferenceConstraintAlgorithm_H__
#ifndef __ReferenceConstraintAlgorithm_H__
#define __ReferenceConstraintAlgorithm_H__
#define __ReferenceConstraintAlgorithm_H__
#include "
SimTKOpenMMCommon
.h"
#include "
RealVec
.h"
#include "openmm/internal/windowsExport.h"
#include "openmm/internal/windowsExport.h"
#include <vector>
namespace
OpenMM
{
namespace
OpenMM
{
...
...
platforms/reference/include/ReferenceDynamics.h
View file @
0671c7b0
...
@@ -26,7 +26,6 @@
...
@@ -26,7 +26,6 @@
#define __ReferenceDynamics_H__
#define __ReferenceDynamics_H__
#include "ReferenceConstraintAlgorithm.h"
#include "ReferenceConstraintAlgorithm.h"
#include "SimTKOpenMMCommon.h"
#include "openmm/System.h"
#include "openmm/System.h"
#include <cstddef>
#include <cstddef>
#include <vector>
#include <vector>
...
...
platforms/reference/include/ReferenceLincsAlgorithm.h
View file @
0671c7b0
...
@@ -131,12 +131,9 @@ class ReferenceLincsAlgorithm : public ReferenceConstraintAlgorithm {
...
@@ -131,12 +131,9 @@ class ReferenceLincsAlgorithm : public ReferenceConstraintAlgorithm {
@param atomCoordinatesP atom coordinates prime
@param atomCoordinatesP atom coordinates prime
@param inverseMasses 1/mass
@param inverseMasses 1/mass
@return SimTKOpenMMCommon::DefaultReturn if converge; else
return SimTKOpenMMCommon::ErrorReturn
--------------------------------------------------------------------------------------- */
--------------------------------------------------------------------------------------- */
int
apply
(
int
numberOfAtoms
,
std
::
vector
<
OpenMM
::
RealVec
>&
atomCoordinates
,
void
apply
(
int
numberOfAtoms
,
std
::
vector
<
OpenMM
::
RealVec
>&
atomCoordinates
,
std
::
vector
<
OpenMM
::
RealVec
>&
atomCoordinatesP
,
std
::
vector
<
RealOpenMM
>&
inverseMasses
);
std
::
vector
<
OpenMM
::
RealVec
>&
atomCoordinatesP
,
std
::
vector
<
RealOpenMM
>&
inverseMasses
);
/**---------------------------------------------------------------------------------------
/**---------------------------------------------------------------------------------------
...
@@ -148,12 +145,9 @@ class ReferenceLincsAlgorithm : public ReferenceConstraintAlgorithm {
...
@@ -148,12 +145,9 @@ class ReferenceLincsAlgorithm : public ReferenceConstraintAlgorithm {
@param velocities atom velocities
@param velocities atom velocities
@param inverseMasses 1/mass
@param inverseMasses 1/mass
@return SimTKOpenMMCommon::DefaultReturn if converge; else
return SimTKOpenMMCommon::ErrorReturn
--------------------------------------------------------------------------------------- */
--------------------------------------------------------------------------------------- */
int
applyToVelocities
(
int
numberOfAtoms
,
std
::
vector
<
OpenMM
::
RealVec
>&
atomCoordinates
,
void
applyToVelocities
(
int
numberOfAtoms
,
std
::
vector
<
OpenMM
::
RealVec
>&
atomCoordinates
,
std
::
vector
<
OpenMM
::
RealVec
>&
velocities
,
std
::
vector
<
RealOpenMM
>&
inverseMasses
);
std
::
vector
<
OpenMM
::
RealVec
>&
velocities
,
std
::
vector
<
RealOpenMM
>&
inverseMasses
);
};
};
...
...
platforms/reference/include/ReferenceMonteCarloBarostat.h
View file @
0671c7b0
...
@@ -25,7 +25,6 @@
...
@@ -25,7 +25,6 @@
#ifndef __ReferenceMonteCarloBarostat_H__
#ifndef __ReferenceMonteCarloBarostat_H__
#define __ReferenceMonteCarloBarostat_H__
#define __ReferenceMonteCarloBarostat_H__
#include "SimTKOpenMMCommon.h"
#include <utility>
#include <utility>
#include <vector>
#include <vector>
...
...
platforms/reference/include/ReferencePME.h
View file @
0671c7b0
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
#ifndef __ReferencePME_H__
#ifndef __ReferencePME_H__
#define __ReferencePME_H__
#define __ReferencePME_H__
#include "
SimTKOpenMMCommon
.h"
#include "
RealVec
.h"
#include "openmm/internal/windowsExport.h"
#include "openmm/internal/windowsExport.h"
#include <vector>
#include <vector>
...
...
platforms/reference/include/ReferencePairIxn.h
View file @
0671c7b0
...
@@ -27,6 +27,7 @@
...
@@ -27,6 +27,7 @@
#include "RealVec.h"
#include "RealVec.h"
#include "openmm/internal/windowsExport.h"
#include "openmm/internal/windowsExport.h"
#include <vector>
namespace
OpenMM
{
namespace
OpenMM
{
...
...
platforms/reference/include/SimTKOpenMMCommon.h
deleted
100644 → 0
View file @
7fb10336
/* Portions copyright (c) 2006 Stanford University and Simbios.
* Contributors: Pande Group
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject
* to the following conditions:
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS, CONTRIBUTORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#ifndef __SimTKOpenMMCommon_H__
#define __SimTKOpenMMCommon_H__
#include <vector>
#include <string>
#include "RealVec.h"
namespace
OpenMM
{
typedef
std
::
vector
<
RealOpenMM
>
RealOpenMMVector
;
typedef
RealOpenMMVector
::
iterator
RealOpenMMVectorI
;
typedef
RealOpenMMVector
::
const_iterator
RealOpenMMVectorCI
;
// ---------------------------------------------------------------------------------------
class
SimTKOpenMMCommon
{
public:
static
const
std
::
string
NotSet
;
static
const
RealOpenMM
BigCutoffValue
;
static
const
std
::
string
Comment
;
static
const
std
::
string
Tab
;
static
const
std
::
string
YesU
;
static
const
std
::
string
YesUl
;
static
const
std
::
string
YesL
;
// subroutine returns
static
const
int
DefaultReturn
;
static
const
int
ErrorReturn
;
};
}
// namespace OpenMM
#endif // __SimTKOpenMMCommon_H__
Prev
1
2
3
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