This document presents a novel algorithm for rapidly calculating gravitational attraction and full tensor gravity gradient (FTG) values using a location-independent approach based on the vertical line source (VLS) approximation. The technique is designed for high-resolution elevation datasets and is highly efficient, enabling computations for 3D geologic models across varying topographies. Results demonstrate its speed and accuracy, making it well-suited for geophysical analysis and inversion methods in complex geological structures.