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
b256555e
Commit
b256555e
authored
Dec 12, 2012
by
Peter Eastman
Browse files
Fixed compilation errors on Windows
parent
59b69776
Changes
72
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
32 additions
and
32 deletions
+32
-32
platforms/opencl/src/OpenCLBondedUtilities.h
platforms/opencl/src/OpenCLBondedUtilities.h
+1
-1
platforms/opencl/src/OpenCLCompact.h
platforms/opencl/src/OpenCLCompact.h
+1
-1
platforms/opencl/src/OpenCLContext.h
platforms/opencl/src/OpenCLContext.h
+2
-2
platforms/opencl/src/OpenCLExpressionUtilities.h
platforms/opencl/src/OpenCLExpressionUtilities.h
+1
-1
platforms/opencl/src/OpenCLFFT3D.h
platforms/opencl/src/OpenCLFFT3D.h
+1
-1
platforms/opencl/src/OpenCLForceInfo.h
platforms/opencl/src/OpenCLForceInfo.h
+2
-2
platforms/opencl/src/OpenCLIntegrationUtilities.h
platforms/opencl/src/OpenCLIntegrationUtilities.h
+2
-2
platforms/opencl/src/OpenCLKernelSources.h.in
platforms/opencl/src/OpenCLKernelSources.h.in
+2
-2
platforms/opencl/src/OpenCLNonbondedUtilities.h
platforms/opencl/src/OpenCLNonbondedUtilities.h
+1
-1
platforms/opencl/src/OpenCLParameterSet.h
platforms/opencl/src/OpenCLParameterSet.h
+1
-1
platforms/opencl/src/OpenCLPlatform.cpp
platforms/opencl/src/OpenCLPlatform.cpp
+1
-1
platforms/opencl/src/OpenCLSort.h
platforms/opencl/src/OpenCLSort.h
+1
-1
plugins/amoeba/CMakeLists.txt
plugins/amoeba/CMakeLists.txt
+2
-2
plugins/amoeba/openmmapi/include/openmm/AmoebaAngleForce.h
plugins/amoeba/openmmapi/include/openmm/AmoebaAngleForce.h
+2
-2
plugins/amoeba/openmmapi/include/openmm/AmoebaBondForce.h
plugins/amoeba/openmmapi/include/openmm/AmoebaBondForce.h
+2
-2
plugins/amoeba/openmmapi/include/openmm/AmoebaGeneralizedKirkwoodForce.h
...openmmapi/include/openmm/AmoebaGeneralizedKirkwoodForce.h
+2
-2
plugins/amoeba/openmmapi/include/openmm/AmoebaInPlaneAngleForce.h
...amoeba/openmmapi/include/openmm/AmoebaInPlaneAngleForce.h
+2
-2
plugins/amoeba/openmmapi/include/openmm/AmoebaMultipoleForce.h
...ns/amoeba/openmmapi/include/openmm/AmoebaMultipoleForce.h
+2
-2
plugins/amoeba/openmmapi/include/openmm/AmoebaOutOfPlaneBendForce.h
...oeba/openmmapi/include/openmm/AmoebaOutOfPlaneBendForce.h
+2
-2
plugins/amoeba/openmmapi/include/openmm/AmoebaPiTorsionForce.h
...ns/amoeba/openmmapi/include/openmm/AmoebaPiTorsionForce.h
+2
-2
No files found.
platforms/opencl/src/OpenCLBondedUtilities.h
View file @
b256555e
...
...
@@ -78,7 +78,7 @@ namespace OpenMM {
* from your interaction code.
*/
class
OPENMM_EXPORT
OpenCLBondedUtilities
{
class
OPENMM_EXPORT
_OPENCL
OpenCLBondedUtilities
{
public:
OpenCLBondedUtilities
(
OpenCLContext
&
context
);
~
OpenCLBondedUtilities
();
...
...
platforms/opencl/src/OpenCLCompact.h
View file @
b256555e
...
...
@@ -29,7 +29,7 @@
namespace
OpenMM
{
class
OPENMM_EXPORT
OpenCLCompact
{
class
OPENMM_EXPORT
_OPENCL
OpenCLCompact
{
public:
OpenCLCompact
(
OpenCLContext
&
context
);
~
OpenCLCompact
();
...
...
platforms/opencl/src/OpenCLContext.h
View file @
b256555e
...
...
@@ -37,7 +37,7 @@
#define NOMINMAX
#endif
#include <cl.hpp>
#include "
openmm/internal/
windowsExport.h"
#include "windowsExport
OpenCL
.h"
#include "OpenCLPlatform.h"
namespace
OpenMM
{
...
...
@@ -153,7 +153,7 @@ struct mm_int16 {
* thread is not used and calculations are performed on the main application thread.
*/
class
OPENMM_EXPORT
OpenCLContext
{
class
OPENMM_EXPORT
_OPENCL
OpenCLContext
{
public:
class
WorkTask
;
class
WorkThread
;
...
...
platforms/opencl/src/OpenCLExpressionUtilities.h
View file @
b256555e
...
...
@@ -43,7 +43,7 @@ namespace OpenMM {
* user defined mathematical expressions.
*/
class
OPENMM_EXPORT
OpenCLExpressionUtilities
{
class
OPENMM_EXPORT
_OPENCL
OpenCLExpressionUtilities
{
public:
OpenCLExpressionUtilities
(
OpenCLContext
&
context
)
:
context
(
context
)
{
}
...
...
platforms/opencl/src/OpenCLFFT3D.h
View file @
b256555e
...
...
@@ -52,7 +52,7 @@ namespace OpenMM {
* multiply every value of the original data set by the total number of data points.
*/
class
OPENMM_EXPORT
OpenCLFFT3D
{
class
OPENMM_EXPORT
_OPENCL
OpenCLFFT3D
{
public:
/**
* Create an OpenCLFFT3D object for performing transforms of a particular size.
...
...
platforms/opencl/src/OpenCLForceInfo.h
View file @
b256555e
...
...
@@ -27,7 +27,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
* -------------------------------------------------------------------------- */
#include "
openmm/internal/
windowsExport.h"
#include "windowsExport
OpenCL
.h"
#include <vector>
namespace
OpenMM
{
...
...
@@ -37,7 +37,7 @@ namespace OpenMM {
* about the behavior and requirements of that force.
*/
class
OPENMM_EXPORT
OpenCLForceInfo
{
class
OPENMM_EXPORT
_OPENCL
OpenCLForceInfo
{
public:
OpenCLForceInfo
(
int
requiredForceBuffers
)
:
requiredForceBuffers
(
requiredForceBuffers
)
{
}
...
...
platforms/opencl/src/OpenCLIntegrationUtilities.h
View file @
b256555e
...
...
@@ -29,7 +29,7 @@
#include "openmm/System.h"
#include "OpenCLContext.h"
#include "
openmm/internal/
windowsExport.h"
#include "windowsExport
OpenCL
.h"
#include <iosfwd>
namespace
OpenMM
{
...
...
@@ -39,7 +39,7 @@ namespace OpenMM {
* common workspace arrays, random number generation, and enforcing constraints.
*/
class
OPENMM_EXPORT
OpenCLIntegrationUtilities
{
class
OPENMM_EXPORT
_OPENCL
OpenCLIntegrationUtilities
{
public:
OpenCLIntegrationUtilities
(
OpenCLContext
&
context
,
const
System
&
system
);
~
OpenCLIntegrationUtilities
();
...
...
platforms/opencl/src/OpenCLKernelSources.h.in
View file @
b256555e
...
...
@@ -27,7 +27,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
* -------------------------------------------------------------------------- */
#include "
openmm/internal/
windowsExport.h"
#include "windowsExport
OpenCL
.h"
#include <string>
namespace OpenMM {
...
...
@@ -38,7 +38,7 @@ namespace OpenMM {
* kernels subfolder.
*/
class OPENMM_EXPORT OpenCLKernelSources {
class OPENMM_EXPORT
_OPENCL
OpenCLKernelSources {
public:
@CL_FILE_DECLARATIONS@
};
...
...
platforms/opencl/src/OpenCLNonbondedUtilities.h
View file @
b256555e
...
...
@@ -61,7 +61,7 @@ namespace OpenMM {
* by ForceImpls during calcForcesAndEnergy().
*/
class
OPENMM_EXPORT
OpenCLNonbondedUtilities
{
class
OPENMM_EXPORT
_OPENCL
OpenCLNonbondedUtilities
{
public:
class
ParameterInfo
;
OpenCLNonbondedUtilities
(
OpenCLContext
&
context
);
...
...
platforms/opencl/src/OpenCLParameterSet.h
View file @
b256555e
...
...
@@ -40,7 +40,7 @@ class OpenCLNonbondedUtilities;
* on the number of parameters required.
*/
class
OPENMM_EXPORT
OpenCLParameterSet
{
class
OPENMM_EXPORT
_OPENCL
OpenCLParameterSet
{
public:
/**
* Create an OpenCLParameterSet.
...
...
platforms/opencl/src/OpenCLPlatform.cpp
View file @
b256555e
...
...
@@ -39,7 +39,7 @@ using std::string;
using
std
::
stringstream
;
using
std
::
vector
;
extern
"C"
OPENMM_EXPORT
void
registerPlatforms
()
{
extern
"C"
OPENMM_EXPORT
_OPENCL
void
registerPlatforms
()
{
Platform
::
registerPlatform
(
new
OpenCLPlatform
());
}
...
...
platforms/opencl/src/OpenCLSort.h
View file @
b256555e
...
...
@@ -29,7 +29,7 @@
#include "OpenCLArray.h"
#include "OpenCLKernelSources.h"
#include "
openmm/internal/
windowsExport.h"
#include "windowsExport
OpenCL
.h"
#include <map>
namespace
OpenMM
{
...
...
plugins/amoeba/CMakeLists.txt
View file @
b256555e
...
...
@@ -111,11 +111,11 @@ ENDIF(OPENMM_BUILD_C_AND_FORTRAN_WRAPPERS)
INCLUDE_DIRECTORIES
(
BEFORE
${
CMAKE_CURRENT_SOURCE_DIR
}
/src
)
ADD_LIBRARY
(
${
SHARED_AMOEBA_TARGET
}
SHARED
${
SOURCE_AMOEBA_FILES
}
${
SOURCE_AMOEBA_INCLUDE_FILES
}
${
API_AMOEBA_ABS_INCLUDE_FILES
}
)
SET_TARGET_PROPERTIES
(
${
SHARED_AMOEBA_TARGET
}
PROPERTIES COMPILE_FLAGS
"-DOPENMM_BUILDING_SHARED_LIBRARY -DLEPTON_BUILDING_SHARED_LIBRARY"
)
SET_TARGET_PROPERTIES
(
${
SHARED_AMOEBA_TARGET
}
PROPERTIES COMPILE_FLAGS
"-DOPENMM_
AMOEBA_
BUILDING_SHARED_LIBRARY -DLEPTON_BUILDING_SHARED_LIBRARY"
)
IF
(
CREATE_SERIALIZABLE_OPENMM_AMOEBA
)
ADD_LIBRARY
(
${
SHARED_AMOEBA_SERIALIZABLE_TARGET
}
SHARED
${
SOURCE_AMOEBA_FILES
}
${
SOURCE_AMOEBA_INCLUDE_FILES
}
${
API_AMOEBA_ABS_INCLUDE_FILES
}
)
SET_TARGET_PROPERTIES
(
${
SHARED_AMOEBA_SERIALIZABLE_TARGET
}
PROPERTIES COMPILE_FLAGS
"-DOPENMM_BUILDING_SHARED_LIBRARY -DLEPTON_BUILDING_SHARED_LIBRARY -DOPENMM_SERIALIZE"
)
SET_TARGET_PROPERTIES
(
${
SHARED_AMOEBA_SERIALIZABLE_TARGET
}
PROPERTIES COMPILE_FLAGS
"-DOPENMM_
AMOEBA_
BUILDING_SHARED_LIBRARY -DLEPTON_BUILDING_SHARED_LIBRARY -DOPENMM_SERIALIZE"
)
INCLUDE_DIRECTORIES
(
BEFORE
${
CMAKE_CURRENT_SOURCE_DIR
}
/../../serialization/include
)
ENDIF
(
CREATE_SERIALIZABLE_OPENMM_AMOEBA
)
...
...
plugins/amoeba/openmmapi/include/openmm/AmoebaAngleForce.h
View file @
b256555e
...
...
@@ -33,7 +33,7 @@
* -------------------------------------------------------------------------- */
#include "openmm/Force.h"
#include "openmm/internal/windowsExport.h"
#include "openmm/internal/windowsExport
Amoeba
.h"
#include <vector>
namespace
OpenMM
{
...
...
@@ -48,7 +48,7 @@ namespace OpenMM {
* an angle has been added, you can modify its force field parameters by calling setAngleParameters().
*/
class
OPENMM_EXPORT
AmoebaAngleForce
:
public
Force
{
class
OPENMM_EXPORT
_AMOEBA
AmoebaAngleForce
:
public
Force
{
public:
...
...
plugins/amoeba/openmmapi/include/openmm/AmoebaBondForce.h
View file @
b256555e
...
...
@@ -34,7 +34,7 @@
#include "openmm/Force.h"
#include "openmm/Vec3.h"
#include "openmm/internal/windowsExport.h"
#include "openmm/internal/windowsExport
Amoeba
.h"
#include <map>
#include <vector>
...
...
@@ -50,7 +50,7 @@ namespace OpenMM {
* a bond has been added, you can modify its force field parameters by calling setBondParameters().
*/
class
OPENMM_EXPORT
AmoebaBondForce
:
public
Force
{
class
OPENMM_EXPORT
_AMOEBA
AmoebaBondForce
:
public
Force
{
public:
...
...
plugins/amoeba/openmmapi/include/openmm/AmoebaGeneralizedKirkwoodForce.h
View file @
b256555e
...
...
@@ -33,7 +33,7 @@
* -------------------------------------------------------------------------- */
#include "openmm/Force.h"
#include "openmm/internal/windowsExport.h"
#include "openmm/internal/windowsExport
Amoeba
.h"
#include <vector>
namespace
OpenMM
{
...
...
@@ -48,7 +48,7 @@ namespace OpenMM {
* by calling setParticleParameters().
*/
class
OPENMM_EXPORT
AmoebaGeneralizedKirkwoodForce
:
public
Force
{
class
OPENMM_EXPORT
_AMOEBA
AmoebaGeneralizedKirkwoodForce
:
public
Force
{
public:
...
...
plugins/amoeba/openmmapi/include/openmm/AmoebaInPlaneAngleForce.h
View file @
b256555e
...
...
@@ -33,7 +33,7 @@
* -------------------------------------------------------------------------- */
#include "openmm/Force.h"
#include "openmm/internal/windowsExport.h"
#include "openmm/internal/windowsExport
Amoeba
.h"
#include <vector>
namespace
OpenMM
{
...
...
@@ -48,7 +48,7 @@ namespace OpenMM {
* an angle has been added, you can modify its force field parameters by calling setAngleParameters().
*/
class
OPENMM_EXPORT
AmoebaInPlaneAngleForce
:
public
Force
{
class
OPENMM_EXPORT
_AMOEBA
AmoebaInPlaneAngleForce
:
public
Force
{
public:
...
...
plugins/amoeba/openmmapi/include/openmm/AmoebaMultipoleForce.h
View file @
b256555e
...
...
@@ -34,7 +34,7 @@
#include "openmm/Force.h"
#include "openmm/OpenMMException.h"
#include "openmm/internal/windowsExport.h"
#include "openmm/internal/windowsExport
Amoeba
.h"
#include "openmm/Vec3.h"
#include <sstream>
...
...
@@ -49,7 +49,7 @@ namespace OpenMM {
* an entry has been added, you can modify its force field parameters by calling setMultipoleParameters().
*/
class
OPENMM_EXPORT
AmoebaMultipoleForce
:
public
Force
{
class
OPENMM_EXPORT
_AMOEBA
AmoebaMultipoleForce
:
public
Force
{
public:
...
...
plugins/amoeba/openmmapi/include/openmm/AmoebaOutOfPlaneBendForce.h
View file @
b256555e
...
...
@@ -33,7 +33,7 @@
* -------------------------------------------------------------------------- */
#include "openmm/Force.h"
#include "openmm/internal/windowsExport.h"
#include "openmm/internal/windowsExport
Amoeba
.h"
#include <vector>
namespace
OpenMM
{
...
...
@@ -45,7 +45,7 @@ namespace OpenMM {
* an out-of-plane bend has been added, you can modify its force field parameters by calling setOutOfPlaneBendParameters().
*/
class
OPENMM_EXPORT
AmoebaOutOfPlaneBendForce
:
public
Force
{
class
OPENMM_EXPORT
_AMOEBA
AmoebaOutOfPlaneBendForce
:
public
Force
{
public:
...
...
plugins/amoeba/openmmapi/include/openmm/AmoebaPiTorsionForce.h
View file @
b256555e
...
...
@@ -33,7 +33,7 @@
* -------------------------------------------------------------------------- */
#include "openmm/Force.h"
#include "openmm/internal/windowsExport.h"
#include "openmm/internal/windowsExport
Amoeba
.h"
#include <vector>
namespace
OpenMM
{
...
...
@@ -45,7 +45,7 @@ namespace OpenMM {
* a torsion has been added, you can modify its force field parameters by calling setPiTorsionParameters().
*/
class
OPENMM_EXPORT
AmoebaPiTorsionForce
:
public
Force
{
class
OPENMM_EXPORT
_AMOEBA
AmoebaPiTorsionForce
:
public
Force
{
public:
...
...
Prev
1
2
3
4
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