Skip to content

Commit

Permalink
fixup: ghosted BC particles
Browse files Browse the repository at this point in the history
  • Loading branch information
streeve committed Aug 1, 2024
1 parent 0ed3787 commit 2ff7302
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ void thermalDeformationHeatTransferExample( const std::string filename )
low_corner[2], high_corner[2] );

auto x = particles->sliceReferencePosition();
// Need to reslice to include ghosted particles on the boundary.
temp = particles->sliceTemperature();
const double low_corner_y = low_corner[1];
// This is purposely delayed until after solver init so that ghosted
// particles are correctly taken into account for lambda capture here.
Expand Down

0 comments on commit 2ff7302

Please sign in to comment.