You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,14 @@ Note, however, that the heavy-weight of this solver comes from the Matrix-vector
78
78
79
79
See the Makefile for further instructions.
80
80
81
+
## Python interface
82
+
83
+
The python/ folder contains a python wrapper to the solver. A class defining the matrix vector product can be written directly in python an provided to the solver.
84
+
See python/example.py for more information.
85
+
86
+
The root folder's Makefile will try to compile the python library as well. It expects pybind11 to be placed under the extern/ folder. Pybind11 is included as a submodule, so make sure to clone this repository with --recursive.
87
+
Note that the python wrapper can only be compiled in CPU mode.
88
+
81
89
## References:
82
90
83
91
[1] Krylov subspace methods for computing hydrodynamic interactions in Brownian dynamics simulations J. Chem. Phys. 137, 064106 (2012); doi: 10.1063/1.4742347
0 commit comments