A C++  abstract interface for ionic current models for electrophysiology and a subclass implementing the Bernus model.