Dellocate memory from all variables
subroutine destroy_update()
!< Dellocate memory from all variables
implicit none
select case (time_step_accuracy)
case ("none")
! Do nothing
continue
case ("RK2", "RK4")
call dealloc(U_store)
call dealloc(R_store)
case ("TVDRK2","TVDRK3", "TVDRK4")
call dealloc(U_store)
case ("implicit")
call destroy_lusgs()
case ("plusgs")
call destroy_plusgs()
case default
Fatal_error
end select
call dealloc(u1)
call dealloc(u2)
call dealloc(R)
call dealloc(aux)
end subroutine destroy_update