A generic simulator for large networks of memristive elements.