A comparison of different crack models applied to plain and reinforced concrete