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
62969a3f
Commit
62969a3f
authored
Apr 28, 2014
by
peastman
Browse files
Merge pull request #424 from smikes/vs2013-compile-errors
VS2013 compile errors
parents
25ea315c
8e3c539a
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
19 additions
and
1 deletion
+19
-1
libraries/validate/src/ValidateOpenMMForces.cpp
libraries/validate/src/ValidateOpenMMForces.cpp
+1
-1
openmmapi/include/openmm/internal/MSVC_erfc.h
openmmapi/include/openmm/internal/MSVC_erfc.h
+2
-0
openmmapi/src/CustomNonbondedForceImpl.cpp
openmmapi/src/CustomNonbondedForceImpl.cpp
+1
-0
openmmapi/src/MonteCarloAnisotropicBarostatImpl.cpp
openmmapi/src/MonteCarloAnisotropicBarostatImpl.cpp
+1
-0
openmmapi/src/MonteCarloBarostatImpl.cpp
openmmapi/src/MonteCarloBarostatImpl.cpp
+1
-0
openmmapi/src/NonbondedForceImpl.cpp
openmmapi/src/NonbondedForceImpl.cpp
+1
-0
platforms/cpu/tests/TestCpuNeighborList.cpp
platforms/cpu/tests/TestCpuNeighborList.cpp
+1
-0
platforms/reference/src/ReferenceTabulatedFunction.cpp
platforms/reference/src/ReferenceTabulatedFunction.cpp
+7
-0
platforms/reference/src/SimTKReference/ReferenceLJCoulombIxn.cpp
...ms/reference/src/SimTKReference/ReferenceLJCoulombIxn.cpp
+1
-0
platforms/reference/src/SimTKReference/ReferenceNeighborList.cpp
...ms/reference/src/SimTKReference/ReferenceNeighborList.cpp
+1
-0
platforms/reference/src/SimTKReference/ReferenceVariableStochasticDynamics.cpp
...rc/SimTKReference/ReferenceVariableStochasticDynamics.cpp
+1
-0
platforms/reference/src/SimTKReference/ReferenceVariableVerletDynamics.cpp
...ce/src/SimTKReference/ReferenceVariableVerletDynamics.cpp
+1
-0
No files found.
libraries/validate/src/ValidateOpenMMForces.cpp
View file @
62969a3f
...
...
@@ -552,7 +552,7 @@ ForceValidationResult* ValidateOpenMMForces::compareForce(Context& context, std:
if
(
forceName
.
compare
(
"NA"
)
==
0
){
std
::
stringstream
message
;
message
<<
"Force at index="
<<
ii
<<
" not found -- aborting!"
;
std
::
cerr
<<
message
<<
std
::
endl
;
std
::
cerr
<<
message
.
str
()
<<
std
::
endl
;
throw
OpenMM
::
OpenMMException
(
message
.
str
());
}
systemForceNameMap
[
forceName
]
=
ii
;
...
...
openmmapi/include/openmm/internal/MSVC_erfc.h
View file @
62969a3f
...
...
@@ -9,7 +9,9 @@
*/
#if defined(_MSC_VER)
#ifndef M_PI
#define M_PI 3.14159265358979323846264338327950288
#endif
#if _MSC_VER <= 1700 // 1700 is VC11, 1800 is VC12
/***************************
...
...
openmmapi/src/CustomNonbondedForceImpl.cpp
View file @
62969a3f
...
...
@@ -43,6 +43,7 @@
#include <cmath>
#include <sstream>
#include <utility>
#include <algorithm>
using
namespace
OpenMM
;
using
namespace
std
;
...
...
openmmapi/src/MonteCarloAnisotropicBarostatImpl.cpp
View file @
62969a3f
...
...
@@ -35,6 +35,7 @@
#include "openmm/kernels.h"
#include <cmath>
#include <vector>
#include <algorithm>
using
namespace
OpenMM
;
using
namespace
OpenMM_SFMT
;
...
...
openmmapi/src/MonteCarloBarostatImpl.cpp
View file @
62969a3f
...
...
@@ -35,6 +35,7 @@
#include "openmm/kernels.h"
#include <cmath>
#include <vector>
#include <algorithm>
using
namespace
OpenMM
;
using
namespace
OpenMM_SFMT
;
...
...
openmmapi/src/NonbondedForceImpl.cpp
View file @
62969a3f
...
...
@@ -39,6 +39,7 @@
#include <cmath>
#include <map>
#include <sstream>
#include <algorithm>
using
namespace
OpenMM
;
using
namespace
std
;
...
...
platforms/cpu/tests/TestCpuNeighborList.cpp
View file @
62969a3f
...
...
@@ -43,6 +43,7 @@
#include <set>
#include <utility>
#include <vector>
#include <algorithm>
using
namespace
OpenMM
;
using
namespace
std
;
...
...
platforms/reference/src/ReferenceTabulatedFunction.cpp
View file @
62969a3f
...
...
@@ -34,12 +34,19 @@
#include "openmm/internal/SplineFitter.h"
#ifdef _MSC_VER
#if _MSC_VER < 1800
/**
* We need to define this ourselves, since Visual Studio is missing round() from cmath.
*/
static
int
round
(
double
x
)
{
return
(
int
)
(
x
+
0.5
);
}
#else
#include <cmath>
#endif // MSC_VER < 1800
#else
#include <cmath>
#endif
...
...
platforms/reference/src/SimTKReference/ReferenceLJCoulombIxn.cpp
View file @
62969a3f
...
...
@@ -25,6 +25,7 @@
#include <string.h>
#include <sstream>
#include <complex>
#include <algorithm>
#include "SimTKOpenMMCommon.h"
#include "SimTKOpenMMLog.h"
...
...
platforms/reference/src/SimTKReference/ReferenceNeighborList.cpp
View file @
62969a3f
...
...
@@ -4,6 +4,7 @@
#include <cmath>
#include <iostream>
#include <cassert>
#include <algorithm>
using
namespace
std
;
...
...
platforms/reference/src/SimTKReference/ReferenceVariableStochasticDynamics.cpp
View file @
62969a3f
...
...
@@ -24,6 +24,7 @@
#include <cstring>
#include <sstream>
#include <algorithm>
#include "SimTKOpenMMCommon.h"
#include "SimTKOpenMMLog.h"
...
...
platforms/reference/src/SimTKReference/ReferenceVariableVerletDynamics.cpp
View file @
62969a3f
...
...
@@ -24,6 +24,7 @@
#include <string.h>
#include <sstream>
#include <algorithm>
#include "SimTKOpenMMCommon.h"
#include "SimTKOpenMMLog.h"
...
...
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