Dynamic of domains walls in ferro – and antiferromagnets on account of magnetoelastic interaction.