Skip to content
Snippets Groups Projects
Commit f741e309 authored by Christoph Rettinger's avatar Christoph Rettinger
Browse files

Merge branch 'mr_boundary_from_cellinterval_fix' into 'master'

Fix BoundaryFromCellInterval

See merge request walberla/walberla!519
parents 2e836ca9 d98926ef
No related branches found
No related tags found
No related merge requests found
Pipeline #37921 passed
...@@ -44,6 +44,9 @@ void BoundaryFromCellInterval<BoundaryHandlerT>::init( const CellInterval & glob ...@@ -44,6 +44,9 @@ void BoundaryFromCellInterval<BoundaryHandlerT>::init( const CellInterval & glob
CellInterval localCellInterval; CellInterval localCellInterval;
structuredBlockStorage_.transformGlobalToBlockLocalCellInterval( localCellInterval, *blockIt, globalCellInterval ); structuredBlockStorage_.transformGlobalToBlockLocalCellInterval( localCellInterval, *blockIt, globalCellInterval );
boundarySetter.configure( *blockIt, boundaryHandlerID_ ); boundarySetter.configure( *blockIt, boundaryHandlerID_ );
auto flagField = boundarySetter.getFlagField();
localCellInterval.intersect(flagField->xyzSizeWithGhostLayer());
boundarySetter.set( localCellInterval ); boundarySetter.set( localCellInterval );
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment