Skip to content
Snippets Groups Projects
Commit 626e7b40 authored by Martin Bauer's avatar Martin Bauer
Browse files

Merge branch 'skipRedundantCreateConfiguration' into 'master'

BoundarySetter should only call Boundary::createConfiguration once

See merge request walberla/walberla!97
parents e0b83490 4a3784e2
No related merge requests found
......@@ -194,7 +194,10 @@ namespace initializer {
}
if ( boundaryConfigBlock_ )
{
bcConfig_ = boundaryHandling_->createBoundaryConfiguration( boundaryUID_, boundaryConfigBlock_ );
boundaryConfigBlock_ = Config::BlockHandle(); // discard the config block so we don't unnecessarily run createBoundaryConfiguration more than once with the same arguments
}
flag_ = boundaryHandling_->getBoundaryMask( boundaryUID_ );
if ( ! field::isFlag( flag_ ) )
......
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