Continuous Modeling of Dislocation Cores Using a Mechanical Theory of Dislocation Fields