Tensile cracking in concrete and sandstone: Part 2—Effect of boundary rotations