A beam element allowing multiple slope discontinuities for RC structures: An application