diff --git a/ProcessLib/GroundwaterFlow/GroundwaterFlowFEM.h b/ProcessLib/GroundwaterFlow/GroundwaterFlowFEM.h index edf90943fdf1705e80f94e071c5e02574bb9742d..45ddbeb8dfd507af8ac93ad9c0f1a74e1693ccf1 100644 --- a/ProcessLib/GroundwaterFlow/GroundwaterFlowFEM.h +++ b/ProcessLib/GroundwaterFlow/GroundwaterFlowFEM.h @@ -100,7 +100,7 @@ public: sm.detJ * wp.getWeight(); // Darcy velocity only computed for output. - auto const darcy_velocity = (k * sm.dNdx * + auto const darcy_velocity = -(k * sm.dNdx * Eigen::Map<const NodalVectorType>(local_x.data(), ShapeFunction::NPOINTS) ).eval();