An eigenerosion approach to brittle fracture