From f424a001acdfa2e56ae83f4fcb2f00f8b579ba33 Mon Sep 17 00:00:00 2001 From: Alex Lindsay Date: Wed, 18 Sep 2024 02:29:04 -0600 Subject: [PATCH] Don't use std::norm for Euclidean norm refs change `std::norm` overload in libMesh/libmesh#3895 --- src/auxkernels/WallShearStressAux.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auxkernels/WallShearStressAux.C b/src/auxkernels/WallShearStressAux.C index 046948785b..43ba0c13b6 100644 --- a/src/auxkernels/WallShearStressAux.C +++ b/src/auxkernels/WallShearStressAux.C @@ -40,5 +40,5 @@ WallShearStressAux::computeValue() // Parallel component of prior velocity gradient grad_vel_wall -= (_normals[_qp] * grad_vel_wall) * _normals[_qp]; - return raw_value(_mu[_qp]) * std::norm(grad_vel_wall); + return raw_value(_mu[_qp]) * grad_vel_wall.norm(); }