tblite
Light-weight tight-binding framework
Loading...
Searching...
No Matches
tblite_partition::work_partition Type Reference

Cyclic partition of the work of an interaction loop. More...

Public Member Functions

procedure get_part (self)
 Zero-based part index.
procedure get_nparts (self)
 Number of parts.
procedure get_d3 (self)
 Validated partition for the D3 kernels.
procedure get_d4 (self)
 Validated partition for the D4 kernels.
procedure get_columns (self, n)
 Inclusive global range of contiguous columns owned by this part.

Data Fields

integer nparts = 1
 Total number of parts.
type(d3_work_partition) d3 = d3_serial
type(d4_work_partition) d4 = d4_serial

Detailed Description

Cyclic partition of the work of an interaction loop.

Parts are zero based. Every unit of work is assigned to exactly one part, summing the contributions of all parts reproduces the complete result. An absent or default-initialized partition owns all of the work.

Construction validates all representations once. Private components keep the library partitions consistent with the local ownership rules.

Member Function/Subroutine Documentation

◆ get_columns()

procedure tblite_partition::work_partition::get_columns ( class(work_partition), intent(in) self,
integer, intent(in) n )

Inclusive global range of contiguous columns owned by this part.

Parameters
[in]selfWork partition
[in]nGlobal number of columns
Returns
Inclusive first and last global column indices

The documentation for this type was generated from the following file: