Commit 29572961 authored by Christoph Schwarzmeier's avatar Christoph Schwarzmeier

Merge branch 'bhc' into 'master'

Fix use of references in BoundaryHandlingCollection's constructor

See merge request !201
parents 07e69f0e 47f01fe9
Pipeline #14866 passed with stages
in 230 minutes and 26 seconds
......@@ -550,7 +550,7 @@ BoundaryHandlingCollection< FlagField_T, Handlers... >::BoundaryHandlingCollecti
outerBB_( -cell_idx_c( flagField_->nrOfGhostLayers() ), -cell_idx_c( flagField_->nrOfGhostLayers() ), -cell_idx_c( flagField_->nrOfGhostLayers() ),
cell_idx_c( flagField_->xSize() + flagField_->nrOfGhostLayers() ) - 1, cell_idx_c( flagField_->ySize() + flagField_->nrOfGhostLayers() ) - 1,
cell_idx_c( flagField_->zSize() + flagField_->nrOfGhostLayers() ) - 1 ),
boundaryHandlers_( std::make_tuple(boundaryHandlers...) )
boundaryHandlers_( std::tuple< Handlers... >( boundaryHandlers... ) )
{
if( flagField_->nrOfGhostLayers() < 1 )
WALBERLA_ABORT( "The flag field passed to the boundary handling collection\"" << identifier << "\" must contain at least one ghost layer!" );
......
Markdown is supported
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