DISPATCH
|
download_link: takes care of downloads to linktask same: called for patches on the same level differ: called for patches on different levels More...
Data Types | |
type | download_t |
Variables | |
integer(kind=int8), dimension(:,:,:,:), allocatable | filled |
type(download_t), public | download |
download_link: takes care of downloads to linktask same: called for patches on the same level differ: called for patches on different levels
Since we keep parent patches, there can be any number of levels overlapping in the guard zones of a patch. Therefore, to avoid wasting cycles on computing guard cell values for all levels, we sort the nbor list in order of decreasing levels, and check if a cell is already filled before computing a value from an nbor patch.
The "filled" array stores the level of the value stored in the cell, and since staggering can vary for different variables, there needs to be an array for each variable.