A finite-element analysis of critical-state models for type-II superconductivity in 3 D