Commit 128148a7 authored by Sebastian Eibl's avatar Sebastian Eibl
Browse files

[CLANG-TIDY] readability-redundant-smartptr-get

parent 3566e94c
......@@ -38,7 +38,8 @@ readability-delete-null-pointer,
readability-deleted-default,
readability-misleading-indentation,
readability-misplaced-array-index,
readability-redundant-control-flow
readability-redundant-control-flow,
readability-redundant-smartptr-get
'
WarningsAsErrors: '*'
......
......@@ -553,12 +553,12 @@ void setFlags( shared_ptr< StructuredBlockForest > & blocks, const BlockDataID &
{
CurvedDeltaValueCalculation< LatticeModel_T > deltaCalculation( blocks, *block, channel );
lbm::refinement::consistentlyForceBoundary< BoundaryHandling_T >( *blocks, dynamic_cast< blockforest::Block & >(*block.get()),
lbm::refinement::consistentlyForceBoundary< BoundaryHandling_T >( *blocks, dynamic_cast< blockforest::Block & >(*block),
boundaryHandlingId, Curved_Flag, channel, deltaCalculation );
}
else // staircase (1st order bounce back no-slip boundary condition)
{
lbm::refinement::consistentlyForceBoundary< BoundaryHandling_T >( *blocks, dynamic_cast< blockforest::Block & >(*block.get()),
lbm::refinement::consistentlyForceBoundary< BoundaryHandling_T >( *blocks, dynamic_cast< blockforest::Block & >(*block),
boundaryHandlingId, NoSlip_Flag, channel );
}
......
......@@ -961,12 +961,12 @@ void BoundarySetter< LatticeModel_T >::operator()()
{
CurvedDeltaValueCalculation< LatticeModel_T > deltaCalculation( blocks, *block, cylinder );
lbm::refinement::consistentlyForceBoundary< BoundaryHandling_T >( *blocks, dynamic_cast< blockforest::Block & >(*block.get()),
lbm::refinement::consistentlyForceBoundary< BoundaryHandling_T >( *blocks, dynamic_cast< blockforest::Block & >(*block),
boundaryHandlingId_, Curved_Flag, cylinder, deltaCalculation );
}
else // staircase
{
lbm::refinement::consistentlyForceBoundary< BoundaryHandling_T >( *blocks, dynamic_cast< blockforest::Block & >(*block.get()),
lbm::refinement::consistentlyForceBoundary< BoundaryHandling_T >( *blocks, dynamic_cast< blockforest::Block & >(*block),
boundaryHandlingId_, Obstacle_Flag, cylinder );
}
......
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