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
b683cd81
"examples/python-examples/simulatePdb.py" did not exist on "534fd40416011ebbbdf49deebecd32bcddaaffae"
Commit
b683cd81
authored
Aug 09, 2016
by
peastman
Browse files
Fixed compilation errors on Windows
parent
ddd7307d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletion
+11
-1
platforms/cpu/include/CpuGayBerneForce.h
platforms/cpu/include/CpuGayBerneForce.h
+1
-1
platforms/cpu/src/CpuGayBerneForce.cpp
platforms/cpu/src/CpuGayBerneForce.cpp
+5
-0
platforms/reference/src/SimTKReference/ReferenceGayBerneForce.cpp
...s/reference/src/SimTKReference/ReferenceGayBerneForce.cpp
+5
-0
No files found.
platforms/cpu/include/CpuGayBerneForce.h
View file @
b683cd81
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
namespace
OpenMM
{
namespace
OpenMM
{
class
OPENMM_EXPORT
CpuGayBerneForce
{
class
CpuGayBerneForce
{
public:
public:
struct
Matrix
;
struct
Matrix
;
class
ComputeTask
;
class
ComputeTask
;
...
...
platforms/cpu/src/CpuGayBerneForce.cpp
View file @
b683cd81
...
@@ -29,11 +29,16 @@
...
@@ -29,11 +29,16 @@
* USE OR OTHER DEALINGS IN THE SOFTWARE. *
* USE OR OTHER DEALINGS IN THE SOFTWARE. *
* -------------------------------------------------------------------------- */
* -------------------------------------------------------------------------- */
#ifdef _MSC_VER
// Prevent Windows from defining macros that interfere with other code.
#define NOMINMAX
#endif
#include "CpuGayBerneForce.h"
#include "CpuGayBerneForce.h"
#include "ReferenceForce.h"
#include "ReferenceForce.h"
#include "openmm/OpenMMException.h"
#include "openmm/OpenMMException.h"
#include "openmm/GayBerneForce.h"
#include "openmm/GayBerneForce.h"
#include "openmm/internal/gmx_atomic.h"
#include "openmm/internal/gmx_atomic.h"
#include <algorithm>
#include <cmath>
#include <cmath>
using
namespace
OpenMM
;
using
namespace
OpenMM
;
...
...
platforms/reference/src/SimTKReference/ReferenceGayBerneForce.cpp
View file @
b683cd81
...
@@ -29,9 +29,14 @@
...
@@ -29,9 +29,14 @@
* USE OR OTHER DEALINGS IN THE SOFTWARE. *
* USE OR OTHER DEALINGS IN THE SOFTWARE. *
* -------------------------------------------------------------------------- */
* -------------------------------------------------------------------------- */
#ifdef _MSC_VER
// Prevent Windows from defining macros that interfere with other code.
#define NOMINMAX
#endif
#include "ReferenceGayBerneForce.h"
#include "ReferenceGayBerneForce.h"
#include "ReferenceForce.h"
#include "ReferenceForce.h"
#include "openmm/OpenMMException.h"
#include "openmm/OpenMMException.h"
#include <algorithm>
#include <cmath>
#include <cmath>
using
namespace
OpenMM
;
using
namespace
OpenMM
;
...
...
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