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
fb249907
Commit
fb249907
authored
Nov 03, 2009
by
Mark Friedrichs
Browse files
Fixes to make Windows happier
parent
bdc4754a
Changes
14
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
65 additions
and
39 deletions
+65
-39
openmmapi/src/GBVIForceImpl.cpp
openmmapi/src/GBVIForceImpl.cpp
+1
-0
platforms/cuda/tests/TstCudaUsingParameterFile.cpp
platforms/cuda/tests/TstCudaUsingParameterFile.cpp
+30
-23
plugins/freeEnergy/CMakeLists.txt
plugins/freeEnergy/CMakeLists.txt
+8
-0
plugins/freeEnergy/openmmapi/src/GBVISoftcoreForceImpl.cpp
plugins/freeEnergy/openmmapi/src/GBVISoftcoreForceImpl.cpp
+2
-0
plugins/freeEnergy/platforms/cuda/src/kernels/GpuGBVISoftcore.cpp
...freeEnergy/platforms/cuda/src/kernels/GpuGBVISoftcore.cpp
+2
-4
plugins/freeEnergy/platforms/cuda/src/kernels/GpuGBVISoftcore.h
...s/freeEnergy/platforms/cuda/src/kernels/GpuGBVISoftcore.h
+1
-1
plugins/freeEnergy/platforms/cuda/src/kernels/GpuLJ14Softcore.cpp
...freeEnergy/platforms/cuda/src/kernels/GpuLJ14Softcore.cpp
+1
-1
plugins/freeEnergy/platforms/cuda/src/kernels/GpuNonbondedSoftcore.cpp
...nergy/platforms/cuda/src/kernels/GpuNonbondedSoftcore.cpp
+0
-2
plugins/freeEnergy/platforms/cuda/src/kernels/GpuObcGbsaSoftcore.cpp
...eEnergy/platforms/cuda/src/kernels/GpuObcGbsaSoftcore.cpp
+0
-2
plugins/freeEnergy/platforms/cuda/src/kernels/kCalculateCDLJObcGbsaSoftcoreForces1.cu
.../cuda/src/kernels/kCalculateCDLJObcGbsaSoftcoreForces1.cu
+3
-3
plugins/freeEnergy/platforms/cuda/src/kernels/kCalculateGBVISoftcoreBornSum.cu
...atforms/cuda/src/kernels/kCalculateGBVISoftcoreBornSum.cu
+15
-1
plugins/freeEnergy/platforms/cuda/src/kernels/kCalculateObcGbsaSoftcoreBornSum.cu
...orms/cuda/src/kernels/kCalculateObcGbsaSoftcoreBornSum.cu
+1
-1
plugins/freeEnergy/platforms/cuda/src/kernels/kCalculateObcGbsaSoftcoreForces2.cu
...orms/cuda/src/kernels/kCalculateObcGbsaSoftcoreForces2.cu
+0
-1
plugins/freeEnergy/platforms/reference/src/SimTKReference/ReferenceFreeEnergyLJCoulombSoftcoreIxn.cpp
...imTKReference/ReferenceFreeEnergyLJCoulombSoftcoreIxn.cpp
+1
-0
No files found.
openmmapi/src/GBVIForceImpl.cpp
View file @
fb249907
...
@@ -133,6 +133,7 @@ int GBVIForceImpl::getBondsFromForces(ContextImpl& context) {
...
@@ -133,6 +133,7 @@ int GBVIForceImpl::getBondsFromForces(ContextImpl& context) {
}
}
}
}
return
0
;
}
}
#define GBVIDebug 0
#define GBVIDebug 0
...
...
platforms/cuda/tests/TstCudaUsingParameterFile.cpp
View file @
fb249907
...
@@ -3936,7 +3936,7 @@ Context* _getContext( System* system, Context* inputContext, Integrator* inputIn
...
@@ -3936,7 +3936,7 @@ Context* _getContext( System* system, Context* inputContext, Integrator* inputIn
if
(
log
){
if
(
log
){
(
void
)
fprintf
(
log
,
"OpenMM Platform: %s
\n
"
,
context
->
getPlatform
().
getName
().
c_str
()
);
(
void
)
fflush
(
log
);
(
void
)
fprintf
(
log
,
"OpenMM Platform: %s
\n
"
,
context
->
getPlatform
().
getName
().
c_str
()
);
(
void
)
fflush
(
log
);
const
vector
<
string
>&
properties
=
gpuPlatform
.
getPropertyNames
();
const
vector
<
string
>&
properties
=
gpuPlatform
.
getPropertyNames
();
for
(
int
i
=
0
;
i
<
properties
.
size
();
i
++
)
{
for
(
unsigned
int
i
=
0
;
i
<
properties
.
size
();
i
++
)
{
fprintf
(
log
,
"%s: %s
\n
"
,
properties
[
i
].
c_str
(),
gpuPlatform
.
getPropertyValue
(
*
context
,
properties
[
i
]).
c_str
());
fprintf
(
log
,
"%s: %s
\n
"
,
properties
[
i
].
c_str
(),
gpuPlatform
.
getPropertyValue
(
*
context
,
properties
[
i
]).
c_str
());
}
}
}
}
...
@@ -4040,7 +4040,7 @@ static int getForceStrings( System& system, StringVector& forceStringArray, FILE
...
@@ -4040,7 +4040,7 @@ static int getForceStrings( System& system, StringVector& forceStringArray, FILE
// print active forces and relevant parameters
// print active forces and relevant parameters
for
(
unsigned
int
ii
=
0
;
ii
<
system
.
getNumForces
();
ii
++
)
{
for
(
int
ii
=
0
;
ii
<
system
.
getNumForces
();
ii
++
)
{
int
hit
=
0
;
int
hit
=
0
;
Force
&
force
=
system
.
getForce
(
ii
);
Force
&
force
=
system
.
getForce
(
ii
);
...
@@ -5989,62 +5989,69 @@ int main( int numberOfArguments, char* argv[] ){
...
@@ -5989,62 +5989,69 @@ int main( int numberOfArguments, char* argv[] ){
initializeForceMap
(
forceMap
,
0
);
initializeForceMap
(
forceMap
,
0
);
int
logFileNameIndex
=
-
1
;
int
logFileNameIndex
=
-
1
;
int
summaryFileNameIndex
=
-
1
;
int
summaryFileNameIndex
=
-
1
;
int
forceEnum
;
// parse arguments
// parse arguments
#ifdef _MSC_VER
#define STRCASECMP(X,Y) stricmp(X,Y)
#define STRNCASECMP(X,Y,Z) strnicmp(X,Y,Z)
#else
#define STRCASECMP(X,Y) strcasecmp(X,Y)
#define STRNCASECMP(X,Y,Z) strncasecmp(X,Y,Z)
#endif
for
(
int
ii
=
1
;
ii
<
numberOfArguments
;
ii
++
){
for
(
int
ii
=
1
;
ii
<
numberOfArguments
;
ii
++
){
int
addToMap
=
0
;
int
addToMap
=
0
;
if
(
strcasecmp
(
argv
[
ii
],
"-parameterFileName"
)
==
0
){
if
(
STRCASECMP
(
argv
[
ii
],
"-parameterFileName"
)
==
0
){
parameterFileName
=
argv
[
ii
+
1
];
parameterFileName
=
argv
[
ii
+
1
];
ii
++
;
ii
++
;
}
else
if
(
strcasecmp
(
argv
[
ii
],
"-logFileName"
)
==
0
){
}
else
if
(
STRCASECMP
(
argv
[
ii
],
"-logFileName"
)
==
0
){
logFileNameIndex
=
ii
+
1
;
logFileNameIndex
=
ii
+
1
;
ii
++
;
ii
++
;
}
else
if
(
strcasecmp
(
argv
[
ii
],
"-summaryFileName"
)
==
0
){
}
else
if
(
STRCASECMP
(
argv
[
ii
],
"-summaryFileName"
)
==
0
){
summaryFileNameIndex
=
ii
+
1
;
summaryFileNameIndex
=
ii
+
1
;
ii
++
;
ii
++
;
}
else
if
(
strcasecmp
(
argv
[
ii
],
"-checkForces"
)
==
0
){
}
else
if
(
STRCASECMP
(
argv
[
ii
],
"-checkForces"
)
==
0
){
checkForces
=
atoi
(
argv
[
ii
+
1
]
);
checkForces
=
atoi
(
argv
[
ii
+
1
]
);
ii
++
;
ii
++
;
}
else
if
(
strcasecmp
(
argv
[
ii
],
"-checkInputForces"
)
==
0
){
}
else
if
(
STRCASECMP
(
argv
[
ii
],
"-checkInputForces"
)
==
0
){
checkInputForces
=
atoi
(
argv
[
ii
+
1
]
);
checkInputForces
=
atoi
(
argv
[
ii
+
1
]
);
ii
++
;
ii
++
;
}
else
if
(
strcasecmp
(
argv
[
ii
],
"-checkEnergyForceConsistent"
)
==
0
){
}
else
if
(
STRCASECMP
(
argv
[
ii
],
"-checkEnergyForceConsistent"
)
==
0
){
checkEnergyForceConsistent
=
atoi
(
argv
[
ii
+
1
]
);
checkEnergyForceConsistent
=
atoi
(
argv
[
ii
+
1
]
);
ii
++
;
ii
++
;
}
else
if
(
strcasecmp
(
argv
[
ii
],
"-checkEnergyConservation"
)
==
0
){
}
else
if
(
STRCASECMP
(
argv
[
ii
],
"-checkEnergyConservation"
)
==
0
){
checkEnergyConservation
=
atoi
(
argv
[
ii
+
1
]
);;
checkEnergyConservation
=
atoi
(
argv
[
ii
+
1
]
);;
ii
++
;
ii
++
;
}
else
if
(
strcasecmp
(
argv
[
ii
],
"-energyForceDelta"
)
==
0
||
}
else
if
(
STRCASECMP
(
argv
[
ii
],
"-energyForceDelta"
)
==
0
||
strcasecmp
(
argv
[
ii
],
"-energyForceTolerance"
)
==
0
||
STRCASECMP
(
argv
[
ii
],
"-energyForceTolerance"
)
==
0
||
strcasecmp
(
argv
[
ii
],
"-cudaDeviceId"
)
==
0
||
STRCASECMP
(
argv
[
ii
],
"-cudaDeviceId"
)
==
0
||
strcasecmp
(
argv
[
ii
],
"-platform"
)
==
0
||
STRCASECMP
(
argv
[
ii
],
"-platform"
)
==
0
||
strcasecmp
(
argv
[
ii
],
"-applyAssertion"
)
==
0
){
STRCASECMP
(
argv
[
ii
],
"-applyAssertion"
)
==
0
){
addToMap
=
ii
;
addToMap
=
ii
;
ii
++
;
ii
++
;
}
else
if
(
strcasecmp
(
argv
[
ii
],
"-allForces"
)
==
0
){
}
else
if
(
STRCASECMP
(
argv
[
ii
],
"-allForces"
)
==
0
){
int
flag
=
atoi
(
argv
[
ii
+
1
]
);
int
flag
=
atoi
(
argv
[
ii
+
1
]
);
ii
++
;
ii
++
;
initializeForceMap
(
forceMap
,
flag
);
initializeForceMap
(
forceMap
,
flag
);
}
else
if
(
strcasecmp
(
argv
[
ii
],
"-log"
)
==
0
){
}
else
if
(
STRCASECMP
(
argv
[
ii
],
"-log"
)
==
0
){
if
(
atoi
(
argv
[
ii
+
1
]
)
!=
0
){
if
(
atoi
(
argv
[
ii
+
1
]
)
!=
0
){
log
=
stderr
;
log
=
stderr
;
}
else
{
}
else
{
log
=
NULL
;
log
=
NULL
;
}
}
ii
++
;
ii
++
;
}
else
if
(
strcasecmp
(
argv
[
ii
],
"-help"
)
==
0
){
}
else
if
(
STRCASECMP
(
argv
[
ii
],
"-help"
)
==
0
){
printUsage
(
defaultParameterFileName
);
printUsage
(
defaultParameterFileName
);
}
else
if
(
getForceOffset
(
ii
,
numberOfArguments
,
argv
,
forceMap
)
){
}
else
if
(
getForceOffset
(
ii
,
numberOfArguments
,
argv
,
forceMap
)
){
ii
++
;
ii
++
;
}
else
if
(
strncasecmp
(
argv
[
ii
],
"-equilibration"
,
14
)
==
0
||
}
else
if
(
STRNCASECMP
(
argv
[
ii
],
"-equilibration"
,
14
)
==
0
||
strncasecmp
(
argv
[
ii
],
"-simulation"
,
11
)
==
0
||
STRNCASECMP
(
argv
[
ii
],
"-simulation"
,
11
)
==
0
||
strncasecmp
(
argv
[
ii
],
"-runId"
,
6
)
==
0
||
STRNCASECMP
(
argv
[
ii
],
"-runId"
,
6
)
==
0
||
strncasecmp
(
argv
[
ii
],
"-nonbonded"
,
10
)
==
0
||
STRNCASECMP
(
argv
[
ii
],
"-nonbonded"
,
10
)
==
0
||
strncasecmp
(
argv
[
ii
],
"-readContext"
,
12
)
==
0
){
STRNCASECMP
(
argv
[
ii
],
"-readContext"
,
12
)
==
0
){
addToMap
=
ii
;
addToMap
=
ii
;
ii
++
;
ii
++
;
}
else
{
}
else
{
...
...
plugins/freeEnergy/CMakeLists.txt
View file @
fb249907
...
@@ -314,6 +314,14 @@ IF(DL_LIBRARY)
...
@@ -314,6 +314,14 @@ IF(DL_LIBRARY)
TARGET_LINK_LIBRARIES
(
${
STATIC_FREE_ENERGY_TARGET
}
${
DL_LIBRARY
}
)
TARGET_LINK_LIBRARIES
(
${
STATIC_FREE_ENERGY_TARGET
}
${
DL_LIBRARY
}
)
ENDIF
(
DL_LIBRARY
)
ENDIF
(
DL_LIBRARY
)
SET
(
OpenMMLib OpenMM
)
# But on Unix or Cygwin we have to add the suffix manually
IF
(
UNIX AND CMAKE_BUILD_TYPE MATCHES Debug
)
SET
(
OpenMMLib
${
OpenMMLib
}
_d
)
ENDIF
(
UNIX AND CMAKE_BUILD_TYPE MATCHES Debug
)
TARGET_LINK_LIBRARIES
(
${
SHARED_FREE_ENERGY_TARGET
}
${
SHARED_TARGET
}
)
TARGET_LINK_LIBRARIES
(
${
STATIC_FREE_ENERGY_TARGET
}
${
STATIC_TARGET
}
)
ADD_SUBDIRECTORY
(
platforms/reference/tests
)
ADD_SUBDIRECTORY
(
platforms/reference/tests
)
# Which hardware platforms to build
# Which hardware platforms to build
...
...
plugins/freeEnergy/openmmapi/src/GBVISoftcoreForceImpl.cpp
View file @
fb249907
...
@@ -149,6 +149,8 @@ int GBVISoftcoreForceImpl::getBondsFromForces(ContextImpl& context) {
...
@@ -149,6 +149,8 @@ int GBVISoftcoreForceImpl::getBondsFromForces(ContextImpl& context) {
}
}
}
}
return
0
;
}
}
#define GBVIDebug 0
#define GBVIDebug 0
...
...
plugins/freeEnergy/platforms/cuda/src/kernels/GpuGBVISoftcore.cpp
View file @
fb249907
...
@@ -24,8 +24,6 @@
...
@@ -24,8 +24,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
* -------------------------------------------------------------------------- */
* -------------------------------------------------------------------------- */
using
namespace
std
;
#include "GpuGBVISoftcore.h"
#include "GpuGBVISoftcore.h"
#include "GpuFreeEnergyCudaKernels.h"
#include "GpuFreeEnergyCudaKernels.h"
...
@@ -33,8 +31,8 @@ using namespace std;
...
@@ -33,8 +31,8 @@ using namespace std;
GpuGBVISoftcore
::
GpuGBVISoftcore
(
){
GpuGBVISoftcore
::
GpuGBVISoftcore
(
){
_bornRadiiScalingMethod
=
0
;
_bornRadiiScalingMethod
=
0
;
_quinticLowerLimitFactor
=
0.8
;
_quinticLowerLimitFactor
=
0.8
f
;
_quinticUpperLimit
=
0.008
;
_quinticUpperLimit
=
0.008
f
;
_psSwitchDerivative
=
NULL
;
_psSwitchDerivative
=
NULL
;
}
}
...
...
plugins/freeEnergy/platforms/cuda/src/kernels/GpuGBVISoftcore.h
View file @
fb249907
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
#include "gputypes.h"
#include "gputypes.h"
#include "cudatypes.h"
#include "cudatypes.h"
#include "cudaKernels.h"
//
#include "cudaKernels.h"
#include "openmm/OpenMMException.h"
#include "openmm/OpenMMException.h"
// info related to nonbonded softcore
// info related to nonbonded softcore
...
...
plugins/freeEnergy/platforms/cuda/src/kernels/GpuLJ14Softcore.cpp
View file @
fb249907
...
@@ -43,7 +43,7 @@ GpuLJ14Softcore::~GpuLJ14Softcore( ){
...
@@ -43,7 +43,7 @@ GpuLJ14Softcore::~GpuLJ14Softcore( ){
int
GpuLJ14Softcore
::
flipStrides
(
gpuContext
gpu
){
int
GpuLJ14Softcore
::
flipStrides
(
gpuContext
gpu
){
int
flip
=
gpu
->
sim
.
outputBuffers
-
1
;
int
flip
=
gpu
->
sim
.
outputBuffers
-
1
;
for
(
int
ii
=
0
;
ii
<
psLJ14SoftcoreID
->
_stride
;
ii
++
)
for
(
unsigned
int
ii
=
0
;
ii
<
psLJ14SoftcoreID
->
_stride
;
ii
++
)
{
{
(
*
psLJ14SoftcoreID
)[
ii
].
z
=
flip
-
(
*
psLJ14SoftcoreID
)[
ii
].
z
;
(
*
psLJ14SoftcoreID
)[
ii
].
z
=
flip
-
(
*
psLJ14SoftcoreID
)[
ii
].
z
;
(
*
psLJ14SoftcoreID
)[
ii
].
w
=
flip
-
(
*
psLJ14SoftcoreID
)[
ii
].
w
;
(
*
psLJ14SoftcoreID
)[
ii
].
w
=
flip
-
(
*
psLJ14SoftcoreID
)[
ii
].
w
;
...
...
plugins/freeEnergy/platforms/cuda/src/kernels/GpuNonbondedSoftcore.cpp
View file @
fb249907
...
@@ -24,8 +24,6 @@
...
@@ -24,8 +24,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
* -------------------------------------------------------------------------- */
* -------------------------------------------------------------------------- */
using
namespace
std
;
#include "GpuNonbondedSoftcore.h"
#include "GpuNonbondedSoftcore.h"
#include "GpuFreeEnergyCudaKernels.h"
#include "GpuFreeEnergyCudaKernels.h"
...
...
plugins/freeEnergy/platforms/cuda/src/kernels/GpuObcGbsaSoftcore.cpp
View file @
fb249907
...
@@ -24,8 +24,6 @@
...
@@ -24,8 +24,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
* -------------------------------------------------------------------------- */
* -------------------------------------------------------------------------- */
using
namespace
std
;
#include "GpuObcGbsaSoftcore.h"
#include "GpuObcGbsaSoftcore.h"
#include "GpuFreeEnergyCudaKernels.h"
#include "GpuFreeEnergyCudaKernels.h"
...
...
plugins/freeEnergy/platforms/cuda/src/kernels/kCalculateCDLJObcGbsaSoftcoreForces1.cu
View file @
fb249907
...
@@ -24,9 +24,9 @@
...
@@ -24,9 +24,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
* -------------------------------------------------------------------------- */
* -------------------------------------------------------------------------- */
#include "gputypes.h"
#include "
kernels/
gputypes.h"
#include "cudatypes.h"
#include "
kernels/
cudatypes.h"
#include "cudaKernels.h"
#include "
kernels/
cudaKernels.h"
#include "GpuFreeEnergyCudaKernels.h"
#include "GpuFreeEnergyCudaKernels.h"
#include <stdio.h>
#include <stdio.h>
...
...
plugins/freeEnergy/platforms/cuda/src/kernels/kCalculateGBVISoftcoreBornSum.cu
View file @
fb249907
...
@@ -176,6 +176,20 @@ struct Atom {
...
@@ -176,6 +176,20 @@ struct Atom {
float
bornRadiusScaleFactor
;
float
bornRadiusScaleFactor
;
};
};
__global__
void
kClearGBVISoftcoreBornSum_kernel
()
{
unsigned
int
pos
=
blockIdx
.
x
*
blockDim
.
x
+
threadIdx
.
x
;
while
(
pos
<
cSim
.
stride
*
cSim
.
nonbondOutputBuffers
)
{
((
float
*
)
cSim
.
pBornSum
)[
pos
]
=
0.0
f
;
pos
+=
gridDim
.
x
*
blockDim
.
x
;
}
}
void
kClearGBVISoftcoreBornSum
(
gpuContext
gpu
)
{
kClearGBVISoftcoreBornSum_kernel
<<<
gpu
->
sim
.
blocks
,
384
>>>
();
}
// Include versions of the kernels for N^2 calculations.
// Include versions of the kernels for N^2 calculations.
#define METHOD_NAME(a, b) a##N2##b
#define METHOD_NAME(a, b) a##N2##b
...
@@ -384,7 +398,7 @@ void kReduceGBVIBornForcesQuinticScaling(gpuContext gpu)
...
@@ -384,7 +398,7 @@ void kReduceGBVIBornForcesQuinticScaling(gpuContext gpu)
void
kCalculateGBVISoftcoreBornSum
(
gpuContext
gpu
)
void
kCalculateGBVISoftcoreBornSum
(
gpuContext
gpu
)
{
{
//printf("kCalculateGBVIBornSum\n");
//printf("kCalculateGBVIBornSum\n");
kClearGBVIBornSum
(
gpu
);
kClearGBVI
Softcore
BornSum
(
gpu
);
LAUNCHERROR
(
"kClearGBVIBornSum from kCalculateGBVISoftcoreBornSum"
);
LAUNCHERROR
(
"kClearGBVIBornSum from kCalculateGBVISoftcoreBornSum"
);
size_t
numWithInteractions
;
size_t
numWithInteractions
;
...
...
plugins/freeEnergy/platforms/cuda/src/kernels/kCalculateObcGbsaSoftcoreBornSum.cu
View file @
fb249907
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
* -------------------------------------------------------------------------- */
* -------------------------------------------------------------------------- */
#include "gputypes.h"
#include "gputypes.h"
#include "cudaKernels.h"
#include "
kernels/
cudaKernels.h"
#include "GpuObcGbsaSoftcore.h"
#include "GpuObcGbsaSoftcore.h"
#include <cuda.h>
#include <cuda.h>
...
...
plugins/freeEnergy/platforms/cuda/src/kernels/kCalculateObcGbsaSoftcoreForces2.cu
View file @
fb249907
...
@@ -34,7 +34,6 @@
...
@@ -34,7 +34,6 @@
using
namespace
std
;
using
namespace
std
;
#include "gputypes.h"
#include "gputypes.h"
#include "cudaKernels.h"
struct
Atom
{
struct
Atom
{
float
x
;
float
x
;
...
...
plugins/freeEnergy/platforms/reference/src/SimTKReference/ReferenceFreeEnergyLJCoulombSoftcoreIxn.cpp
View file @
fb249907
...
@@ -36,6 +36,7 @@
...
@@ -36,6 +36,7 @@
// In case we're using some primitive version of Visual Studio this will
// In case we're using some primitive version of Visual Studio this will
// make sure that erf() and erfc() are defined.
// make sure that erf() and erfc() are defined.
//#include "MSVC_erfc.h"
//#include "MSVC_erfc.h"
#include "openmm/internal/MSVC_erfc.h"
using
std
::
vector
;
using
std
::
vector
;
...
...
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