From 0a44dcdaf882e0ad860986422efdc494ecc1f415 Mon Sep 17 00:00:00 2001 From: EdoAlvarezR Date: Fri, 20 Oct 2023 17:35:20 -0500 Subject: [PATCH] Undo normal flipping in gradmu --- src/FLOWPanel_postprocess.jl | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/FLOWPanel_postprocess.jl b/src/FLOWPanel_postprocess.jl index 35aecb9..1295976 100644 --- a/src/FLOWPanel_postprocess.jl +++ b/src/FLOWPanel_postprocess.jl @@ -680,10 +680,6 @@ function calcfield_Ugradmu!(out::AbstractMatrix, body::AbstractBody, A[3, 3] = t3[2]-t0[2] b .= nodal_data[vtx] - # Use CPoffset as a flag to know if the normals are flipped into the - # body. If that's the case, then it flips the sign of the nodal quantity - # to have the effect of implicitly flipping the normals out - b .*= (-1)^(body.CPoffset<0) res = A\b dx = res[2] dy = res[3]