Commit d2a6f00c authored by Peter Eastman's avatar Peter Eastman
Browse files

Fixed Python wrapper for CustomIntegrator::getPerDofVariable()

parent 7b383c7e
......@@ -173,3 +173,11 @@
self.this = system.this
}
}
%extend OpenMM::CustomIntegrator {
PyObject* getPerDofVariable(int index) const {
std::vector<Vec3> values;
self->getPerDofVariable(index, values);
return copyVVec3ToList(values);
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment