lattice
subroutine deallocate_caches(this) implicit none class(lattice) :: this deallocate(this%lu_table) deallocate(this%bz_table) end subroutine deallocate_caches