Extension of local cavity operators to 3d+t spacetime mesh adaptation