A relation between hydraulic fracture pressures and tectonic stresses