A beam finite element for nonlinear analysis of masonry elements with or without fiber-reinforced plastic (FRP) reinforcements.