grogupy._core.default_solver

grogupy._core.default_solver(builder: Builder, print_memory: bool = False) None[source]

It calculates the energies by the Greens function method without MPI parallelization.

It inverts the Hamiltonians of all directions set up in the given k-points at the given energy levels. The solution is not parallized at all. It uses the greens_function_solver instance variable which controls the solution method over the energy samples. This is the slowest method, but it does not have extra depedencies.

Parameters

builder: Builder

The main grogupy object

print_memory: bool, optional

It can be turned on to print extra memory info, by default False