|
tblite
Light-weight tight-binding framework
|
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 |
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.
| 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.
| [in] | self | Work partition |
| [in] | n | Global number of columns |