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
6e306f2c
Commit
6e306f2c
authored
Sep 11, 2019
by
peastman
Browse files
Merge branch 'master' into cleanup
parents
eec14ddb
ba9f33c7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaVdwForce.cpp
...ns/amoeba/platforms/cuda/tests/TestCudaAmoebaVdwForce.cpp
+6
-2
tests/TestVariableLangevinIntegrator.h
tests/TestVariableLangevinIntegrator.h
+1
-1
tests/TestVariableVerletIntegrator.h
tests/TestVariableVerletIntegrator.h
+1
-1
No files found.
plugins/amoeba/platforms/cuda/tests/TestCudaAmoebaVdwForce.cpp
View file @
6e306f2c
...
...
@@ -396,7 +396,6 @@ void testVdwAmmoniaCubicMeanHhg() {
compareForcesEnergy
(
testName
,
expectedEnergy
,
energy
,
expectedForces
,
forces
,
tolerance
);
}
// test VDW w/ sigmaRule=CubicMean and epsilonRule=W-H
void
testVdwAmmoniaCubicMeanWH
()
{
...
...
@@ -435,6 +434,12 @@ void testVdwAlchemical(int power, double alpha, double lambda, AmoebaVdwForce::A
std
::
string
testName
=
"testVdwAlchemical"
;
int
numberOfParticles
=
8
;
double
boxDimension
=
-
1.0
;
double
cutoff
=
9000000.0
;
std
::
vector
<
Vec3
>
forces
;
double
energy
;
setupAndGetForcesEnergyVdwAmmonia2
(
"CUBIC-MEAN"
,
"HHG"
,
cutoff
,
boxDimension
,
forces
,
energy
,
method
,
power
,
alpha
,
lambda
);
std
::
vector
<
Vec3
>
expectedForces
(
numberOfParticles
);
...
...
@@ -459,7 +464,6 @@ void testVdwAlchemical(int power, double alpha, double lambda, AmoebaVdwForce::A
compareForcesEnergy
(
testName
,
expectedEnergy
,
energy
,
expectedForces
,
forces
,
tolerance
);
}
// test VDW w/ sigmaRule=Arithmetic and epsilonRule=Arithmetic
void
testVdwAmmoniaArithmeticArithmetic
()
{
...
...
tests/TestVariableLangevinIntegrator.h
View file @
6e306f2c
...
...
@@ -326,7 +326,7 @@ void testArgonBox() {
integrator
.
setMaximumStepSize
(
maxStep
);
for
(
int
i
=
0
;
i
<
100
;
i
++
)
{
integrator
.
step
(
1
);
ASSERT
(
integrator
.
getStepSize
()
<=
maxStep
);
ASSERT
(
integrator
.
getStepSize
()
<=
maxStep
*
1.000001
);
}
}
...
...
tests/TestVariableVerletIntegrator.h
View file @
6e306f2c
...
...
@@ -305,7 +305,7 @@ void testArgonBox() {
integrator
.
setMaximumStepSize
(
maxStep
);
for
(
int
i
=
0
;
i
<
100
;
i
++
)
{
integrator
.
step
(
1
);
ASSERT
(
integrator
.
getStepSize
()
<=
maxStep
);
ASSERT
(
integrator
.
getStepSize
()
<=
maxStep
*
1.000001
);
}
}
...
...
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