Development and Verification of a Numerical Library for Solving Global Terrestrial Multiphysics Problems September 10, 2021