Study of static and dynamic damage identification in multifield materials using artificial intelligence, BEM and X-FEM