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
81720686
"vscode:/vscode.git/clone" did not exist on "7abba925ea30c78e844079970beceaed451858a1"
Commit
81720686
authored
Jun 17, 2009
by
Michael Sherman
Browse files
Remove context.getTime() from wrappers (it is obsolete). Use state.getTime() instead.
parent
adac886f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
7 deletions
+0
-7
examples/wrappers/OpenMM_CWrapper.cpp
examples/wrappers/OpenMM_CWrapper.cpp
+0
-6
examples/wrappers/OpenMM_CWrapper.h
examples/wrappers/OpenMM_CWrapper.h
+0
-1
No files found.
examples/wrappers/OpenMM_CWrapper.cpp
View file @
81720686
...
...
@@ -431,12 +431,6 @@ void openmm_context_getplatformname_(const OpenMM_Context* const& context, char*
for
(
int
i
=
0
;
i
<
minLen
;
++
i
)
buf
[
i
]
=
name
[
i
];
for
(
int
i
=
minLen
;
i
<
len
;
++
i
)
buf
[
i
]
=
' '
;
}
double
OpenMM_Context_getTime
(
OpenMM_Context
*
context
)
{
return
((
OpenMMContext
*
)
context
)
->
getTime
();
}
double
openmm_context_gettime_
(
OpenMM_Context
*
const
&
context
)
{
return
OpenMM_Context_getTime
(
context
);
}
///////////////////
// OpenMM::State //
...
...
examples/wrappers/OpenMM_CWrapper.h
View file @
81720686
...
...
@@ -192,7 +192,6 @@ extern void OpenMM_Context_setPositions(OpenMM_Context*, const OpenM
extern
void
OpenMM_Context_setVelocities
(
OpenMM_Context
*
,
const
OpenMM_Vec3Array
*
);
extern
OpenMM_State
*
OpenMM_Context_createState
(
const
OpenMM_Context
*
,
int
types
);
extern
const
char
*
OpenMM_Context_getPlatformName
(
const
OpenMM_Context
*
);
extern
double
OpenMM_Context_getTime
(
OpenMM_Context
*
);
/* OpenMM::State */
extern
void
OpenMM_State_destroy
(
OpenMM_State
*
);
...
...
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