dbcsr_t_max_nblks_local Function

public pure function dbcsr_t_max_nblks_local(tensor) result(blk_count)

returns an estimate of maximum number of local blocks in tensor (irrespective of the actual number of currently present blocks) this estimate is based on the following assumption: tensor data is dense and load balancing is within a factor of 2

Arguments

Type IntentOptional Attributes Name
type(dbcsr_t_type), intent(in) :: tensor

Return Value integer