diff --git a/src/geometry/initializer/BoundaryFromCellInterval.impl.h b/src/geometry/initializer/BoundaryFromCellInterval.impl.h index 588f5a9c44aab5f7cb528810ad5be52d16b0cca7..f5365a8a55e70c1f18e7abb1c11ef4c6b9e7f466 100644 --- a/src/geometry/initializer/BoundaryFromCellInterval.impl.h +++ b/src/geometry/initializer/BoundaryFromCellInterval.impl.h @@ -44,6 +44,9 @@ void BoundaryFromCellInterval<BoundaryHandlerT>::init( const CellInterval & glob CellInterval localCellInterval; structuredBlockStorage_.transformGlobalToBlockLocalCellInterval( localCellInterval, *blockIt, globalCellInterval ); boundarySetter.configure( *blockIt, boundaryHandlerID_ ); + + auto flagField = boundarySetter.getFlagField(); + localCellInterval.intersect(flagField->xyzSizeWithGhostLayer()); boundarySetter.set( localCellInterval ); } }