Abstract
In this paper we consider the single patch pseudospectral scheme for tensorial and spinorial evolution problems on the 2-sphere presented by Beyer et al. [Classical Quantum Gravity 32, 175013 (2015); 31, 075019 (2014)], which is based on the spin-weighted spherical harmonics transform. We apply and extend this method to Einstein's equations and certain classes of spherical cosmological spacetimes. More specifically, we use the hyperbolic reductions of Einstein's equations obtained in the generalized wave map gauge formalism combined with Geroch's symmetry reduction, and focus on cosmological spacetimes with spatial S-3-topologies and symmetry groups U(1) or U(1) x U(1). We discuss analytical and numerical issues related to our implementation. We test our code by reproducing the exact inhomogeneous cosmological solutions of the vacuum Einstein field equations obtained by Beyer and Hennig [Classical Quantum Gravity 31, 095010 (2014)].