Skip to content
Snippets Groups Projects
Commit 3aa030f1 authored by Robert K's avatar Robert K
Browse files

[cleanup] also acknowledge ordering.

parent bce4a690
No related branches found
No related tags found
No related merge requests found
......@@ -148,7 +148,8 @@ namespace Dune
for( auto it = macroView.template begin<0>(), end = macroView.template end<0>();
it != end; ++it, ++idx )
{
const int insertionIndex = factory.insertionIndex( *it );
const int insertionIndex = ordering.empty() ?
factory.insertionIndex( *it ) : ordering[ factory.insertionIndex( *it ) ]; ;
cellData[ idx ] = oldCellData[ insertionIndex ] ;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment