Skip to content
Snippets Groups Projects
Commit 421bc2eb authored by Markus Holzer's avatar Markus Holzer
Browse files

Small fix in GPU refinement

parent aeb7f16d
Branches
Tags
No related merge requests found
...@@ -243,7 +243,7 @@ void BasicRecursiveTimeStepGPU< PdfField_T, SweepCollection_T, BoundaryCollectio ...@@ -243,7 +243,7 @@ void BasicRecursiveTimeStepGPU< PdfField_T, SweepCollection_T, BoundaryCollectio
for(auto it = CommunicationStencil::beginNoCenter(); it != CommunicationStencil::end(); ++it){ for(auto it = CommunicationStencil::beginNoCenter(); it != CommunicationStencil::end(); ++it){
uint_t nSecIdx = blockforest::getBlockNeighborhoodSectionIndex(*it); uint_t nSecIdx = blockforest::getBlockNeighborhoodSectionIndex(*it);
// Propagate on ghost layers shadowing coarse or no blocks // Propagate on ghost layers shadowing coarse or no blocks
if(!block->neighborhoodSectionHasSmallerBlocks(nSecIdx)){ if(block->neighborhoodSectionHasLargerBlock(nSecIdx)){
CellInterval ci; CellInterval ci;
pdfField->getGhostRegion(*it, ci, 1); pdfField->getGhostRegion(*it, ci, 1);
sweepCollection_.streamOnlyNoAdvancementCellInterval(block, ci, gpuStream); sweepCollection_.streamOnlyNoAdvancementCellInterval(block, ci, gpuStream);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment