Simulation of Acoustic Emission Using the Discrete Element Method: Application to Failure Analysis of Masonry Walls Subjected to In-Plane Loading | Synapse