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.

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.


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