Two-dimensional fracture modeling with the generalized/extended finite element method: An object-oriented programming approach. (January 2018)