Commit c9b0b7f4 authored by Marcus Mohr's avatar Marcus Mohr
Browse files

Removes duplicated code error from EdgeDoFFunction.cpp

Removes wrong duplicated code that was introduced while fixing
a merge during a rebase on master.
parent 8533e526
......@@ -325,15 +325,12 @@ void EdgeDoFFunction< ValueType >::swap( const EdgeDoFFunction< ValueType >& oth
{
for ( auto& it : this->getStorage()->getCells() )
{
for ( auto& it : this->getStorage()->getCells() )
{
Cell& cell = *it.second;
Cell& cell = *it.second;
if ( testFlag( boundaryCondition_.getBoundaryType( cell.getMeshBoundaryFlag() ), flag ) )
{
edgedof::macrocell::swap< ValueType >( level, cell, other.getCellDataID(), cellDataID_ );
}
}
if ( testFlag( boundaryCondition_.getBoundaryType( cell.getMeshBoundaryFlag() ), flag ) )
{
edgedof::macrocell::swap< ValueType >( level, cell, other.getCellDataID(), cellDataID_ );
}
}
}
......@@ -1208,6 +1205,7 @@ void EdgeDoFFunction< ValueType >::multElementwise(
}
this->stopTiming( "Multiply elementwise" );
}
template < typename ValueType >
void EdgeDoFFunction< ValueType >::setLocalCommunicationMode(
const communication::BufferedCommunicator::LocalCommunicationMode& localCommunicationMode )
......
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