Commit dcefc8b6 authored by Andreas Wagner's avatar Andreas Wagner
Browse files

fixes add function

parent 2d302bc0
......@@ -687,7 +687,7 @@ inline void add( const uint_t& lev
{
for ( size_t i = 0; i < inner_rowsize - 2; ++i )
{
auto cellIndex = facedof::macroface::indexFaceFromGrayFace( level, i, j, stencilDirection::CELL_GRAY_C );
auto cellIndex = facedof::macroface::indexFaceFromBlueFace( level, i, j, stencilDirection::CELL_BLUE_C );
dstPtr[cellIndex] += scalar;
}
--inner_rowsize;
......
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