computational mechanics of discontinua