at one time the surface broke apart as a result of repeated impacts, after which the fragments rejoined through mutual gravitational attraction.
I understand the sentence can be re-arrange as below:
at one time the surface broke apart as a result of repeated impacts, which the fragments rejoined through mutual gravitational attraction after.
Can someone explain to me what does 'which' refers to here? I was told that 'which' cannot be use to refer to the whole clause so can the 'which' used here refers to the preceding clause? Or does it refers to 'the surface?
Thank you.