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