Physics-informed neural networks for local and nonlocal modeling in continuum damage mechanics | Synapse