distribute_work_energies Subroutine

public subroutine distribute_work_energies(n_work, distribute_rest)

Wrapper for work distribution over energies, also saves parallelization information for later use in t_mpi_c_grid

number of energies to be distributed

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: n_work

decide wether or not to distribute the rest rank or leave them idle

logical, intent(in), optional :: distribute_rest