A numerical model for the simulation of the seismic cycle in tectonic settings in favor or against gravity: examples from Italy