cache にあったセルと新しく作ったセルを合わせて書き、ロックを外す。
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(fmm_plan_type), | intent(in) | :: | plan | |||
| integer(kind=i32), | intent(in) | :: | nanchor | |||
| integer(kind=i32), | intent(in), | allocatable | :: | cached_cells(:) | ||
| real(kind=dp), | intent(in), | allocatable | :: | cached_blocks(:,:,:) | ||
| integer(kind=i32), | intent(in), | allocatable | :: | new_cells(:) | ||
| real(kind=dp), | intent(in), | allocatable | :: | new_blocks(:,:,:) | ||
| type(periodic_cell_cache_lock_type), | intent(inout) | :: | lock |
subroutine publish_cell_cache_and_unlock(plan, nanchor, cached_cells, cached_blocks, new_cells, new_blocks, lock) type(fmm_plan_type), intent(in) :: plan integer(i32), intent(in) :: nanchor integer(i32), allocatable, intent(in) :: cached_cells(:), new_cells(:) real(dp), allocatable, intent(in) :: cached_blocks(:, :, :), new_blocks(:, :, :) type(periodic_cell_cache_lock_type), intent(inout) :: lock call publish_cell_cache(plan, nanchor, cached_cells, cached_blocks, new_cells, new_blocks) call release_cell_cache_lock(lock) end subroutine publish_cell_cache_and_unlock