grogupy._core.solve_parallel_over_k
- grogupy._core.solve_parallel_over_k(builder: Builder, print_memory: bool = False) None[source]
It calculates the energies by the Greens function method.
It inverts the Hamiltonians of all directions set up in the given k-points at the given energy levels. The solution is parallelized over k-points. It uses the number of GPUs given. And determines the parallelization over energy levels from the
builder.greens_function_solverattribute.Parameters
- builderBuilder
The system that we want to solve
- print_memory: bool, optional
It can be turned on to print extra memory info, by default False