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
1fde85e7
Commit
1fde85e7
authored
Aug 13, 2010
by
Peter Eastman
Browse files
Fixed a compilation error
parent
0c4f73d7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
openmmapi/include/openmm/internal/CMMotionRemoverImpl.h
openmmapi/include/openmm/internal/CMMotionRemoverImpl.h
+1
-3
openmmapi/include/openmm/internal/MonteCarloBarostatImpl.h
openmmapi/include/openmm/internal/MonteCarloBarostatImpl.h
+1
-3
No files found.
openmmapi/include/openmm/internal/CMMotionRemoverImpl.h
View file @
1fde85e7
...
@@ -52,9 +52,7 @@ public:
...
@@ -52,9 +52,7 @@ public:
void
updateContextState
(
ContextImpl
&
context
);
void
updateContextState
(
ContextImpl
&
context
);
double
calcForcesAndEnergy
(
ContextImpl
&
context
,
bool
includeForces
,
bool
includeEnergy
)
{
double
calcForcesAndEnergy
(
ContextImpl
&
context
,
bool
includeForces
,
bool
includeEnergy
)
{
// This force doesn't apply forces to particles.
// This force doesn't apply forces to particles.
}
return
0.0
;
double
calcEnergy
(
ContextImpl
&
context
)
{
return
0.0
;
// This force doesn't contribute to the potential energy.
}
}
std
::
map
<
std
::
string
,
double
>
getDefaultParameters
()
{
std
::
map
<
std
::
string
,
double
>
getDefaultParameters
()
{
return
std
::
map
<
std
::
string
,
double
>
();
// This force doesn't define any parameters.
return
std
::
map
<
std
::
string
,
double
>
();
// This force doesn't define any parameters.
...
...
openmmapi/include/openmm/internal/MonteCarloBarostatImpl.h
View file @
1fde85e7
...
@@ -54,9 +54,7 @@ public:
...
@@ -54,9 +54,7 @@ public:
void
updateContextState
(
ContextImpl
&
context
);
void
updateContextState
(
ContextImpl
&
context
);
double
calcForcesAndEnergy
(
ContextImpl
&
context
,
bool
includeForces
,
bool
includeEnergy
)
{
double
calcForcesAndEnergy
(
ContextImpl
&
context
,
bool
includeForces
,
bool
includeEnergy
)
{
// This force doesn't apply forces to particles.
// This force doesn't apply forces to particles.
}
return
0.0
;
double
calcEnergy
(
ContextImpl
&
context
)
{
return
0.0
;
// This force doesn't contribute to the potential energy.
}
}
std
::
map
<
std
::
string
,
double
>
getDefaultParameters
();
std
::
map
<
std
::
string
,
double
>
getDefaultParameters
();
std
::
vector
<
std
::
string
>
getKernelNames
();
std
::
vector
<
std
::
string
>
getKernelNames
();
...
...
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