remove sb%latt from all the directories
Description
Remove sb%latt from all the files except the files in the directory "grids" and the file "ions/simul_box.F90", and replace it with "ions%latt" or "hm%ions%latt". If no "ions" or "hm" are present in the subroutines, an additional variable "latt" is introduced, and the relevant upper-level subroutines are also modified to include the variable. We can also trace back to a upper subroutine where "ions" or "hm" are present.
News snippet
Add here a one line description to be included in the Changes page. You can delete this section if the changes are trivial and of no consequence for the users.
Checklist
-
I have checked that my code follows the Octopus coding standards -
I have added tests for all the new features added in this request.
Edited by Ite Lu