File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
devtools/conda-recipes/anaconda Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ requirements:
2121 - make
2222 - setuptools
2323 - pip
24+ - numpy >=1.19
2425 host :
2526 - python
2627 - openmm >=8.1
Original file line number Diff line number Diff line change 1010#include " openmm/RPMDMonteCarloBarostat.h"
1111#include " openmm/Force.h"
1212#include " openmm/Vec3.h"
13+ #include " openmm/Context.h"
1314#include < numpy/ndarrayobject.h>
1415
1516using namespace OpenMM ;
@@ -25,7 +26,16 @@ namespace std {
2526};
2627
2728%pythoncode %{
28- __version__ = " @CMAKE_PROJECT_VERSION@"
29+ import simtk.openmm as mm
30+ import simtk.unit as unit
31+ %}
32+
33+ /*
34+ * Add units to function outputs.
35+ */
36+
37+ %pythonappend OpenMMCPPForces::ConcertedRMSDForce::getReferencePositions () const %{
38+ val *= unit.nanometers
2939%}
3040
3141/*
@@ -130,7 +140,7 @@ public:
130140 * and setGroup() to modify this object's parameters, then call updateParametersInContext()
131141 * to copy them over to the Context.
132142 */
133- void updateParametersInContext (Context& context);
143+ void updateParametersInContext (OpenMM:: Context& context);
134144 /* *
135145 * Returns whether or not this force makes use of periodic boundary
136146 * conditions.
You can’t perform that action at this time.
0 commit comments