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

fixes wrong arguments in assign method of residual

parent c49d345c
Pipeline #32117 failed with stages
in 132 minutes and 3 seconds
......@@ -256,7 +256,7 @@ int main( int argc, char** argv )
/// [Residual]
laplaceOperator.apply( function, laplaceTimesFunction, maxLevel, hyteg::Inner );
residual.assign( {1.0, -1.0}, {&rightHandSide, &laplaceTimesFunction}, maxLevel, hyteg::Inner );
residual.assign( {1.0, -1.0}, {rightHandSide, laplaceTimesFunction}, maxLevel, hyteg::Inner );
real_t residualEuclideanNorm = std::sqrt( residual.dotGlobal( residual, maxLevel, hyteg::Inner ) );
WALBERLA_LOG_INFO_ON_ROOT( "Euclidean norm of residual: " << residualEuclideanNorm )
/// [Residual]
......
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