Computational Methods for Geodynamics