From df4f298b9b394677cb26451d6e788e1eb00dd67b Mon Sep 17 00:00:00 2001 From: Peter R Date: Thu, 14 Nov 2024 18:48:45 +0200 Subject: [PATCH] Minor fix to previous --- fem/src/ElementUtils.F90 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fem/src/ElementUtils.F90 b/fem/src/ElementUtils.F90 index d1b4474b61..17278a17c5 100644 --- a/fem/src/ElementUtils.F90 +++ b/fem/src/ElementUtils.F90 @@ -3523,7 +3523,8 @@ END SUBROUTINE Ip2DgFieldInElement ! We do not need P-elements if the value is to be found in node since ! the higher order p-basis does not have any effect there. pElem = .FALSE. - IF(.NOT. PRESENT(LocalNode)) THEN + IF(PRESENT(LocalCoord)) THEN +! IF(.NOT. PRESENT(LocalNode)) THEN IF(ASSOCIATED(Var % Solver)) THEN pElem = isActivePElement(Element, Var % Solver) END IF