Skip to content
Snippets Groups Projects
Commit d98926ef authored by Helen Schottenhamml's avatar Helen Schottenhamml
Browse files

Intersect local cell interval with flag field.

parent 2e836ca9
Branches
No related merge requests found
......@@ -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 );
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment