This is an attempt to build a general purpose code for solving the Ornstein-Zernike equation, which is an exact formalism to describe the microstructure of simple and complex fluids.
This code provides several features:
- It is fast. It can solve the Percus-Yevick equation for the hard sphere fluid in milliseconds (benchmarks pending).
- It is composable. Through public APIs, new closures and potentials can be added, and the same code can be reused.
- More to come...
As with any Julia
package, you add this to your environment
julia> using Pkg
julia> pkg"add https://github.com/edwinb-ai/OrnsteinZernike.jl.git
For now, you can look at the tests inside the physicstests.jl
file within the tests
directory from this repository.
Documentation is still pending.