
A one-dimensional model of a LiFePO4 half cell (lithium foil, separator, porous cathode) with dilute-solution electrolyte transport, electronic conduction and Butler-Volmer insertion kinetics, solved by finite volumes, backward Euler and Newton's method with the BAND block-tridiagonal solver. It runs constant-current, constant-voltage and rest protocols. Fortran, C++ and Python implementations read the same input file.
