Gravity method in geophysical prospecting