Geomechanical Log Deduced from Porosity and Mineralogical Content