Commit 50643058 authored by Christopher Bruns's avatar Christopher Bruns
Browse files

Various changes to permit compiling OpenMM stuff on Linux

Added INCLUDE(Dart) to OpenMM CMakeLists.txt
parent 4577b1a2
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
PROJECT (OpenMM) PROJECT (OpenMM)
INCLUDE(Dart)
SUBDIRS (tests platforms/reference/tests) SUBDIRS (tests platforms/reference/tests)
ADD_DEFINITIONS(-DOPENMM_BUILDING_SHARED_LIBRARY) ADD_DEFINITIONS(-DOPENMM_BUILDING_SHARED_LIBRARY)
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
#include "Platform.h" #include "Platform.h"
#include <string> #include <string>
#include <cassert>
namespace OpenMM { namespace OpenMM {
......
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
#include "Platform.h" #include "Platform.h"
#include "Stream.h" #include "Stream.h"
#include <string> #include <string>
#include <cassert>
namespace OpenMM { namespace OpenMM {
......
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
namespace OpenMM { namespace OpenMM {
class OpenMMContext; class OpenMMContext;
class OpenMMContextImpl;
/** /**
* An Integrator defines a method for simulating a System by integrating the equations of motion. * An Integrator defines a method for simulating a System by integrating the equations of motion.
......
...@@ -134,7 +134,7 @@ public: ...@@ -134,7 +134,7 @@ public:
} }
private: private:
class ConstraintInfo; class ConstraintInfo;
std::vector<int> masses; std::vector<double> masses;
std::vector<ConstraintInfo> constraints; std::vector<ConstraintInfo> constraints;
std::vector<Force*> forces; std::vector<Force*> forces;
}; };
......
...@@ -69,7 +69,7 @@ class ReferenceLJCoulomb14 : public ReferenceBondIxn { ...@@ -69,7 +69,7 @@ class ReferenceLJCoulomb14 : public ReferenceBondIxn {
--------------------------------------------------------------------------------------- */ --------------------------------------------------------------------------------------- */
int ReferenceLJCoulomb14::getDerivedParameters( RealOpenMM c6, RealOpenMM c12, RealOpenMM q1, int getDerivedParameters( RealOpenMM c6, RealOpenMM c12, RealOpenMM q1,
RealOpenMM q2, RealOpenMM epsfac, RealOpenMM q2, RealOpenMM epsfac,
RealOpenMM* parameters ) const; RealOpenMM* parameters ) const;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment