user errors are catched earlier
internal errors (essentially programming faults) should stop with 'error stop'
This commit is contained in:
parent
79fad5ca19
commit
5f0ae4fe7a
|
@ -714,7 +714,7 @@ subroutine tElement_init(self,elemType)
|
|||
case(13)
|
||||
self%cellNodeParentNodeWeights = CELLNODEPARENTNODEWEIGHTS13
|
||||
case default
|
||||
call IO_error(0,ext_msg='invalid element type')
|
||||
error stop 'invalid element type'
|
||||
end select
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue