Skip to content

Commit cb915ff

Browse files
committed
Eirikur comments
1 parent 07d0615 commit cb915ff

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/3D/setup3d.F90

+6-4
Original file line numberDiff line numberDiff line change
@@ -809,6 +809,8 @@ subroutine setup(fileName, fileType)
809809

810810
! if there was an error in the BC setup stop
811811
if (bcError) then
812+
print *, 'pyHyp exited due to one or more issues with mesh boundary conditions. &
813+
See above error printouts.'
812814
stop
813815
end if
814816

@@ -908,7 +910,7 @@ subroutine setup(fileName, fileType)
908910
! fullnPtr populated.
909911
do i = 1, nUnique
910912
if (fullNPtr(1, i) == 0) then
911-
print *, 'There was a general error with topology computation for node:', uniquePts(:, i)
913+
print *, 'ERROR: There was a general error with topology computation for node:', uniquePts(:, i)
912914
bcTopoError = .True.
913915
end if
914916
end do
@@ -918,18 +920,18 @@ subroutine setup(fileName, fileType)
918920
! their fullnPtr populated.
919921
do i = 1, nUnique
920922
if (fullTopoType(i) == topoEdge .and. fullBCType(1, i) == BCDefault) then
921-
print *, 'There was a missing boundary condition for edge node:', uniquePts(:, i)
923+
print *, 'ERROR: There was a missing boundary condition for edge node:', uniquePts(:, i)
922924
bcTopoError = .True.
923925
else if (fullTopoType(i) == topoCorner .and. (fullBCType(1, i) == BCDefault .or. &
924926
fullBCType(2, i) == BCDefault)) then
925-
print *, 'There was a missing boundary condition for corner node:', uniquePts(:, i)
927+
print *, 'ERROR: There was a missing boundary condition for corner node:', uniquePts(:, i)
926928
bcTopoError = .True.
927929
end if
928930
end do
929931

930932
! if we ran into topology or BC errors, stop
931933
if (bcTopoError) then
932-
print *, 'pyHyp exited. See above errors.'
934+
print *, 'ERROR: pyHyp exited due to one or more issues with mesh topology. See above error printouts.'
933935
stop
934936
end if
935937

0 commit comments

Comments
 (0)