subroutine clearImpurityExcitGen() ! deallocate the auxiliary resources used by the impurity excitation generator deallocate(ImpuritySites) deallocate(connections) deallocate(nConnects) end subroutine clearImpurityExcitGen