On the use of multidimensional differential geometry to model covariant behaviors of viscoelastic or hyperelastic structures, illustrated with numerical simulations using spacetime finite element analysis