A numerical model of hydraulic fracturing in shale-gas reservoirs.