An atomic finite element model for biodegradable polymers. Part 1. Formulation of the finite elements.