Modular implementation framework of partitioned path-following strategies: Formulation, algorithms and application to the finite element software Cast3M. (November 2021)