calculate the maximum number of elements which fit into the output buffer = chunk
for a given set of variable systems with their nScalar values to dump Also, calculate the number of local chunks required to dump all the data = nChunks Finally find the globally largest number of nChunks
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(tem_restart_type), | intent(inout) | :: | restart | the restart type |
||
| integer, | intent(in) | :: | nElems | mesh, provided in treelm format optional subTree |
||
| integer, | intent(in) | :: | comm | mesh, provided in treelm format optional subTree |
||
| integer, | intent(in), | optional | :: | chunkSize | optional predefined chunksize |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | private | :: | nTotalScalars | ||||
| integer, | private | :: | iError | ||||
| integer, | private | :: | rank |