From cb915ff9006ede85060030a3434c454b1e4d68f3 Mon Sep 17 00:00:00 2001 From: Hannah Hajdik Date: Mon, 13 May 2024 22:08:39 -0400 Subject: [PATCH] Eirikur comments --- src/3D/setup3d.F90 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/3D/setup3d.F90 b/src/3D/setup3d.F90 index 44b72df..3cd8d10 100644 --- a/src/3D/setup3d.F90 +++ b/src/3D/setup3d.F90 @@ -809,6 +809,8 @@ subroutine setup(fileName, fileType) ! if there was an error in the BC setup stop if (bcError) then + print *, 'pyHyp exited due to one or more issues with mesh boundary conditions. & + See above error printouts.' stop end if @@ -908,7 +910,7 @@ subroutine setup(fileName, fileType) ! fullnPtr populated. do i = 1, nUnique if (fullNPtr(1, i) == 0) then - print *, 'There was a general error with topology computation for node:', uniquePts(:, i) + print *, 'ERROR: There was a general error with topology computation for node:', uniquePts(:, i) bcTopoError = .True. end if end do @@ -918,18 +920,18 @@ subroutine setup(fileName, fileType) ! their fullnPtr populated. do i = 1, nUnique if (fullTopoType(i) == topoEdge .and. fullBCType(1, i) == BCDefault) then - print *, 'There was a missing boundary condition for edge node:', uniquePts(:, i) + print *, 'ERROR: There was a missing boundary condition for edge node:', uniquePts(:, i) bcTopoError = .True. else if (fullTopoType(i) == topoCorner .and. (fullBCType(1, i) == BCDefault .or. & fullBCType(2, i) == BCDefault)) then - print *, 'There was a missing boundary condition for corner node:', uniquePts(:, i) + print *, 'ERROR: There was a missing boundary condition for corner node:', uniquePts(:, i) bcTopoError = .True. end if end do ! if we ran into topology or BC errors, stop if (bcTopoError) then - print *, 'pyHyp exited. See above errors.' + print *, 'ERROR: pyHyp exited due to one or more issues with mesh topology. See above error printouts.' stop end if