Commit b0cde5d3 authored by Michael Kuron's avatar Michael Kuron
Browse files

switch BoundaryHandlingCollection to std::tuple

parent 7334c6f3
......@@ -2456,7 +2456,7 @@ template< typename BoundariesTuple, int N >
inline typename std::enable_if<(N!=-1), BoundaryUID>::type BoundaryHandling< FlagField_T, Stencil, Boundaries... >::getBoundaryUID( const BoundariesTuple & boundaryConditions,
const flag_t flag ) const
{
auto & boundaryCondition = std::get<N>( boundaryConditions );
const auto & boundaryCondition = std::get<N>( boundaryConditions );
if( ( boundaryCondition.getMask() & flag ) == flag )
{
......@@ -2508,7 +2508,7 @@ inline typename std::enable_if<(N!=-1), typename BoundaryHandling< FlagField_T,
BoundaryHandling< FlagField_T, Stencil, Boundaries... >::getBoundaryMask( const BoundariesTuple & boundaryConditions,
const BoundaryUID & uid ) const
{
auto & boundaryCondition = std::get<N>( boundaryConditions );
const auto & boundaryCondition = std::get<N>( boundaryConditions );
if( boundaryCondition.getUID() == uid )
return boundaryCondition.getMask();
......
This diff is collapsed.
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