%begin %{
#define SWIG_PYTHON_CAST_MODE
%}

%include pythoncode.i
%include exceptions.i
%include extend.i
%include header.i
%include pythonprepend.i
%include pythonappend.i
%include typemaps.i

%feature("director") OpenMM::MinimizationReporter;
