Coupling of Discrete and Continuum Approaches in Modeling the Behavior of Materials